Notifications
A member's notifications, activity feed, preferences and browser push.
11 operations, every one needs an API key. Read the concepts first.
Every call goes to https://app.postbroad.com; see Authentication and the error catalogue.
| Endpoint | What it does | Scope |
|---|---|---|
GET /v1/notifications/preferences | Your notification preferences by brand and severity | any key |
PUT /v1/notifications/preferences | Set your notification preference | any key |
GET /v1/notifications/feed | The signed-in member's activity feed | content.read |
GET /v1/notifications/feed/unread | Unread visible activity | content.read |
POST /v1/notifications/feed/read | Mark verified activity read | content.read |
GET /v1/notifications | The signed-in member's notifications, newest first | any key |
GET /v1/notifications/unread | How many notifications are unread, for the bell | any key |
POST /v1/notifications/read | Mark some notifications, or all of them, as read | any key |
GET /v1/push/config | Browser push availability | any key |
POST /v1/push/subscriptions | Enable push for this browser session | any key |
DELETE /v1/push/subscriptions/{id} | Disable push for this browser | any key |
#Operations
#Your notification preferences by brand and severity
GET/v1/notifications/preferences
Operation listNotificationPreferences. Any API key of the organization may call it.
Response 200: NotificationOverrides. Visible brand overrides
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/notifications/preferences" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/notifications/preferences", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"defaults": {
"inApp": false,
"email": false
},
"data": [
{
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"severity": "info",
"inApp": false,
"email": false
}
]
}#Set your notification preference
PUT/v1/notifications/preferences
Operation setNotificationPreference. Any API key of the organization may call it.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Request body: SetNotificationOverride
| Field | Type | Required | Description |
|---|---|---|---|
brandId | string (uuid) | yes | |
severity | "info" or "warning" or "critical" | yes | |
inApp | boolean | yes | |
email | boolean | yes |
Response 200: NotificationOverride. Preference saved
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X PUT "https://app.postbroad.com/v1/notifications/preferences" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"severity": "info",
"inApp": false,
"email": false
}'const res = await fetch("https://app.postbroad.com/v1/notifications/preferences", {
method: "PUT",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"severity": "info",
"inApp": false,
"email": false
}),
});
const data = await res.json();{
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"severity": "info",
"inApp": false,
"email": false
}#The signed-in member's activity feed
GET/v1/notifications/feed
Operation listNotificationFeed. Needs a key with the scope content.read.
Verified activity is shown from visible history when in-app notifications are enabled. A member's read state is independent of other members.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
cursor | query | no | string | |
limit | query | no | integer | |
filter | query | no | "all" or "needs_you" or "went_live" |
Response 200: NotificationFeedPage. A page of visible activity
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 422 validation_failed, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/notifications/feed" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/notifications/feed", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"data": [
{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"kind": "exception",
"exceptionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"type": "string",
"severity": "info",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandName": "string",
"network": "string",
"label": "string",
"eventCount": 0,
"readAt": "2026-10-21T09:00:00Z",
"createdAt": "2026-10-21T09:00:00Z",
"updatedAt": "2026-10-21T09:00:00Z"
}
],
"nextCursor": "string"
}#Unread visible activity
GET/v1/notifications/feed/unread
Operation getUnreadNotificationFeedCount. Needs a key with the scope content.read.
Response 200: UnreadCount. The count
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/notifications/feed/unread" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/notifications/feed/unread", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"unread": 0
}#Mark verified activity read
POST/v1/notifications/feed/read
Operation markNotificationFeedRead. Needs a key with the scope content.read.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Request body: MarkNotificationFeedReadInput
Response 200: MarkNotificationsReadResult. Read state recorded
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/notifications/feed/read" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"deliveries": [
{
"deliveryId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"verifiedAt": "2026-10-21T09:00:00Z"
}
]
}'const res = await fetch("https://app.postbroad.com/v1/notifications/feed/read", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"deliveries": [
{
"deliveryId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"verifiedAt": "2026-10-21T09:00:00Z"
}
]
}),
});
const data = await res.json();{
"unread": 0,
"more": false
}#The signed-in member's notifications, newest first
GET/v1/notifications
Operation listNotifications. Any API key of the organization may call it.
Only the person's own in-app notifications, and only for brands they can still see. Needs a signed-in member: a token, an agent or an MCP client is refused. The cursor is tied to the status filter.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
cursor | query | no | string | |
limit | query | no | integer | |
status | query | no | "all" or "unread" |
Response 200: NotificationPage. A page of notifications
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 422 validation_failed, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/notifications" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/notifications", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"data": [
{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"kind": "exception",
"exceptionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"type": "string",
"severity": "info",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandName": "string",
"network": "string",
"label": "string",
"eventCount": 0,
"readAt": "2026-10-21T09:00:00Z",
"createdAt": "2026-10-21T09:00:00Z",
"updatedAt": "2026-10-21T09:00:00Z"
}
],
"nextCursor": "string"
}#How many notifications are unread, for the bell
GET/v1/notifications/unread
Operation getUnreadNotificationCount. Any API key of the organization may call it.
Response 200: UnreadCount. The count
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/notifications/unread" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/notifications/unread", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"unread": 0
}#Mark some notifications, or all of them, as read
POST/v1/notifications/read
Operation markNotificationsRead. Any API key of the organization may call it.
ids marks up to 100 of the caller's own notifications (others are ignored). all marks up to 1000 at a time and says more: true while unread remain, so call it again. Marking a read notification again changes nothing.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Request body: MarkNotificationsReadInput
Response 200: MarkNotificationsReadResult. What remains unread
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/notifications/read" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"ids": [
"0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
]
}'const res = await fetch("https://app.postbroad.com/v1/notifications/read", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"ids": [
"0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
]
}),
});
const data = await res.json();{
"unread": 0,
"more": false
}#Browser push availability
GET/v1/push/config
Operation getPushConfig. Any API key of the organization may call it.
Response 200: PushConfig. Public push configuration
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/push/config" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/push/config", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"available": false,
"publicKey": "string",
"subscriptionIds": [
"0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
]
}#Enable push for this browser session
POST/v1/push/subscriptions
Operation registerPushSubscription. Any API key of the organization may call it.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Request body: PushSubscriptionInput
| Field | Type | Required | Description |
|---|---|---|---|
endpoint | string | yes | |
keys | object | yes |
Response 200: PushSubscriptionView. Registered device
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/push/subscriptions" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "string",
"keys": {
"p256dh": "string",
"auth": "string"
}
}'const res = await fetch("https://app.postbroad.com/v1/push/subscriptions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"endpoint": "string",
"keys": {
"p256dh": "string",
"auth": "string"
}
}),
});
const data = await res.json();{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
}#Disable push for this browser
DELETE/v1/push/subscriptions/{id}
Operation deletePushSubscription. Any API key of the organization may call it.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
id | path | yes | string (uuid) |
Response 204. Removed
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X DELETE "https://app.postbroad.com/v1/push/subscriptions/<id>" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"const res = await fetch("https://app.postbroad.com/v1/push/subscriptions/<id>", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
},
});
const data = await res.json();Schemas
Every type the operations above use
#CostEstimate
| Field | Type | Required | Description |
|---|---|---|---|
unit | string | yes | |
amountMicros | integer | yes | |
currency | "USD" | yes | |
billedBy | "postbroad" or "third_party" | yes |
#DestinationKind
Type: "feed" or "board" or "subreddit" or "chat" or "channel" or "community" or "group" or "forum" or "list" or "publication" or "organization" or "playlist"
#DispatchingRef
A delivery that had already started (or gone live) when the change committed; it may still publish.
| Field | Type | Required | Description |
|---|---|---|---|
deliveryId | string (uuid) | yes | |
channelId | string (uuid) | yes | |
state | "sending" or "accepted" or "processing" or "published" or "unknown" | yes | |
claimedAt | string (date-time) or null | yes | |
versionNo | integer | yes |
#ErrorCode
Type: "bad_request" or "org_required" or "unauthenticated" or "reauth_required" or "invalid_credentials" or "forbidden" or "not_found" or "method_not_allowed" or "idempotency_key_required" or "idempotency_key_reused" or "request_in_progress" or "revision_mismatch" or "preview_required" or "preview_stale" or "dispatch_started" or "duplicate_risk_unacknowledged" or "conflict" or "validation_failed" or "rule_violation" or "budget_exhausted" or "limit_reached" or "organization_frozen" or "approval_required" or "unsupported_media_type" or "payload_too_large" or "rate_limited" or "internal" or "unavailable" or "busy" or "timeout"
#MarkNotificationFeedReadInput
Type: object
#MarkNotificationsReadInput
Type: object
#MarkNotificationsReadResult
| Field | Type | Required | Description |
|---|---|---|---|
unread | integer | yes | |
more | boolean | yes |
#Network
Type: "facebook" or "instagram" or "threads" or "linkedin" or "bluesky" or "x" or "tiktok" or "youtube" or "google_business_profile" or "reddit" or "telegram" or "discord" or "slack" or "pinterest" or "dribbble" or "mastodon" or "whop" or "twitch" or "kick" or "farcaster" or "vk" or "lemmy" or "mewe" or "nostr" or "listmonk" or "wordpress" or "medium" or "hashnode" or "devto" or "ghost" or "snapchat" or "odnoklassniki" or "tumblr" or "flickr" or "vimeo" or "dailymotion" or "soundcloud" or "beehiiv" or "discourse" or "circle" or "mighty_networks" or "viber" or "line" or "hatena_blog" or "wechat" or "kuaishou" or "zalo" or "band" or "pixelfed" or "misskey" or "peertube" or "hive" or "lens" or "moltbook" or "facebook_groups" or "facebook_profile" or "substack_notes" or "skool"
#NotificationFeedItem
Type: object
#NotificationFeedPage
| Field | Type | Required | Description |
|---|---|---|---|
data | NotificationFeedItem[] | yes | |
nextCursor | string or null | yes |
#NotificationOverride
| Field | Type | Required | Description |
|---|---|---|---|
brandId | string (uuid) | yes | |
severity | "info" or "warning" or "critical" | yes | |
inApp | boolean | yes | |
email | boolean | yes |
#NotificationOverrides
| Field | Type | Required | Description |
|---|---|---|---|
defaults | object | yes | |
data | NotificationOverride[] | yes |
#NotificationPage
| Field | Type | Required | Description |
|---|---|---|---|
data | NotificationView[] | yes | |
nextCursor | string or null | yes |
#NotificationView
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes | |
kind | "exception" | yes | |
exceptionId | string (uuid) | yes | |
type | string or null | yes | |
severity | "info" or "warning" or "critical" | yes | |
brandId | string (uuid) or null | yes | |
brandName | string or null | yes | |
network | string or null | yes | |
label | string | yes | |
eventCount | integer | yes | |
readAt | string (date-time) or null | yes | |
createdAt | string (date-time) | yes | |
updatedAt | string (date-time) | yes |
#PreflightResult
Type: object
#PreviewDestination
| Field | Type | Required | Description |
|---|---|---|---|
channelId | string (uuid) | yes | |
network | Network | yes | |
handle | string or null | yes | |
scheduledAt | string (date-time) or null | yes | |
payloadHash | string | yes | |
payload | PreviewPayload | yes | What will be sent to one destination, from the frozen payload model. |
manualHandoff | object | no | |
preflight | PreflightResult | yes | |
pendingChecks | string[] | yes | |
cost | CostEstimate[] | yes | |
verificationLevel | VerificationLevel | yes |
#PreviewPayload
What will be sent to one destination, from the frozen payload model.
| Field | Type | Required | Description |
|---|---|---|---|
v | 1 | yes | |
orgId | string (uuid) | yes | |
brandId | string (uuid) | yes | |
postVersionId | string (uuid) | yes | |
contentHash | string | yes | |
variantId | string (uuid) | yes | |
channelId | string (uuid) | yes | |
network | string | yes | |
connectorVersion | string | yes | |
destination | object | yes | |
intendedVisibility | "public" or "followers" or "private" or "draft" or "inbox" or "scheduled_native" | yes | |
aiLabel | boolean | yes | |
utm | map of string | yes | |
parts | object[] | yes |
#PreviewResult
| Field | Type | Required | Description |
|---|---|---|---|
receipt | string | yes | |
expiresAt | string (date-time) | yes | |
postId | string (uuid) | yes | |
versionNo | integer | yes | |
contentHash | string | yes | |
mode | "schedule" or "publish_now" | yes | |
blocked | boolean | yes | |
requiresReview | boolean | yes | |
destinations | PreviewDestination[] | yes | |
totalCost | CostEstimate[] | yes |
#Problem
The one error body of every route (RFC 9457 problem details with a stable code). Another organization's resource, a Postbroad-Org the member does not belong to and a resource outside a token's brand allowlist all answer 404 not_found, never 403.
| Field | Type | Required | Description |
|---|---|---|---|
type | string | yes | |
title | string | yes | |
status | integer | yes | |
code | ErrorCode | yes | |
detail | string | yes | |
requestId | string | yes | |
retryable | boolean | yes | |
errors | ProblemItem[] | no | |
preview | PreviewResult | no | |
currentRevision | integer | no | |
alreadyDispatching | DispatchingRef[] | no | |
limit | object | no | |
retryAfterSeconds | integer | no |
#ProblemItem
| Field | Type | Required | Description |
|---|---|---|---|
path | string | yes | |
rule | string | yes | |
message | string | yes | |
channelId | string (uuid) or null | no |
#PushConfig
| Field | Type | Required | Description |
|---|---|---|---|
available | boolean | yes | |
publicKey | string or null | yes | |
subscriptionIds | string (uuid)[] | yes |
#PushSubscriptionInput
| Field | Type | Required | Description |
|---|---|---|---|
endpoint | string | yes | |
keys | object | yes |
#PushSubscriptionView
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes |
#SetNotificationOverride
| Field | Type | Required | Description |
|---|---|---|---|
brandId | string (uuid) | yes | |
severity | "info" or "warning" or "critical" | yes | |
inApp | boolean | yes | |
email | boolean | yes |
#UnreadCount
| Field | Type | Required | Description |
|---|---|---|---|
unread | integer | yes |
#VerificationLevel
Type: "full" or "url_only" or "accepted_no_readback" or "manual"
Last generated 21 Nov 2026, from the contracts the API runs on.