cURL
curl --request GET \ --url https://services.pref.rio/rmi/v1/citizen/{cpf}/optin \ --header 'Authorization: Bearer <token>'
{ "category_opt_ins": {}, "opt_in": true }
Verifica se o usuário optou por receber notificações
Documentation IndexFetch the complete documentation index at: https://docs.dados.rio/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.dados.rio/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Número do CPF
Status do opt-in obtido com sucesso
Show child attributes