cURL
curl --request GET \ --url https://services.pref.rio/rmi/v1/citizen/{cpf}/notification-preferences \ --header 'Authorization: Bearer <token>'
{ "category_opt_ins": {}, "cpf": "<string>", "opt_in": true, "updated_at": "<string>" }
Get notification preferences for a citizen including global and category opt-ins
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
CPF number
Notification preferences
Show child attributes