logo
AuthorizationRegister new user

Register new user

Register a new user account. A verification code will be sent to the email.

curl -X POST "https://api.gpuniq.com/v1/auth/register" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -d '{
  "email": "user@example.com",
  "username": "John Doe",
  "password": "example_string"
}'
{
  "exception": 42,
  "data": {},
  "message": "example_string"
}
POST
/v1/auth/register
POST
Bearer Token (JWT)
Bearer Tokenstring
Required

Bearer token (JWT) - just enter the token, "Bearer" prefix will be added automatically

Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). Authentication token required.

Responses

exceptioninteger
dataobject
messagestring