Skip to main content
POST
/
v1
/
users
/
initiate-registration
Initiate registration
curl --request POST \
  --url https://api.example.com/v1/users/initiate-registration \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "credential_type": "email",
  "credential_value": "<string>",
  "password": "<string>",
  "terms_accepted": true,
  "privacy_policy_accepted": true
}
'
{
  "message": "<string>",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
credential_type
enum<string>
required
Available options:
email,
phone
credential_value
string
required
password
string
required
terms_accepted
boolean
required
privacy_policy_accepted
boolean
required

Response

Registration initiated successfully

message
string
user_id
string<uuid>