POST
/
citizen
/
{cpf}
/
phone
/
validate
Validate phone verification
curl --request POST \
  --url https://services.staging.app.dados.rio/rmi/v1/citizen/{cpf}/phone/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "code": "<string>",
  "ddd": "<string>",
  "ddi": "<string>",
  "valor": "<string>"
}'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

cpf
string
required

CPF number

Body

application/json

Verification code and phone

The body is of type object.

Response

200
application/json

OK

The response is of type object.