notifications
In-app notification centre, per-user preferences per category and channel, push device registration.
Notification centre
GET /v1/notifications
- listNotifications
- Customer key
- API key scope notifications:read
Conditional GET (P12-T07): the response carries a weak ETag of its content; send it back as If-None-Match when polling and the API answers 304 without a body while nothing changed.
API key scopes: notifications:read (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
cursor | query | string | Opaque cursor from |
limit | query | integer | Page size (max 100). |
sort | query | string | Sort order; prefix |
filter | query | object | Filters as |
If-None-Match | header | string | Conditional GET; |
Responses
200 OK
application/jsonCursor-paginated list of Notification.
dataarray of NotificationrequiredpagePageInforequired
304 Not modified (`If-None-Match` matched).
400 Malformed request: unparseable JSON, or an invalid header, path or query parameter (`errors[].field` is `header.X`, `path.x` or `query.x`). Body validation failures are 422 `validation-error`.
application/problem+json401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`).
application/problem+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled.
application/problem+json
Code samples
curl -X GET "https://bank.wirebloom.com/v1/notifications" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY"const response = await fetch("https://bank.wirebloom.com/v1/notifications", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"GET",
"https://bank.wirebloom.com/v1/notifications",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()Get a notification (deep link from push)
GET /v1/notifications/{notificationId}
- getNotification
- Customer key
- API key scope notifications:read
Own notifications only (404 otherwise).
API key scopes: notifications:read (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
notificationIdrequired | path | Uuid | Identifier (notificationId). |
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
Responses
200 OK
application/jsonidUuidrequiredread-onlyFields of id
categoryNotificationCategoryrequiredtitlestringrequiredbodystringrequireddataNotificationDatatenantIdUuid | nullreadAtTimestamp | nullcreatedAtTimestamprequiredread-onlyFields of createdAt
401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`).
application/problem+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`).
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled.
application/problem+json
Code samples
curl -X GET "https://bank.wirebloom.com/v1/notifications/{notificationId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY"const response = await fetch("https://bank.wirebloom.com/v1/notifications/{notificationId}", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"GET",
"https://bank.wirebloom.com/v1/notifications/{notificationId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()Mark as read
POST /v1/notifications/{notificationId}/read
- markNotificationRead
- Customer key
- API key scope notifications:write
API key scopes: notifications:write (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
notificationIdrequired | path | Uuid | Identifier (notificationId). |
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
Responses
200 OK
application/jsonidUuidrequiredread-onlyFields of id
categoryNotificationCategoryrequiredtitlestringrequiredbodystringrequireddataNotificationDatatenantIdUuid | nullreadAtTimestamp | nullcreatedAtTimestamprequiredread-onlyFields of createdAt
401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`).
application/problem+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`).
application/problem+json409 State conflict: `invalid-transition`, `duplicate-recipient`, `quote-expired`, `insufficient-funds`, `idempotency-key-in-use` (with Retry-After), `not-cancellable`.
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled.
application/problem+json
Code samples
curl -X POST "https://bank.wirebloom.com/v1/notifications/{notificationId}/read" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY"const response = await fetch("https://bank.wirebloom.com/v1/notifications/{notificationId}/read", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"POST",
"https://bank.wirebloom.com/v1/notifications/{notificationId}/read",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()Mark all as read
POST /v1/notifications/read-all
- markAllNotificationsRead
- Customer key
- API key scope notifications:write
API key scopes: notifications:write (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
Responses
200 OK
application/jsonunreadintegerrequired
401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`).
application/problem+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json409 State conflict: `invalid-transition`, `duplicate-recipient`, `quote-expired`, `insufficient-funds`, `idempotency-key-in-use` (with Retry-After), `not-cancellable`.
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled.
application/problem+json
Code samples
curl -X POST "https://bank.wirebloom.com/v1/notifications/read-all" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY"const response = await fetch("https://bank.wirebloom.com/v1/notifications/read-all", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"POST",
"https://bank.wirebloom.com/v1/notifications/read-all",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()Unread badge count
GET /v1/notifications/unread-count
- getUnreadNotificationCount
- Customer key
- API key scope notifications:read
Conditional GET (P12-T07): the response carries a weak ETag of its content; send it back as If-None-Match when polling and the API answers 304 without a body while nothing changed.
API key scopes: notifications:read (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
If-None-Match | header | string | Conditional GET; |
Responses
200 OK
application/jsonunreadintegerrequired
304 Not modified (`If-None-Match` matched).
401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`).
application/problem+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled.
application/problem+json
Code samples
curl -X GET "https://bank.wirebloom.com/v1/notifications/unread-count" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY"const response = await fetch("https://bank.wirebloom.com/v1/notifications/unread-count", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"GET",
"https://bank.wirebloom.com/v1/notifications/unread-count",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
},
timeout=30,
)
response.raise_for_status()