Skip to content
DocsNotifications

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.

EndpointWhat it doesScope
GET /v1/notifications/preferencesYour notification preferences by brand and severityany key
PUT /v1/notifications/preferencesSet your notification preferenceany key
GET /v1/notifications/feedThe signed-in member's activity feedcontent.read
GET /v1/notifications/feed/unreadUnread visible activitycontent.read
POST /v1/notifications/feed/readMark verified activity readcontent.read
GET /v1/notificationsThe signed-in member's notifications, newest firstany key
GET /v1/notifications/unreadHow many notifications are unread, for the bellany key
POST /v1/notifications/readMark some notifications, or all of them, as readany key
GET /v1/push/configBrowser push availabilityany key
POST /v1/push/subscriptionsEnable push for this browser sessionany key
DELETE /v1/push/subscriptions/{id}Disable push for this browserany 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
curl -X GET "https://app.postbroad.com/v1/notifications/preferences" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/notifications/preferences", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "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

FieldTypeRequiredDescription
brandIdstring (uuid)yes
severity"info" or "warning" or "critical"yes
inAppbooleanyes
emailbooleanyes

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
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
}'
TypeScript
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();
Response 200
{
  "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

NameInRequiredTypeDescription
cursorquerynostring
limitquerynointeger
filterqueryno"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
curl -X GET "https://app.postbroad.com/v1/notifications/feed" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/notifications/feed", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "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
curl -X GET "https://app.postbroad.com/v1/notifications/feed/unread" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/notifications/feed/unread", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "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
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"
    }
  ]
}'
TypeScript
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();
Response 200
{
  "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

NameInRequiredTypeDescription
cursorquerynostring
limitquerynointeger
statusqueryno"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
curl -X GET "https://app.postbroad.com/v1/notifications" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/notifications", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "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
curl -X GET "https://app.postbroad.com/v1/notifications/unread" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/notifications/unread", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "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
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"
  ]
}'
TypeScript
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();
Response 200
{
  "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
curl -X GET "https://app.postbroad.com/v1/push/config" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/push/config", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "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

FieldTypeRequiredDescription
endpointstringyes
keysobjectyes

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
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"
  }
}'
TypeScript
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();
Response 200
{
  "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

NameInRequiredTypeDescription
idpathyesstring (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
curl -X DELETE "https://app.postbroad.com/v1/push/subscriptions/<id>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
TypeScript
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

FieldTypeRequiredDescription
unitstringyes
amountMicrosintegeryes
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.

FieldTypeRequiredDescription
deliveryIdstring (uuid)yes
channelIdstring (uuid)yes
state"sending" or "accepted" or "processing" or "published" or "unknown"yes
claimedAtstring (date-time) or nullyes
versionNointegeryes

#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

FieldTypeRequiredDescription
unreadintegeryes
morebooleanyes

#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

FieldTypeRequiredDescription
dataNotificationFeedItem[]yes
nextCursorstring or nullyes

#NotificationOverride

FieldTypeRequiredDescription
brandIdstring (uuid)yes
severity"info" or "warning" or "critical"yes
inAppbooleanyes
emailbooleanyes

#NotificationOverrides

FieldTypeRequiredDescription
defaultsobjectyes
dataNotificationOverride[]yes

#NotificationPage

FieldTypeRequiredDescription
dataNotificationView[]yes
nextCursorstring or nullyes

#NotificationView

FieldTypeRequiredDescription
idstring (uuid)yes
kind"exception"yes
exceptionIdstring (uuid)yes
typestring or nullyes
severity"info" or "warning" or "critical"yes
brandIdstring (uuid) or nullyes
brandNamestring or nullyes
networkstring or nullyes
labelstringyes
eventCountintegeryes
readAtstring (date-time) or nullyes
createdAtstring (date-time)yes
updatedAtstring (date-time)yes

#PreflightResult

Type: object

#PreviewDestination

FieldTypeRequiredDescription
channelIdstring (uuid)yes
networkNetworkyes
handlestring or nullyes
scheduledAtstring (date-time) or nullyes
payloadHashstringyes
payloadPreviewPayloadyesWhat will be sent to one destination, from the frozen payload model.
manualHandoffobjectno
preflightPreflightResultyes
pendingChecksstring[]yes
costCostEstimate[]yes
verificationLevelVerificationLevelyes

#PreviewPayload

What will be sent to one destination, from the frozen payload model.

FieldTypeRequiredDescription
v1yes
orgIdstring (uuid)yes
brandIdstring (uuid)yes
postVersionIdstring (uuid)yes
contentHashstringyes
variantIdstring (uuid)yes
channelIdstring (uuid)yes
networkstringyes
connectorVersionstringyes
destinationobjectyes
intendedVisibility"public" or "followers" or "private" or "draft" or "inbox" or "scheduled_native"yes
aiLabelbooleanyes
utmmap of stringyes
partsobject[]yes

#PreviewResult

FieldTypeRequiredDescription
receiptstringyes
expiresAtstring (date-time)yes
postIdstring (uuid)yes
versionNointegeryes
contentHashstringyes
mode"schedule" or "publish_now"yes
blockedbooleanyes
requiresReviewbooleanyes
destinationsPreviewDestination[]yes
totalCostCostEstimate[]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.

FieldTypeRequiredDescription
typestringyes
titlestringyes
statusintegeryes
codeErrorCodeyes
detailstringyes
requestIdstringyes
retryablebooleanyes
errorsProblemItem[]no
previewPreviewResultno
currentRevisionintegerno
alreadyDispatchingDispatchingRef[]no
limitobjectno
retryAfterSecondsintegerno

#ProblemItem

FieldTypeRequiredDescription
pathstringyes
rulestringyes
messagestringyes
channelIdstring (uuid) or nullno

#PushConfig

FieldTypeRequiredDescription
availablebooleanyes
publicKeystring or nullyes
subscriptionIdsstring (uuid)[]yes

#PushSubscriptionInput

FieldTypeRequiredDescription
endpointstringyes
keysobjectyes

#PushSubscriptionView

FieldTypeRequiredDescription
idstring (uuid)yes

#SetNotificationOverride

FieldTypeRequiredDescription
brandIdstring (uuid)yes
severity"info" or "warning" or "critical"yes
inAppbooleanyes
emailbooleanyes

#UnreadCount

FieldTypeRequiredDescription
unreadintegeryes

#VerificationLevel

Type: "full" or "url_only" or "accepted_no_readback" or "manual"

Last generated 21 Nov 2026, from the contracts the API runs on.