POST
/
phone
/
{phone_number}
/
validate-registration
Validar registro de cidadão
curl --request POST \
  --url https://services.staging.app.dados.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 para validação

The body is of type object.

Response

200
application/json

OK

The response is of type object.