Read which notices you get, and where

The signed-in person's choices in the organization, one row per category their role hears.

GET/v1/notification_preferences

The signed-in person's choices in the organization, one row per category their role hears. A channel in required cannot be turned off (maintenance email: customers are told of outages and maintenance pauses).

For people only: a signed-in person's token makes this call. An API key is refused with person_required.

Request

curl "https://api.pod.mapier.ai/v1/notification_preferences" \
  -H "Authorization: Bearer $POD_PERSON_TOKEN"

Answer

200. The person's preferences.

200
{
  "organisation": "org_3ahrz6dmv29gqy5ckt18fp",
  "data": [
    {
      "category": "billing",
      "email": false,
      "dashboard": false,
      "required": ["email"]
    }
  ]
}
FieldTypeAlwaysWhat it is
organisationstringYes
dataNotificationPreference[]Yes

Errors

The refusals this call is known for: person_required. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.notices.preferences()
Pythonpod.notices.preferences()