Get User Notifications
GET/api/v1/user/notifications
Notifications returned are limited to latest 100.
HTTP RESPONSE
Standard HTTP code and JSON payload as below.
{
"notifications": [
{
"id": 2,
"message": "Collection updated by joe@example.org",
"url": "/collection/1",
"disposal": "ON_ACK",
"timestamp": "2022-05-14T07:08:49Z"
},
{
"id": 1,
"message": "Welcome! New notifications will appear here.",
"url": null,
"disposal": "ON_READ",
"timestamp": "2022-05-15T07:08:15Z"
}
]
}
| Parameter | Details |
|---|---|
id | Notification id, used for disposing |
message | Notification text |
url | Any associated URL |
disposal | What should be done with the message. See below |
category | Grouping category. See below |
status | Task lifecycle state (tasks only). See below |
assigned_by | Task assigner user id (tasks only), else null |
assigned_by_email | Task assigner email (tasks only), else null |
timestamp | ISO 8601 datetime indicating when the notification was issued |
Notifications have two disposals listed below.
| Disposal type | Details |
|---|---|
ON_READ | Disposed automatically when retrieved |
ON_ACK | User must acknowledge the notification to dispose it |
CATEGORIES
Each notification is bucketed into one category for grouping in the UI.
| Category | Details |
|---|---|
media | Asset/media processing lifecycle (reprocess, transcode) |
insights | Usage/analytics (e.g. scheduled agent runs) |
billing | Billing and subscription events |
activities | Account & collaboration activity (default) |
tasks | An action assigned to the user (see Tasks below) |
TASKS
tasks notifications represent an action assigned to the recipient
(for example, an internal user sharing a filtered collection view to
review). A task carries a status and an assigned_by:
| Status | Details |
|---|---|
OPEN | Awaiting the assignee's action — the only status ever listed here |
DONE | Resolved as completed |
DECLINED | Resolved as declined |
DISMISSED | Resolved as dismissed |
A task is not cleared by the Delete API; the assignee resolves it
via PATCH /api/v1/user/notifications/{id}. Resolved tasks no longer
appear in this list. On every resolution the assigner receives an
activities (ON_READ) notification reporting the outcome.
Responses
- 200
- 401
- 500
List of user notifications
Unauthorized
Internal server error