Notifications

List Notification Preferences

Returns the full preference matrix for the authenticated login: 40 event-channel pairs with current and default values.

get/notifications/preferences

Request

  • Base URL
    https://api-v2.pandavideo.com.br
  • URL
    https://api-v2.pandavideo.com.br/notifications/preferences
  • Auth
    API key in header Authorization

Response

Preference matrix

Example response

{
  "preferences": [
    {
      "event_type": "BILLING_FAILED",
      "category": "BILLING_ACCOUNT",
      "channel": "EMAIL",
      "enabled": true,
      "mandatory": false,
      "available": true,
      "default_enabled": true
    },
    {
      "event_type": "BILLING_FAILED",
      "category": "BILLING_ACCOUNT",
      "channel": "DASHBOARD",
      "enabled": true,
      "mandatory": false,
      "available": true,
      "default_enabled": true
    },
    {
      "event_type": "VIDEO_READY",
      "category": "VIDEO",
      "channel": "EMAIL",
      "enabled": false,
      "mandatory": false,
      "available": true,
      "default_enabled": false
    },
    {
      "event_type": "VIDEO_READY",
      "category": "VIDEO",
      "channel": "SMS",
      "enabled": false,
      "mandatory": false,
      "available": false,
      "default_enabled": false
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.