POST
/
User
curl --request POST \
  --url https://api-sandbox.payabli.com/api/User \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "email": "example@email.com",
  "phone": "5555555555",
  "name": "Sean Smith",
  "pwd": "<string>",
  "scope": [
    {
      "orgType": 0,
      "orgId": 123
    }
  ],
  "access": [
    {
      "roleLabel": "customers",
      "roleValue": true
    }
  ],
  "usrStatus": 1,
  "timeZone": -5,
  "language": "en",
  "mfaData": {
    "mfa": true,
    "mfaMode": 0
  },
  "additionalData": {
    "key1": "value1",
    "key2": "value2",
    "key3": "value3"
  }
}'
{
  "responseText": "Success",
  "isSuccess": true,
  "responseData": null
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Body

UserData object to add

The body is of type object.

Response

200 - application/json

Success

The response is of type object.