POST
/
v1
/
users
Create User
curl --request POST \
  --url https://api.tradearies.dev/v1/users \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "email": "<string>",
  "password": "<string>",
  "country": "<string>"
}'
{
  "id": 123,
  "email": "<string>",
  "country": "<string>",
  "auth": {
    "access_token": "<string>",
    "refresh_token": "<string>",
    "role": "<string>"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

201
application/json

User created successfully

The response is of type object.