Skip to main content
POST
/
api
/
users
Create user
curl --request POST \
  --url https://dev.exante.app/api/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Signup-Key: <x-signup-key>' \
  --data '
{
  "email": "jsmith@example.com",
  "password": "<string>",
  "firstname": "<string>",
  "lastname": "<string>",
  "username": "<string>"
}
'
{
  "status": "success",
  "status_code": 201,
  "message": "User created.",
  "data": {
    "user": {
      "uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "email": "<string>",
      "access_status": "pending"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Headers

X-Signup-Key
string
required

Shared secret required to access the signup endpoint.

Body

application/json
email
string<email>
required

Email address for the new user.

password
string

Password for the Auth0 account. Optional — if omitted, Auth0 generates one.

Minimum string length: 8
firstname
string

User's first name.

Maximum string length: 64
lastname
string

User's last name.

Maximum string length: 64
username
string

Unique username. If omitted, one is derived from the Auth0 profile or generated automatically.

Maximum string length: 15

Response

User already exists

status
string
Example:

"success"

status_code
integer
Example:

201

message
string
Example:

"User created."

data
object