General Information
...
Workflow: Join Flow
Input
...
Type: application/json
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 | StringN/A | Email Address Format (JSON Schema Validation) |
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." } ] } } |
...
Code | Description |
---|---|
402 | User account already exists. |
403400 | Database Errorconnection error |
Example (CURL)
...
Request
Code Block | ||||
---|---|---|---|---|
| ||||
> CURL -X POST http://127.0.0.1:4000/urac/join -d 'username=john&password=johnpassword&firstName=John&lastName=Doe&email=johndoe@domain.com' |
...