API reference

Notifications

Your notification centre: what the bell in the app counts and the Notifications page lists - news from your assistant, your Works and automations, support, calls, your websites and shops, billing, the platform. List them with filters, read the unread count, mark them read or unread, mark all read, and dismiss them. 7 endpoints. Add your API key in the authentication panel to send test requests from this page.

List your notifications

GET/api/external/v1/notifications

Your notifications, newest first. Each: id, type, source (SUPPORT, KI - your assistant -, NETWORK, ALERTS, AUTOMATIONS, WORKS, CALLS, WEBSITES, ECOMMERCE, BILLING, PARTNERS, PLATFORM), sourceLabel, severity, title and body (in your app language), link (where it opens in the app), refKind with refId (what it is about: WORK_RUN, TICKET, APPROVAL, ...), data, createdAt, readAt (null while unread) and sent (where it went out: push, email, ...).

The page also has unread (the bell's count) and unreadBySource. Page with cursor: pass the previous page's next until it is null.

Errors: 400 UNKNOWN_SOURCE.

Parameters

  • sourcestringquery

    Only from this source (see the list above).

  • unreadbooleanquery

    true: only the unread ones.

  • cursorstringquery

    The previous page's `next`.

  • limitinteger (int32)query

    Notifications per page, 1 to 100 (30 by default).

Responses

  • 200OK

Get one notification

GET/api/external/v1/notifications/{id}

One of your notifications, as listed (also one you dismissed).

Errors: 404 NOTIFICATION_NOT_FOUND.

Parameters

  • idstring (uuid)pathRequired

Responses

  • 200OK

Dismiss a notification

DELETE/api/external/v1/notifications/{id}

Takes it off your list (an unread one counts as read). Answers 204.

Errors: 404 NOTIFICATION_NOT_FOUND.

Parameters

  • idstring (uuid)pathRequired

Responses

  • 200OK

Mark a notification read

POST/api/external/v1/notifications/{id}/read

Marks it read, as opening it in the app does; for news from your assistant this also counts as your reaction to it (it does not remind you again). Answers 200 with the notification and the bell's summary after it.

Errors: 404 NOTIFICATION_NOT_FOUND.

Parameters

  • idstring (uuid)pathRequired

Responses

  • 200OK

Mark a notification unread

POST/api/external/v1/notifications/{id}/unread

Marks it unread again. Answers 200 with the notification and the bell's summary after it.

Errors: 404 NOTIFICATION_NOT_FOUND.

Parameters

  • idstring (uuid)pathRequired

Responses

  • 200OK

Mark all notifications read

POST/api/external/v1/notifications/read-all

Marks every unread notification read, or only those of one source. Answers 200 with the bell's summary after it.

Errors: 400 UNKNOWN_SOURCE.

Parameters

  • sourcestringquery

    Only those from this source.

Responses

  • 200OK

Count your unread notifications

GET/api/external/v1/notifications/summary

What the bell shows: unread (how many are unread) and newestUnreadAt (when the newest unread one came; null when none is).

Responses

  • 200OK