cURL
curl --request POST \ --url https://services.pref.rio/rmi/v1/phone/{phone_number}/opt-in \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "channel": "<string>", "cpf": "<string>", "validation_result": { "valid": true } } '
{ "phone_mapping_id": "<string>", "status": "<string>" }
Realiza opt-in para receber notificações do chatbot
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Número do telefone
Dados do opt-in
Show child attributes
Opt-in realizado com sucesso