General Information
...
Name | Source | Mandatory | Type | Special Format | Description | |
---|---|---|---|---|---|---|
username | Body | YES | String | alphanumeric with _ , - characters only | ||
password | Body | YES | String | N/A | ||
firstName | Body | YES | String | N/A | ||
lastName | Body | YES | String | N/A | ||
Body | YES | String | N/A |
...
Output
...
Valid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": "..." } |
...
Invalid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result":false, "errors":{ "codes":[402], "details":[ { "code":402, "message":"User account already exists." } ] } } |
Error Codes
Code | Description |
---|---|
402 | User account already exists. |
403 | Database Error |
Example (CURL)
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": { "id":"", "token": "819b0aed-edd8-47d5-ada0-9e5f93cb8248" } } |