Skip to main content
POST
cURL

Headers

X-API-KEY
string
required

API key required for authentication

Body

application/json
name
string
required

Name of the user

username
string
required

Username of the user

email
string | null

Email address of the user

phone
string | null

Phone number of the user

Response

OTP code successfully sent

message
string

Response message

userId
integer

User ID of the newly created or updated user