Skip to main content
POST
/
waitlist
curl -X POST https://api.arca.example.com/waitlist \
  -H "Content-Type: application/json" \
  -d '{
    "nomeRegistro": "Maria Silva",
    "nomeSocial": "Maria",
    "dataNascimento": "1990-05-15",
    "telefonePessoal": "11987654321",
    "contatoEmergencia": "11912345678",
    "enderecoRua": "Rua das Flores",
    "enderecoNumero": "123",
    "enderecoBairro": "Centro",
    "enderecoCidade": "São Paulo",
    "enderecoEstado": "SP",
    "enderecoCEP": "01234567",
    "id_Genero": 2,
    "id_CorPele": 1,
    "id_Escolaridade": 3
  }'
{
  "id_Lista": "456e7890-e12b-34d5-c678-901234567def",
  "nomeRegistro": "Maria Silva",
  "nomeSocial": "Maria",
  "dataNascimento": "1990-05-15T00:00:00.000Z",
  "telefonePessoal": "11987654321",
  "contatoEmergencia": "11912345678",
  "enderecoRua": "Rua das Flores",
  "enderecoNumero": "123",
  "enderecoBairro": "Centro",
  "enderecoCidade": "São Paulo",
  "enderecoEstado": "SP",
  "enderecoCEP": "01234567",
  "id_Genero": 2,
  "id_CorPele": 1,
  "id_Escolaridade": 3,
  "isActive": true,
  "createdAt": "2024-03-15T10:30:00.000Z",
  "updatedAt": "2024-03-15T10:30:00.000Z"
}
Add a new person to the waitlist.

Authentication

This endpoint does not require authentication.

Request Body

nomeRegistro
string
required
Registry name. Must be between 1 and 150 characters.
nomeSocial
string
Social name (optional). Must be between 1 and 100 characters.
dataNascimento
string
required
Date of birth in ISO format (YYYY-MM-DD).
telefonePessoal
string
required
Personal phone number. Must be between 1 and 20 characters.
contatoEmergencia
string
required
Emergency contact phone number. Must be between 1 and 20 characters.
enderecoRua
string
required
Street address. Must be between 1 and 255 characters.
enderecoNumero
string
required
Address number. Must be between 1 and 10 characters.
enderecoBairro
string
required
Neighborhood. Must be between 1 and 100 characters.
enderecoCidade
string
required
City. Must be between 1 and 100 characters.
enderecoEstado
string
required
State code. Must be exactly 2 characters (e.g., “SP”, “RJ”).
enderecoCEP
string
required
Postal code (CEP). Must be exactly 8 digits (numbers only).
id_Genero
number
Gender ID (optional). Must be an integer greater than 0. Default: 1.
id_CorPele
number
Skin color ID (optional). Must be an integer greater than 0. Default: 1.
id_Escolaridade
number
Education level ID (optional). Must be an integer greater than 0. Default: 1.
curl -X POST https://api.arca.example.com/waitlist \
  -H "Content-Type: application/json" \
  -d '{
    "nomeRegistro": "Maria Silva",
    "nomeSocial": "Maria",
    "dataNascimento": "1990-05-15",
    "telefonePessoal": "11987654321",
    "contatoEmergencia": "11912345678",
    "enderecoRua": "Rua das Flores",
    "enderecoNumero": "123",
    "enderecoBairro": "Centro",
    "enderecoCidade": "São Paulo",
    "enderecoEstado": "SP",
    "enderecoCEP": "01234567",
    "id_Genero": 2,
    "id_CorPele": 1,
    "id_Escolaridade": 3
  }'
{
  "id_Lista": "456e7890-e12b-34d5-c678-901234567def",
  "nomeRegistro": "Maria Silva",
  "nomeSocial": "Maria",
  "dataNascimento": "1990-05-15T00:00:00.000Z",
  "telefonePessoal": "11987654321",
  "contatoEmergencia": "11912345678",
  "enderecoRua": "Rua das Flores",
  "enderecoNumero": "123",
  "enderecoBairro": "Centro",
  "enderecoCidade": "São Paulo",
  "enderecoEstado": "SP",
  "enderecoCEP": "01234567",
  "id_Genero": 2,
  "id_CorPele": 1,
  "id_Escolaridade": 3,
  "isActive": true,
  "createdAt": "2024-03-15T10:30:00.000Z",
  "updatedAt": "2024-03-15T10:30:00.000Z"
}

Build docs developers (and LLMs) love