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
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