API reference
Notifications
In-app notifications for your account.
5 operationsBase URL https://packetexchange.io/api/v1Postman collection
BrowseNotifications
List your notifications
GET/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 100 requests per second (the default)
Unread critical notifications first, then newest activity first, with the unread and unread-critical counts.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
unread | query | string | Only unread notificationsOne of 1, true |
limit | query | integer | - |
Response 200
| Field | Type | Description |
|---|---|---|
datarequired | object | - |
notificationsrequireddata.notifications | object[] | - |
idrequireddata.notifications[].id | string (uuid) | - |
userIdrequireddata.notifications[].userId | string (uuid) | - |
typerequireddata.notifications[].type | string | Machine-readable kind, e.g. webhook_failing, connection, route_check_failed |
titlerequireddata.notifications[].title | string | - |
messagerequireddata.notifications[].message | string | - |
readrequireddata.notifications[].read | boolean | - |
datarequireddata.notifications[].data | object | null | - |
createdAtrequireddata.notifications[].createdAt | string (date-time) | ISO-8601 timestamp (UTC) |
severityrequireddata.notifications[].severity | string | critical = something is broken and needs your action (a failing route, a suspension, traffic stopped)One of info, warning, critical |
linkrequireddata.notifications[].link | string | null | Dashboard path the notification opens, when it has one |
occurrencesrequireddata.notifications[].occurrences | integer | How many events this notification groups (repeats update one notification instead of adding more) |
lastEventAtrequireddata.notifications[].lastEventAt | string (date-time) | null | When a grouped notification was last updated; null if never |
unreadCountrequireddata.unreadCount | integer | - |
criticalUnreadCountrequireddata.criticalUnreadCount | integer | Unread notifications that need action |
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.
Mark a notification as read
POST/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 100 requests per second (the default)
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | string | - |
Response 200
Returns the standard envelope with no documented data fields.
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 404
NOT_FOUND: no such resource on your account. - 409
CONFLICT(or a code-specific 409): the change clashes with existing state. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.
Get your notification email preference
GET/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 100 requests per second (the default)
Whether unread critical notifications are emailed to you as a digest (on by default).
Response 200
| Field | Type | Description |
|---|---|---|
datarequired | object | - |
actionEmailrequireddata.actionEmail | boolean | Email me about issues that need action: at most one email every 4 hours listing unread critical notifications |
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.
Set your notification email preference
PUT/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 100 requests per second (the default)
Turn the "needs attention" digest email on or off. The digest lists unread critical notifications, at most once every 4 hours. Security and account emails are not affected.
Request body (application/json)
| Field | Type | Description |
|---|---|---|
actionEmailrequired | boolean | - |
Response 200
| Field | Type | Description |
|---|---|---|
datarequired | object | Same fields as NotificationEmailPrefs, shown earlier on this page. |
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 409
CONFLICT(or a code-specific 409): the change clashes with existing state. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.
Mark all notifications as read
POST/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 100 requests per second (the default)
Response 200
Returns the standard envelope with no documented data fields.
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 409
CONFLICT(or a code-specific 409): the change clashes with existing state. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.