post https://api.assetpanda.com/v3/users
Create a New Account
Creates a new user account, to login to Asset Panda.
See Parameters and Authentication below.
Sample Payload
{
"device": "mobile", //descripton for the account in this example it's a mobile use account
"user": {
"first_name": "Appolo",
"last_name": "Panda",
"email": "[email protected]",
"password": "password",
"password_confirmation": "password",
"create_for_account": "123412"//this is the account id as seen in the Retrieve users call
}
}
Parameters
Query Parameters | Required/Optional | Description | Type |
---|---|---|---|
response_fields | required | The response_fields are fields that require input that is unique to the new user. | string |
Body Parameters | Required/Optional | Description | Type |
---|---|---|---|
device | required | A description of the device the user is using to access the account (ie mobile). | string |
user | required | Specific, unique details for the user. See the User Objects List below for the strings required to run your request. | object |
create_for_account | required | The account id that will be tied to this user, this will be a numeric value sent in as a string object. | string |
phone | optional | If you would like to add a phone number for this user | string |
template_id | optional | If you have a user template created that you would like to assign the newly created user to, you can do so here on creation. | integer |
Authentication
Key | Description |
---|---|
Authorization | Your Bearer token. |