Skip to main content
POST
/
auth
/
register
cURL
curl --request POST \
  --url https://api.example.com/auth/register \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "7138b7d4-e653-4811-9a40-349f7ba342d4",
  "email": "usuario@exemplo.com.br",
  "name": "Nome do Usuário",
  "createdAt": "2024-01-01T12:00:00.000Z",
  "updatedAt": "2024-01-01T12:00:00.000Z"
}

Body

name
string
required
Nome completo do usuário.
email
string
required
Email válido do usuário.
password
string
required
Senha da conta (minímo 6 caracteres).

Response

{
  "id": "7138b7d4-e653-4811-9a40-349f7ba342d4",
  "email": "usuario@exemplo.com.br",
  "name": "Nome do Usuário",
  "createdAt": "2024-01-01T12:00:00.000Z",
  "updatedAt": "2024-01-01T12:00:00.000Z"
}

Body

application/json

The body is of type object.

Response

201 - undefined