cURL
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" }
Creates a new user account
Must be a valid email address
Must be a strong password
8
Must be a valid 3-letter country code
3
User created successfully
Show child attributes
Was this page helpful?