Skip to content

Notifications ​

In-app notifications for the authenticated account (billing, operations, system messages).

Authorization uses dashboard permissions (view-any notifications / view notifications on the user), not a separate API-key scope checkbox. The token must belong to a user who can open Notifications in the dashboard.

List Notifications ​

GET/notifications Bearer Token

Retrieve a paginated list of notifications for the current user.

Supports the common list parameters.

ParameterTypeRequiredDescription
badgestringNoFilter by badge key (case-insensitive)
unread_onlybooleanNoWhen true, only unread items
categoriesstring[]NoFilter by notification category keys

Response ​

Success (200):

json
{
  "data": [
    {
      "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
      "badge": "info",
      "badge_label": "Info",
      "type": "Order update",
      "small_content": "Order ORD-00001 was shipped",
      "subject": "Shipping update",
      "date": "2 hours ago",
      "is_read": false,
      "unread_count": 1
    }
  ],
  "meta": {
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 5,
      "pages": 1
    }
  }
}

Show Notification ​

GET/notifications/{item}/show Bearer Token

Retrieve full notification content. Marks the notification as read on first open.

Response ​

Success (200): { data: { id, badge, badge_label, type, small_content, contents, contents_plain, subject, date, is_read, read_at } }

  • contents: HTML body assembled from structured content blocks.
  • contents_plain: stripped text for integrations.
  • Opening an unread notification sets read_at server-side.

Not found (404): { error: { code: "NOT_FOUND", message: "Notification not found." } }

wedoCOD API Documentation