cURL
curl --request POST \ --url https://services.staging.app.dados.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
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
The body is of type object.
object
OK
The response is of type object.