- User Routes
- Create User
User Routes
Create User
Create a user.
POST
/api/v2/users
client_id*
api_key*
curl --request POST \
--url https://api.senddotssandbox.com/api/v2/users \
--header 'Authorization: Basic AUTH_VALUE' \
--header 'Content-Type: application/json' \
--data '{
"first_name": "string",
"last_name": "string",
"email": "string",
"country_code": "string",
"phone_number": "string"
}'
Body
first_nameRequired
string
The user's first name.
last_nameRequired
string
The user's last name.
emailRequired
string
The user's email address.
country_codeRequired
string
The user's phone number country code. e.g. "1"
phone_numberRequired
string
The user's phone number. e.g. "4157223331".
username
string
Username to assign the user.
metadata
string | object
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Response
id
string
first_name
string
last_name
string
email
string
phone_number
object
wallet
object
compliance
object
metadata
string | object | null
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
curl --request POST \
--url https://api.senddotssandbox.com/api/v2/users \
--header 'Authorization: Basic AUTH_VALUE' \
--header 'Content-Type: application/json' \
--data '{
"first_name": "string",
"last_name": "string",
"email": "string",
"country_code": "string",
"phone_number": "string"
}'