Skip to main content
POST
/
v1
/
users
Create User
curl --request POST \
  --url https://api.aries.com/v1/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "country": "<string>",
  "email": "<string>",
  "password": "<string>"
}
'
{
  "auth": {
    "access_token": "<string>",
    "refresh_token": "<string>",
    "role": "<string>"
  },
  "country": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "email": "<string>",
  "id": 123,
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
country
string
required

Must be a valid 3-letter country code

Required string length: 3
email
string
required

Must be a valid email address

password
string
required

Must be a strong password

Minimum string length: 8

Response

User created successfully

auth
object
country
string
created_at
string<date-time>
email
string
id
integer<int64>
updated_at
string<date-time>