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