cURL
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 }
Valida um registro de usuário contra dados base do governo
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Número do telefone
Dados do registro
Registro validado com sucesso