Connect
Every network and its spec, your own apps on the networks, and the connect flow for an account.
18 operations, 17 need an API key. Read the concepts first.
Connecting an account that signs in on its network is a browser flow a person completes. The API starts and polls it, takes the details of networks that connect with a key, and registers your own apps. GET /oauth/callback/{network} is where a network sends the browser back; you never call it.
Every call goes to https://app.postbroad.com; see Authentication and the error catalogue.
| Endpoint | What it does | Scope |
|---|---|---|
GET /v1/networks | Every network with its group, prerequisites, scopes and evidence level | any key |
GET /v1/networks/{network} | One network with its full connector spec | any key |
GET /v1/networks/{network}/review-kit | The app review kit of a network: the checklist and the screencast script | any key |
GET /v1/platform-apps | The organization's own apps | any key |
POST /v1/platform-apps | Register an own app; the secret is write-only | connection.manage |
GET /v1/platform-apps/{platformAppId} | One own app | any key |
PATCH /v1/platform-apps/{platformAppId} | Rename an app or change its scopes | connection.manage |
POST /v1/platform-apps/{platformAppId}/test | Test call: success or the exact failing setting | connection.manage |
GET /v1/platform-apps/{platformAppId}/rotate-preview | Predicted impact of rotating the app secret | any key |
POST /v1/platform-apps/{platformAppId}/rotate | Rotate the app secret; the old one stays until the test passes | connection.manage |
POST /v1/connect-sessions | Start a connect flow: an authorize URL, or the key-entry fields | connection.manage |
GET /v1/connect-sessions/{sessionId} | Poll a connect session: status and the returned accounts | any key |
POST /v1/connect-sessions/{sessionId}/key | Send the key-entry fields (app password, bot token, API key) | connection.manage |
POST /v1/connect-sessions/{sessionId}/commit | Assign the chosen destinations to brands as channels | connection.manage |
POST /v1/channels/{channelId}/reconnect | Start a reconnect for a channel; history and schedule are kept | connection.manage |
POST /v1/connect-sessions/{sessionId}/complete-reconnect | Apply a finished reconnect: waiting posts go back to scheduled, missed slots come back | connection.manage |
POST /v1/connections/{connectionId}/check | Run the permission check of one connection now | connection.manage |
GET /oauth/callback/{network} | OAuth redirect target; answers 303 to /connect/{sessionId}/done | no key |
#Operations
#Every network with its group, prerequisites, scopes and evidence level
GET/v1/networks
Operation listNetworks. Any API key of the organization may call it.
Response 200: NetworkList. The networks
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/networks" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/networks", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"data": [
{
"network": "facebook",
"name": "string",
"family": "social",
"access": "account",
"postsVia": "api",
"installUrl": "string",
"browserPath": {
"targetKinds": [],
"assist": "auto",
"images": false,
"video": false,
"mediaRequired": false,
"terms": "string"
},
"authKind": "oauth2",
"byo": false,
"postbroadApp": false,
"gated": false,
"launch": false,
"accountUnit": "string",
"destinationKinds": [
"feed"
],
"verificationLevel": "full",
"evidence": [
"none"
],
"scopes": [
{
"scope": "string",
"why": "string"
}
],
"prerequisites": [
"string"
],
"custody": [
"customer_relay"
],
"redirectUri": "string"
}
]
}#One network with its full connector spec
GET/v1/networks/{network}
Operation getNetwork. Any API key of the organization may call it.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
network | path | yes | "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" |
Response 200: NetworkDetail. The network
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/networks/<network>" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/networks/<network>", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"network": {
"network": "facebook",
"name": "string",
"family": "social",
"access": "account",
"postsVia": "api",
"installUrl": "string",
"browserPath": {
"targetKinds": [
"profile"
],
"assist": "auto",
"images": false,
"video": false,
"mediaRequired": false,
"terms": "string"
},
"authKind": "oauth2",
"byo": false,
"postbroadApp": false,
"gated": false,
"launch": false,
"accountUnit": "string",
"destinationKinds": [
"feed"
],
"verificationLevel": "full",
"evidence": [
"none"
],
"scopes": [
{
"scope": "string",
"why": "string"
}
],
"prerequisites": [
"string"
],
"custody": [
"customer_relay"
],
"redirectUri": "string"
},
"spec": {
"network": "string",
"auth": {
"verified": false,
"source": "string",
"value": {
"kind": "oauth2",
"fallbacks": [],
"byo": false
}
},
"tokenFamily": {
"verified": false,
"source": "string",
"value": "rotating"
},
"refreshReuse": "forbidden",
"formats": {
"verified": false,
"source": "string",
"value": {
"text": false,
"images": {
"max": 0
},
"video": {
"max": 0
},
"carousel": {
"max": 0
},
"thread": false,
"firstComment": "none",
"article": false,
"mediaRequired": false,
"extras": []
}
},
"textLimits": {
"verified": false,
"source": "string",
"value": {
"maxChars": 0,
"unit": "characters",
"titleMaxChars": 0
}
},
"mediaProfiles": {
"verified": false,
"source": "string",
"value": {}
},
"destinationKinds": {
"verified": false,
"source": "string",
"value": [
"feed"
]
},
"accountUnit": {
"verified": false,
"source": "string",
"value": "string"
},
"operations": [
{
"name": "string",
"kind": "post",
"targetClass": "client_addressed",
"effectiveClass": "client_addressed",
"classVerified": false,
"dedupe": {
"identity": "idempotency_key_header",
"windowSeconds": 0,
"windowVerified": false
},
"negativeEvidence": "string",
"source": "string"
}
],
"evidence": {
"verified": false,
"source": "string",
"value": [
"none"
]
},
"processingDeadlineSeconds": 0,
"ratePolicies": [
{
"scopeKind": "app",
"class": "write",
"basis": "documented",
"capacity": 0,
"windowSeconds": 0,
"verified": false,
"citation": "string"
}
],
"capabilityProbes": [
"string"
],
"notes": [
"string"
]
}
}#The app review kit of a network: the checklist and the screencast script
GET/v1/networks/{network}/review-kit
Operation getNetworkReviewKit. Any API key of the organization may call it.
For a network whose bring-your-own app must pass a review before it can post for other people. It lists what the reviewer has to see in Postbroad and a script for the recording, with the permissions in plain words and what each one is used for. It is Postbroad's side of the review, with the date its facts were read; the network's own, current requirements are named in checkYourself. 404 for a network whose app has no review.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
network | path | yes | "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" |
Response 200: NetworkReviewKit. The review kit
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/networks/<network>/review-kit" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/networks/<network>/review-kit", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"network": "string",
"name": "string",
"step": "string",
"where": "string",
"beforeApproval": "string",
"prerequisites": [
"string"
],
"testAccountRole": "string",
"permissions": [
{
"scope": "string",
"why": "string",
"show": "string"
}
],
"checklist": [
{
"id": "string",
"text": "string",
"evidence": "screencast"
}
],
"screencast": {
"lengthHint": "string",
"steps": [
{
"step": 0,
"say": "string",
"show": "string"
}
]
},
"checkYourself": "string",
"readOn": "string"
}#The organization's own apps
GET/v1/platform-apps
Operation listPlatformApps. Any API key of the organization may call it.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
cursor | query | no | string | |
limit | query | no | integer | |
network | query | no | "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" |
Response 200: PlatformAppPage. A page of apps
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/platform-apps" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/platform-apps", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"data": [
{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"name": "string",
"clientId": "string",
"scopes": [
"string"
],
"custody": "customer_relay",
"boundHost": "string",
"capabilities": {
"tier": "string",
"reviewStatus": "not_needed",
"restrictions": [],
"verifiedUrlPrefixes": []
},
"workspaceId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"hasSecret": false,
"secretUpdatedAt": "2026-10-21T09:00:00Z",
"lastTest": {
"ok": false,
"checkedAt": "2026-10-21T09:00:00Z",
"failingSetting": "string",
"message": "string"
},
"createdAt": "2026-10-21T09:00:00Z",
"revision": 0
}
],
"nextCursor": "string"
}#Register an own app; the secret is write-only
POST/v1/platform-apps
Operation createPlatformApp. Needs a key with the scope connection.manage.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Request body: CreatePlatformAppInput
Response 201: PlatformAppView. The app
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 403 reauth_required, 404 not_found, 409 request_in_progress, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/platform-apps" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"network": "facebook",
"name": "string",
"clientId": "string",
"scopes": [
"string"
],
"reviewStatus": "not_needed",
"instanceHost": "string",
"workspaceId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"clientSecret": "string",
"custody": "hosted_vault"
}'const res = await fetch("https://app.postbroad.com/v1/platform-apps", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"network": "facebook",
"name": "string",
"clientId": "string",
"scopes": [
"string"
],
"reviewStatus": "not_needed",
"instanceHost": "string",
"workspaceId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"clientSecret": "string",
"custody": "hosted_vault"
}),
});
const data = await res.json();{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"name": "string",
"clientId": "string",
"scopes": [
"string"
],
"custody": "customer_relay",
"boundHost": "string",
"capabilities": {
"tier": "string",
"reviewStatus": "not_needed",
"restrictions": [
"string"
],
"verifiedUrlPrefixes": [
"string"
]
},
"workspaceId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"hasSecret": false,
"secretUpdatedAt": "2026-10-21T09:00:00Z",
"lastTest": {
"ok": false,
"checkedAt": "2026-10-21T09:00:00Z",
"failingSetting": "string",
"message": "string"
},
"createdAt": "2026-10-21T09:00:00Z",
"revision": 0
}#One own app
GET/v1/platform-apps/{platformAppId}
Operation getPlatformApp. Any API key of the organization may call it.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
platformAppId | path | yes | string (uuid) |
Response 200: PlatformAppView. The app
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/platform-apps/<platformAppId>" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/platform-apps/<platformAppId>", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"name": "string",
"clientId": "string",
"scopes": [
"string"
],
"custody": "customer_relay",
"boundHost": "string",
"capabilities": {
"tier": "string",
"reviewStatus": "not_needed",
"restrictions": [
"string"
],
"verifiedUrlPrefixes": [
"string"
]
},
"workspaceId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"hasSecret": false,
"secretUpdatedAt": "2026-10-21T09:00:00Z",
"lastTest": {
"ok": false,
"checkedAt": "2026-10-21T09:00:00Z",
"failingSetting": "string",
"message": "string"
},
"createdAt": "2026-10-21T09:00:00Z",
"revision": 0
}#Rename an app or change its scopes
PATCH/v1/platform-apps/{platformAppId}
Operation updatePlatformApp. Needs a key with the scope connection.manage.
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 |
|---|---|---|---|---|
platformAppId | path | yes | string (uuid) |
Request body: UpdatePlatformAppInput
| Field | Type | Required | Description |
|---|---|---|---|
expectedRevision | integer | yes | |
name | string | no | |
scopes | string[] | no | |
brandId | string (uuid) or null | no | |
reviewStatus | "not_needed" or "not_submitted" or "in_review" or "approved" or "rejected" | no |
Response 200: PlatformAppView. The app
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 revision_mismatch, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X PATCH "https://app.postbroad.com/v1/platform-apps/<platformAppId>" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"expectedRevision": 0,
"name": "string",
"scopes": [
"string"
],
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"reviewStatus": "not_needed"
}'const res = await fetch("https://app.postbroad.com/v1/platform-apps/<platformAppId>", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"expectedRevision": 0,
"name": "string",
"scopes": [
"string"
],
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"reviewStatus": "not_needed"
}),
});
const data = await res.json();{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"name": "string",
"clientId": "string",
"scopes": [
"string"
],
"custody": "customer_relay",
"boundHost": "string",
"capabilities": {
"tier": "string",
"reviewStatus": "not_needed",
"restrictions": [
"string"
],
"verifiedUrlPrefixes": [
"string"
]
},
"workspaceId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"hasSecret": false,
"secretUpdatedAt": "2026-10-21T09:00:00Z",
"lastTest": {
"ok": false,
"checkedAt": "2026-10-21T09:00:00Z",
"failingSetting": "string",
"message": "string"
},
"createdAt": "2026-10-21T09:00:00Z",
"revision": 0
}#Test call: success or the exact failing setting
POST/v1/platform-apps/{platformAppId}/test
Operation testPlatformApp. Needs a key with the scope connection.manage.
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 |
|---|---|---|---|---|
platformAppId | path | yes | string (uuid) |
Response 200: PlatformAppTestResult. The test result
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/platform-apps/<platformAppId>/test" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"const res = await fetch("https://app.postbroad.com/v1/platform-apps/<platformAppId>/test", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
},
});
const data = await res.json();{
"ok": false,
"checkedAt": "2026-10-21T09:00:00Z",
"failingSetting": "string",
"message": "string"
}#Predicted impact of rotating the app secret
GET/v1/platform-apps/{platformAppId}/rotate-preview
Operation previewRotateSecret. Any API key of the organization may call it.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
platformAppId | path | yes | string (uuid) |
Response 200: RotatePreview. The predicted impact
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/platform-apps/<platformAppId>/rotate-preview" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/platform-apps/<platformAppId>/rotate-preview", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"platformAppId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"credentials": 0,
"accounts": 0,
"channels": 0,
"scheduledDeliveries": 0,
"reconnectNeeded": false
}#Rotate the app secret; the old one stays until the test passes
POST/v1/platform-apps/{platformAppId}/rotate
Operation rotateSecret. Needs a key with the scope connection.manage.
Requires 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 |
|---|---|---|---|---|
platformAppId | path | yes | string (uuid) |
Request body: RotateSecretInput
| Field | Type | Required | Description |
|---|---|---|---|
clientSecret | string | yes |
Response 200: RotateSecretResult. The rotation result
Errors: 400 bad_request, 400 idempotency_key_required, 401 unauthenticated, 403 forbidden, 403 reauth_required, 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/platform-apps/<platformAppId>/rotate" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"clientSecret": "string"
}'const res = await fetch("https://app.postbroad.com/v1/platform-apps/<platformAppId>/rotate", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"clientSecret": "string"
}),
});
const data = await res.json();{
"app": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"name": "string",
"clientId": "string",
"scopes": [
"string"
],
"custody": "customer_relay",
"boundHost": "string",
"capabilities": {
"tier": "string",
"reviewStatus": "not_needed",
"restrictions": [
"string"
],
"verifiedUrlPrefixes": [
"string"
]
},
"workspaceId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"hasSecret": false,
"secretUpdatedAt": "2026-10-21T09:00:00Z",
"lastTest": {
"ok": false,
"checkedAt": "2026-10-21T09:00:00Z",
"failingSetting": "string",
"message": "string"
},
"createdAt": "2026-10-21T09:00:00Z",
"revision": 0
},
"test": {
"ok": false,
"checkedAt": "2026-10-21T09:00:00Z",
"failingSetting": "string",
"message": "string"
},
"active": "new"
}#Start a connect flow: an authorize URL, or the key-entry fields
POST/v1/connect-sessions
Operation startConnect. Needs a key with the scope connection.manage.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Request body: StartConnectInput
| Field | Type | Required | Description |
|---|---|---|---|
network | Network | yes | |
platformAppId | string (uuid) or null | yes | |
postbroadApp | boolean | no | |
brandId | string (uuid) | no | |
scopes | string[] | no | |
instanceHost | string | no | |
via | "api" or "browser_extension" | no |
Response 201: ConnectSessionView. The session
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 403 limit_reached, 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/connect-sessions" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"network": "facebook",
"platformAppId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"postbroadApp": false,
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"scopes": [
"string"
],
"instanceHost": "string",
"via": "api"
}'const res = await fetch("https://app.postbroad.com/v1/connect-sessions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"network": "facebook",
"platformAppId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"postbroadApp": false,
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"scopes": [
"string"
],
"instanceHost": "string",
"via": "api"
}),
});
const data = await res.json();{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"kind": "connect",
"network": "facebook",
"status": "created",
"expiresAt": "2026-10-21T09:00:00Z",
"authorizeUrl": "string",
"postsVia": "api",
"keyEntry": {
"fields": [
{
"name": "string",
"label": "string",
"secret": false,
"required": false,
"help": "string"
}
]
},
"channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"result": {
"loginSubject": "string",
"assets": [
{
"externalAccountId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"connectionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"instanceHost": "string",
"providerAccountId": "string",
"kind": "string",
"handle": "string",
"displayName": "string",
"destinations": [],
"permissions": {
"ok": false,
"missing": []
}
}
],
"reconnect": {
"channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"accountPresent": false,
"connectionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
},
"error": {
"code": "string"
}
}
}#Poll a connect session: status and the returned accounts
GET/v1/connect-sessions/{sessionId}
Operation getConnectSession. Any API key of the organization may call it.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
sessionId | path | yes | string (uuid) |
Response 200: ConnectSessionView. The session
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/connect-sessions/<sessionId>" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/connect-sessions/<sessionId>", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"kind": "connect",
"network": "facebook",
"status": "created",
"expiresAt": "2026-10-21T09:00:00Z",
"authorizeUrl": "string",
"postsVia": "api",
"keyEntry": {
"fields": [
{
"name": "string",
"label": "string",
"secret": false,
"required": false,
"help": "string"
}
]
},
"channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"result": {
"loginSubject": "string",
"assets": [
{
"externalAccountId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"connectionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"instanceHost": "string",
"providerAccountId": "string",
"kind": "string",
"handle": "string",
"displayName": "string",
"destinations": [],
"permissions": {
"ok": false,
"missing": []
}
}
],
"reconnect": {
"channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"accountPresent": false,
"connectionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
},
"error": {
"code": "string"
}
}
}#Send the key-entry fields (app password, bot token, API key)
POST/v1/connect-sessions/{sessionId}/key
Operation submitConnectKey. Needs a key with the scope connection.manage.
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 |
|---|---|---|---|---|
sessionId | path | yes | string (uuid) |
Request body: SubmitKeyEntryInput
| Field | Type | Required | Description |
|---|---|---|---|
fields | map of string | yes |
Response 202: ConnectSessionView. The session, exchanging
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/connect-sessions/<sessionId>/key" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"fields": {}
}'const res = await fetch("https://app.postbroad.com/v1/connect-sessions/<sessionId>/key", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"fields": {}
}),
});
const data = await res.json();{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"kind": "connect",
"network": "facebook",
"status": "created",
"expiresAt": "2026-10-21T09:00:00Z",
"authorizeUrl": "string",
"postsVia": "api",
"keyEntry": {
"fields": [
{
"name": "string",
"label": "string",
"secret": false,
"required": false,
"help": "string"
}
]
},
"channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"result": {
"loginSubject": "string",
"assets": [
{
"externalAccountId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"connectionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"instanceHost": "string",
"providerAccountId": "string",
"kind": "string",
"handle": "string",
"displayName": "string",
"destinations": [],
"permissions": {
"ok": false,
"missing": []
}
}
],
"reconnect": {
"channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"accountPresent": false,
"connectionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
},
"error": {
"code": "string"
}
}
}#Assign the chosen destinations to brands as channels
POST/v1/connect-sessions/{sessionId}/commit
Operation commitConnect. Needs a key with the scope connection.manage.
Requires 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 |
|---|---|---|---|---|
sessionId | path | yes | string (uuid) |
Request body: CommitConnectInput
| Field | Type | Required | Description |
|---|---|---|---|
assignments | object[] | yes |
Response 200: CommitConnectResult. The new channels
Errors: 400 bad_request, 400 idempotency_key_required, 401 unauthenticated, 403 forbidden, 403 limit_reached, 404 not_found, 409 request_in_progress, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/connect-sessions/<sessionId>/commit" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"assignments": [
{
"destinationId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
}
]
}'const res = await fetch("https://app.postbroad.com/v1/connect-sessions/<sessionId>/commit", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"assignments": [
{
"destinationId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
}
]
}),
});
const data = await res.json();{
"channels": [
{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandNetworkId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"displayName": "string",
"status": "active",
"account": {
"externalAccountId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"handle": "string",
"displayName": "string",
"avatarUrl": "string",
"instanceHost": "string",
"kind": "string"
},
"destination": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"kind": "feed",
"name": "string",
"gone": false
},
"connection": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"health": "healthy",
"healthReason": "string",
"appKind": "ours",
"platformAppId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"accessExpiresAt": "2026-10-21T09:00:00Z",
"verifiedAt": "2026-10-21T09:00:00Z",
"postsVia": "api"
},
"verificationLevel": "full",
"evidenceLadder": [
"none"
],
"createdAt": "2026-10-21T09:00:00Z",
"revision": 0
}
],
"accounts": {
"used": 0,
"limit": 0
},
"allowance": [
{
"network": "facebook",
"accountsUsed": 0,
"accountsLimit": 0
}
]
}#Start a reconnect for a channel; history and schedule are kept
POST/v1/channels/{channelId}/reconnect
Operation reconnectChannel. Needs a key with the scope connection.manage.
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 |
|---|---|---|---|---|
channelId | path | yes | string (uuid) |
Response 201: ConnectSessionView. The reconnect session
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/channels/<channelId>/reconnect" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"const res = await fetch("https://app.postbroad.com/v1/channels/<channelId>/reconnect", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
},
});
const data = await res.json();{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"kind": "connect",
"network": "facebook",
"status": "created",
"expiresAt": "2026-10-21T09:00:00Z",
"authorizeUrl": "string",
"postsVia": "api",
"keyEntry": {
"fields": [
{
"name": "string",
"label": "string",
"secret": false,
"required": false,
"help": "string"
}
]
},
"channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"result": {
"loginSubject": "string",
"assets": [
{
"externalAccountId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"connectionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"instanceHost": "string",
"providerAccountId": "string",
"kind": "string",
"handle": "string",
"displayName": "string",
"destinations": [],
"permissions": {
"ok": false,
"missing": []
}
}
],
"reconnect": {
"channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"accountPresent": false,
"connectionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
},
"error": {
"code": "string"
}
}
}#Apply a finished reconnect: waiting posts go back to scheduled, missed slots come back
POST/v1/connect-sessions/{sessionId}/complete-reconnect
Operation completeReconnect. Needs a key with the scope connection.manage.
Requires 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 |
|---|---|---|---|---|
sessionId | path | yes | string (uuid) |
Response 200: ReconnectOutcome. The outcome
Errors: 400 idempotency_key_required, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/connect-sessions/<sessionId>/complete-reconnect" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"const res = await fetch("https://app.postbroad.com/v1/connect-sessions/<sessionId>/complete-reconnect", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
},
});
const data = await res.json();{
"outcome": "applied",
"channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"connectionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"rescheduled": 0,
"missed": [
{
"deliveryId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"postId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"scheduledAt": "2026-10-21T09:00:00Z",
"excerpt": "string"
}
]
}#Run the permission check of one connection now
POST/v1/connections/{connectionId}/check
Operation checkConnection. Needs a key with the scope connection.manage.
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 |
|---|---|---|---|---|
connectionId | path | yes | string (uuid) |
Response 200: PermissionCheck. The check
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/connections/<connectionId>/check" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"const res = await fetch("https://app.postbroad.com/v1/connections/<connectionId>/check", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
},
});
const data = await res.json();{
"connectionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"checkedAt": "2026-10-21T09:00:00Z",
"ok": false,
"health": "healthy",
"missing": [
{
"permission": "string",
"operation": "string",
"fix": "string"
}
]
}#OAuth redirect target; answers 303 to /connect/{sessionId}/done
GET/oauth/callback/{network}
Operation oauthCallback. No key needed.
Public. state is verified (HMAC and expiry) before anything else; the code is sealed at once. Responses carry Referrer-Policy: no-referrer and Cache-Control: no-store; the query string is never logged.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
network | path | yes | "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" | |
code | query | no | string | |
device_id | query | no | string | |
state | query | no | string | |
iss | query | no | string | |
error | query | no | string | |
error_description | query | no | string | |
loginRequestToken | query | no | string | |
oauth_token | query | no | string | |
oauth_verifier | query | no | string |
Errors: 400 bad_request, 404 not_found.
curl -X GET "https://app.postbroad.com/oauth/callback/<network>" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/oauth/callback/<network>", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();Schemas
Every type the operations above use
#ChannelView
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes | |
brandId | string (uuid) | yes | |
brandNetworkId | string (uuid) | yes | |
network | Network | yes | |
displayName | string | yes | |
status | "active" or "paused" or "disconnected" | yes | |
account | object | yes | |
destination | object | yes | |
connection | object | yes | |
verificationLevel | VerificationLevel | yes | |
evidenceLadder | EvidenceMethod[] | yes | |
createdAt | string (date-time) | yes | |
revision | integer | yes |
#CommitConnectInput
| Field | Type | Required | Description |
|---|---|---|---|
assignments | object[] | yes |
#CommitConnectResult
| Field | Type | Required | Description |
|---|---|---|---|
channels | ChannelView[] | yes | |
accounts | object | yes | |
allowance | object[] | yes |
#ConnectAsset
| Field | Type | Required | Description |
|---|---|---|---|
externalAccountId | string (uuid) | yes | |
connectionId | string (uuid) | yes | |
network | Network | yes | |
instanceHost | string | yes | |
providerAccountId | string | yes | |
kind | string | yes | |
handle | string or null | yes | |
displayName | string or null | yes | |
destinations | object[] | yes | |
permissions | object | yes |
#ConnectSessionStatus
Type: "created" or "authorizing" or "exchanging" or "completed" or "failed" or "expired"
#ConnectSessionView
One connect or reconnect flow. Never carries a token or a secret.
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes | |
kind | "connect" or "reconnect" | yes | |
network | Network | yes | |
status | ConnectSessionStatus | yes | |
expiresAt | string (date-time) | yes | |
authorizeUrl | string or null | yes | |
postsVia | "api" or "browser_extension" | yes | |
keyEntry | object or null | yes | |
channelId | string (uuid) or null | yes | |
result | object or null | yes |
#ConnectionHealth
Type: "healthy" or "expiring" or "broken" or "missing_permission" or "disconnected"
#CostEstimate
| Field | Type | Required | Description |
|---|---|---|---|
unit | string | yes | |
amountMicros | integer | yes | |
currency | "USD" | yes | |
billedBy | "postbroad" or "third_party" | yes |
#CreatePlatformAppInput
Type: object
#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"
#EvidenceMethod
Type: "none" or "provider_ack" or "status_endpoint" or "readback_match" or "public_fetch" or "human_confirmed"
#MissedSlot
| Field | Type | Required | Description |
|---|---|---|---|
deliveryId | string (uuid) | yes | |
postId | string (uuid) | yes | |
brandId | string (uuid) | yes | |
channelId | string (uuid) | yes | |
network | Network | yes | |
scheduledAt | string (date-time) | yes | |
excerpt | string | 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"
#NetworkAccess
Type: "account" or "own_app" or "by_hand"
#NetworkCapabilities
| Field | Type | Required | Description |
|---|---|---|---|
network | string | yes | |
auth | object | yes | |
tokenFamily | object | yes | |
refreshReuse | "forbidden" or object | yes | |
formats | object | yes | |
textLimits | object | yes | |
mediaProfiles | object | yes | |
destinationKinds | object | yes | |
accountUnit | object | yes | |
operations | object[] | yes | |
evidence | object | yes | |
processingDeadlineSeconds | integer | yes | |
ratePolicies | object[] | yes | |
capabilityProbes | string[] | yes | |
notes | string[] | yes | |
poll | object | no |
#NetworkDetail
| Field | Type | Required | Description |
|---|---|---|---|
network | NetworkView | yes | |
spec | NetworkCapabilities | yes |
#NetworkList
| Field | Type | Required | Description |
|---|---|---|---|
data | NetworkView[] | yes |
#NetworkReviewKit
| Field | Type | Required | Description |
|---|---|---|---|
network | string | yes | |
name | string | yes | |
step | string | yes | |
where | string | yes | |
beforeApproval | string or null | yes | |
prerequisites | string[] | yes | |
testAccountRole | string or null | yes | |
permissions | object[] | yes | |
checklist | object[] | yes | |
screencast | object | yes | |
checkYourself | string | yes | |
readOn | string | yes |
#NetworkView
| Field | Type | Required | Description |
|---|---|---|---|
network | Network | yes | |
name | string | yes | |
family | "social" or "video" or "community" or "messaging" or "publishing" or "newsletter" | yes | |
access | NetworkAccess | yes | |
postsVia | "api" or "browser_extension" | yes | |
installUrl | string or null | yes | |
browserPath | object or null | yes | |
authKind | "oauth2" or "oauth2_pkce" or "oauth2_per_instance" or "oauth1" or "atproto_oauth" or "app_password" or "bot_token" or "incoming_webhook" or "api_key" or "admin_api_key" or "password_login" or "nip46_signer" or "private_key" or "signer_provider" or "session" or "vendor_login_token" or "app_credentials" or "browser_extension" | yes | |
byo | boolean | yes | |
postbroadApp | boolean | yes | |
gated | boolean | yes | |
launch | boolean | yes | |
accountUnit | string | yes | |
destinationKinds | DestinationKind[] | yes | |
verificationLevel | VerificationLevel | yes | |
evidence | EvidenceMethod[] | yes | |
scopes | object[] | yes | |
prerequisites | string[] | yes | |
custody | "customer_relay" or "hosted_vault"[] | yes | |
redirectUri | string or null | yes |
#PermissionCheck
| Field | Type | Required | Description |
|---|---|---|---|
connectionId | string (uuid) | yes | |
checkedAt | string (date-time) | yes | |
ok | boolean | yes | |
health | ConnectionHealth | yes | |
missing | PermissionGap[] | yes |
#PermissionGap
| Field | Type | Required | Description |
|---|---|---|---|
permission | string | yes | |
operation | string | yes | |
fix | string | yes |
#PlatformAppPage
| Field | Type | Required | Description |
|---|---|---|---|
data | PlatformAppView[] | yes | |
nextCursor | string or null | yes |
#PlatformAppTestResult
| Field | Type | Required | Description |
|---|---|---|---|
ok | boolean | yes | |
checkedAt | string (date-time) | yes | |
failingSetting | string or null | yes | |
message | string | yes |
#PlatformAppView
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes | |
network | Network | yes | |
name | string | yes | |
clientId | string | yes | |
scopes | string[] | yes | |
custody | "customer_relay" or "hosted_vault" | yes | |
boundHost | string | yes | |
capabilities | object | yes | |
workspaceId | string (uuid) or null | yes | |
brandId | string (uuid) or null | yes | |
hasSecret | boolean | yes | |
secretUpdatedAt | string (date-time) or null | yes | |
lastTest | PlatformAppTestResult or null | yes | |
createdAt | string (date-time) | yes | |
revision | integer | 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 |
#ReconnectOutcome
Type: object
#RotatePreview
| Field | Type | Required | Description |
|---|---|---|---|
platformAppId | string (uuid) | yes | |
credentials | integer | yes | |
accounts | integer | yes | |
channels | integer | yes | |
scheduledDeliveries | integer | yes | |
reconnectNeeded | boolean | yes |
#RotateSecretInput
| Field | Type | Required | Description |
|---|---|---|---|
clientSecret | string | yes |
#RotateSecretResult
| Field | Type | Required | Description |
|---|---|---|---|
app | PlatformAppView | yes | |
test | PlatformAppTestResult | yes | |
active | "new" or "previous" | yes |
#StartConnectInput
| Field | Type | Required | Description |
|---|---|---|---|
network | Network | yes | |
platformAppId | string (uuid) or null | yes | |
postbroadApp | boolean | no | |
brandId | string (uuid) | no | |
scopes | string[] | no | |
instanceHost | string | no | |
via | "api" or "browser_extension" | no |
#SubmitKeyEntryInput
| Field | Type | Required | Description |
|---|---|---|---|
fields | map of string | yes |
#UpdatePlatformAppInput
| Field | Type | Required | Description |
|---|---|---|---|
expectedRevision | integer | yes | |
name | string | no | |
scopes | string[] | no | |
brandId | string (uuid) or null | no | |
reviewStatus | "not_needed" or "not_submitted" or "in_review" or "approved" or "rejected" | no |
#VerificationLevel
Type: "full" or "url_only" or "accepted_no_readback" or "manual"
Last generated 23 Nov 2026, from the contracts the API runs on.