Skip to content
DocsConnect

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.

EndpointWhat it doesScope
GET /v1/networksEvery network with its group, prerequisites, scopes and evidence levelany key
GET /v1/networks/{network}One network with its full connector specany key
GET /v1/networks/{network}/review-kitThe app review kit of a network: the checklist and the screencast scriptany key
GET /v1/platform-appsThe organization's own appsany key
POST /v1/platform-appsRegister an own app; the secret is write-onlyconnection.manage
GET /v1/platform-apps/{platformAppId}One own appany key
PATCH /v1/platform-apps/{platformAppId}Rename an app or change its scopesconnection.manage
POST /v1/platform-apps/{platformAppId}/testTest call: success or the exact failing settingconnection.manage
GET /v1/platform-apps/{platformAppId}/rotate-previewPredicted impact of rotating the app secretany key
POST /v1/platform-apps/{platformAppId}/rotateRotate the app secret; the old one stays until the test passesconnection.manage
POST /v1/connect-sessionsStart a connect flow: an authorize URL, or the key-entry fieldsconnection.manage
GET /v1/connect-sessions/{sessionId}Poll a connect session: status and the returned accountsany key
POST /v1/connect-sessions/{sessionId}/keySend the key-entry fields (app password, bot token, API key)connection.manage
POST /v1/connect-sessions/{sessionId}/commitAssign the chosen destinations to brands as channelsconnection.manage
POST /v1/channels/{channelId}/reconnectStart a reconnect for a channel; history and schedule are keptconnection.manage
POST /v1/connect-sessions/{sessionId}/complete-reconnectApply a finished reconnect: waiting posts go back to scheduled, missed slots come backconnection.manage
POST /v1/connections/{connectionId}/checkRun the permission check of one connection nowconnection.manage
GET /oauth/callback/{network}OAuth redirect target; answers 303 to /connect/{sessionId}/doneno 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
curl -X GET "https://app.postbroad.com/v1/networks" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/networks", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "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

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

NameInRequiredTypeDescription
networkpathyes"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
curl -X GET "https://app.postbroad.com/v1/networks/<network>/review-kit" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
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();
Response 200
{
  "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

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

NameInRequiredTypeDescription
platformAppIdpathyesstring (uuid)

Response 200: PlatformAppView. The app

Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.

curl
curl -X GET "https://app.postbroad.com/v1/platform-apps/<platformAppId>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/platform-apps/<platformAppId>", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "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

NameInRequiredTypeDescription
platformAppIdpathyesstring (uuid)

Request body: UpdatePlatformAppInput

FieldTypeRequiredDescription
expectedRevisionintegeryes
namestringno
scopesstring[]no
brandIdstring (uuid) or nullno
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
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"
}'
TypeScript
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();
Response 200
{
  "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

NameInRequiredTypeDescription
platformAppIdpathyesstring (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
curl -X POST "https://app.postbroad.com/v1/platform-apps/<platformAppId>/test" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
TypeScript
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();
Response 200
{
  "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

NameInRequiredTypeDescription
platformAppIdpathyesstring (uuid)

Response 200: RotatePreview. The predicted impact

Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.

curl
curl -X GET "https://app.postbroad.com/v1/platform-apps/<platformAppId>/rotate-preview" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
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();
Response 200
{
  "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

NameInRequiredTypeDescription
platformAppIdpathyesstring (uuid)

Request body: RotateSecretInput

FieldTypeRequiredDescription
clientSecretstringyes

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

FieldTypeRequiredDescription
networkNetworkyes
platformAppIdstring (uuid) or nullyes
postbroadAppbooleanno
brandIdstring (uuid)no
scopesstring[]no
instanceHoststringno
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
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"
}'
TypeScript
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();
Response 201
{
  "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

NameInRequiredTypeDescription
sessionIdpathyesstring (uuid)

Response 200: ConnectSessionView. The session

Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.

curl
curl -X GET "https://app.postbroad.com/v1/connect-sessions/<sessionId>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/connect-sessions/<sessionId>", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "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

NameInRequiredTypeDescription
sessionIdpathyesstring (uuid)

Request body: SubmitKeyEntryInput

FieldTypeRequiredDescription
fieldsmap of stringyes

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

NameInRequiredTypeDescription
sessionIdpathyesstring (uuid)

Request body: CommitConnectInput

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

NameInRequiredTypeDescription
channelIdpathyesstring (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
curl -X POST "https://app.postbroad.com/v1/channels/<channelId>/reconnect" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
TypeScript
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();
Response 201
{
  "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

NameInRequiredTypeDescription
sessionIdpathyesstring (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
curl -X POST "https://app.postbroad.com/v1/connect-sessions/<sessionId>/complete-reconnect" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
TypeScript
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();
Response 200
{
  "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

NameInRequiredTypeDescription
connectionIdpathyesstring (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
curl -X POST "https://app.postbroad.com/v1/connections/<connectionId>/check" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
TypeScript
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();
Response 200
{
  "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

NameInRequiredTypeDescription
networkpathyes"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"
codequerynostring
device_idquerynostring
statequerynostring
issquerynostring
errorquerynostring
error_descriptionquerynostring
loginRequestTokenquerynostring
oauth_tokenquerynostring
oauth_verifierquerynostring

Errors: 400 bad_request, 404 not_found.

curl
curl -X GET "https://app.postbroad.com/oauth/callback/<network>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
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

FieldTypeRequiredDescription
idstring (uuid)yes
brandIdstring (uuid)yes
brandNetworkIdstring (uuid)yes
networkNetworkyes
displayNamestringyes
status"active" or "paused" or "disconnected"yes
accountobjectyes
destinationobjectyes
connectionobjectyes
verificationLevelVerificationLevelyes
evidenceLadderEvidenceMethod[]yes
createdAtstring (date-time)yes
revisionintegeryes

#CommitConnectInput

FieldTypeRequiredDescription
assignmentsobject[]yes

#CommitConnectResult

FieldTypeRequiredDescription
channelsChannelView[]yes
accountsobjectyes
allowanceobject[]yes

#ConnectAsset

FieldTypeRequiredDescription
externalAccountIdstring (uuid)yes
connectionIdstring (uuid)yes
networkNetworkyes
instanceHoststringyes
providerAccountIdstringyes
kindstringyes
handlestring or nullyes
displayNamestring or nullyes
destinationsobject[]yes
permissionsobjectyes

#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.

FieldTypeRequiredDescription
idstring (uuid)yes
kind"connect" or "reconnect"yes
networkNetworkyes
statusConnectSessionStatusyes
expiresAtstring (date-time)yes
authorizeUrlstring or nullyes
postsVia"api" or "browser_extension"yes
keyEntryobject or nullyes
channelIdstring (uuid) or nullyes
resultobject or nullyes

#ConnectionHealth

Type: "healthy" or "expiring" or "broken" or "missing_permission" or "disconnected"

#CostEstimate

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

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"

#EvidenceMethod

Type: "none" or "provider_ack" or "status_endpoint" or "readback_match" or "public_fetch" or "human_confirmed"

#MissedSlot

FieldTypeRequiredDescription
deliveryIdstring (uuid)yes
postIdstring (uuid)yes
brandIdstring (uuid)yes
channelIdstring (uuid)yes
networkNetworkyes
scheduledAtstring (date-time)yes
excerptstringyes

#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

FieldTypeRequiredDescription
networkstringyes
authobjectyes
tokenFamilyobjectyes
refreshReuse"forbidden" or objectyes
formatsobjectyes
textLimitsobjectyes
mediaProfilesobjectyes
destinationKindsobjectyes
accountUnitobjectyes
operationsobject[]yes
evidenceobjectyes
processingDeadlineSecondsintegeryes
ratePoliciesobject[]yes
capabilityProbesstring[]yes
notesstring[]yes
pollobjectno

#NetworkDetail

FieldTypeRequiredDescription
networkNetworkViewyes
specNetworkCapabilitiesyes

#NetworkList

FieldTypeRequiredDescription
dataNetworkView[]yes

#NetworkReviewKit

FieldTypeRequiredDescription
networkstringyes
namestringyes
stepstringyes
wherestringyes
beforeApprovalstring or nullyes
prerequisitesstring[]yes
testAccountRolestring or nullyes
permissionsobject[]yes
checklistobject[]yes
screencastobjectyes
checkYourselfstringyes
readOnstringyes

#NetworkView

FieldTypeRequiredDescription
networkNetworkyes
namestringyes
family"social" or "video" or "community" or "messaging" or "publishing" or "newsletter"yes
accessNetworkAccessyes
postsVia"api" or "browser_extension"yes
installUrlstring or nullyes
browserPathobject or nullyes
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
byobooleanyes
postbroadAppbooleanyes
gatedbooleanyes
launchbooleanyes
accountUnitstringyes
destinationKindsDestinationKind[]yes
verificationLevelVerificationLevelyes
evidenceEvidenceMethod[]yes
scopesobject[]yes
prerequisitesstring[]yes
custody"customer_relay" or "hosted_vault"[]yes
redirectUristring or nullyes

#PermissionCheck

FieldTypeRequiredDescription
connectionIdstring (uuid)yes
checkedAtstring (date-time)yes
okbooleanyes
healthConnectionHealthyes
missingPermissionGap[]yes

#PermissionGap

FieldTypeRequiredDescription
permissionstringyes
operationstringyes
fixstringyes

#PlatformAppPage

FieldTypeRequiredDescription
dataPlatformAppView[]yes
nextCursorstring or nullyes

#PlatformAppTestResult

FieldTypeRequiredDescription
okbooleanyes
checkedAtstring (date-time)yes
failingSettingstring or nullyes
messagestringyes

#PlatformAppView

FieldTypeRequiredDescription
idstring (uuid)yes
networkNetworkyes
namestringyes
clientIdstringyes
scopesstring[]yes
custody"customer_relay" or "hosted_vault"yes
boundHoststringyes
capabilitiesobjectyes
workspaceIdstring (uuid) or nullyes
brandIdstring (uuid) or nullyes
hasSecretbooleanyes
secretUpdatedAtstring (date-time) or nullyes
lastTestPlatformAppTestResult or nullyes
createdAtstring (date-time)yes
revisionintegeryes

#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

#ReconnectOutcome

Type: object

#RotatePreview

FieldTypeRequiredDescription
platformAppIdstring (uuid)yes
credentialsintegeryes
accountsintegeryes
channelsintegeryes
scheduledDeliveriesintegeryes
reconnectNeededbooleanyes

#RotateSecretInput

FieldTypeRequiredDescription
clientSecretstringyes

#RotateSecretResult

FieldTypeRequiredDescription
appPlatformAppViewyes
testPlatformAppTestResultyes
active"new" or "previous"yes

#StartConnectInput

FieldTypeRequiredDescription
networkNetworkyes
platformAppIdstring (uuid) or nullyes
postbroadAppbooleanno
brandIdstring (uuid)no
scopesstring[]no
instanceHoststringno
via"api" or "browser_extension"no

#SubmitKeyEntryInput

FieldTypeRequiredDescription
fieldsmap of stringyes

#UpdatePlatformAppInput

FieldTypeRequiredDescription
expectedRevisionintegeryes
namestringno
scopesstring[]no
brandIdstring (uuid) or nullno
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.