Skip to main content
POST
/
v1
/
{app_id}
/
users
Create user
curl --request POST \
  --url https://{defaultHost}/v1/{app_id}/users \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Authorization: <api-key>'
{
  "user": {
    "id": "usr_1234567890",
    "app_id": "<string>",
    "user_id": "<string>",
    "status": "active",
    "email": "user@example.com",
    "phone": "+1234567890",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "user_meta": {
      "first_name": "John",
      "last_name": "Doe",
      "custom_field": "value"
    }
  },
  "user_meta_errors": {}
}

Authorizations

Authorization
string
header
required

API Secret token

X-Authorization
string
header
required

User Access token

Path Parameters

app_id
string
required

App ID

Response

successful

user
object
user_meta_errors
object

Validation errors for user metadata