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
/api/external/v1/notificationsYour 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
sourcestringqueryOnly from this source (see the list above).
unreadbooleanquerytrue: only the unread ones.
cursorstringqueryThe previous page's `next`.
limitinteger (int32)queryNotifications per page, 1 to 100 (30 by default).
Responses
200OK
Get one notification
/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
/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
/api/external/v1/notifications/{id}/readMarks 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
/api/external/v1/notifications/{id}/unreadMarks 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
/api/external/v1/notifications/read-allMarks every unread notification read, or only those of one source. Answers 200 with the bell's summary after it.
Errors: 400 UNKNOWN_SOURCE.
Parameters
sourcestringqueryOnly those from this source.
Responses
200OK
Count your unread notifications
/api/external/v1/notifications/summaryWhat the bell shows: unread (how many are unread) and newestUnreadAt (when the newest unread one came; null when none is).
Responses
200OK