Skip to main content
POST
/
phone
/
{phone_number}
/
validate-registration
Validar registro
curl --request POST \
  --url https://services.pref.rio/rmi/v1/phone/{phone_number}/validate-registration \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "birth_date": "<string>",
  "channel": "<string>",
  "cpf": "<string>",
  "name": "<string>"
}'
{
  "matched_cpf": "<string>",
  "matched_name": "<string>",
  "valid": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

phone_number
string
required

Número do telefone

Body

application/json

Dados do registro

birth_date
string
required
channel
string
required
cpf
string
required
name
string
required

Response

Registro validado com sucesso

matched_cpf
string
matched_name
string
valid
boolean