Skip to main content
POST
/
api
/
v1
/
customer
/
auth
/
sign-up
Sign Up
curl --request POST \
  --url https://api.example.com/api/v1/customer/auth/sign-up \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Maria Silva",
  "address": {
    "city": "Sao Paulo",
    "country": "BR",
    "label": "Casa",
    "lat": -23.55052,
    "lng": -46.633308,
    "neighborhood": "Bela Vista",
    "number": "1000",
    "state": "SP",
    "street": "Av. Paulista",
    "zipCode": "01310-100",
    "complement": "Apto 42"
  },
  "birthDate": "1990-05-15",
  "cpf": "36641876870",
  "password": "P@ssw0rd!",
  "phoneDdi": "55",
  "phoneIso": "BR",
  "phoneNumber": "99999999999",
  "email": "maria@example.com"
}
'
{
  "accessToken": "<string>",
  "refreshToken": "<string>"
}

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Body

application/json

Sign-up payload

name
string
required

Full name

Example:

"Maria Silva"

address
object
required
birthDate
string<date>
required

Date of birth

Example:

"1990-05-15"

cpf
string
required

CPF

Example:

"36641876870"

password
string
required

Password

Minimum string length: 8
Example:

"P@ssw0rd!"

phoneDdi
string
required

International dialing code

Example:

"55"

phoneIso
string
required

Phone ISO country code

Example:

"BR"

phoneNumber
string
required

Phone number without country code

Example:

"99999999999"

email
string<email> | null

Email address

Example:

"maria@example.com"

Response

OK

Token pair.

accessToken
string
required

JWT access token.

refreshToken
string
required

JWT refresh token.