Skip to content
DocsPosts

Posts

Create, list, edit, copy and export posts, with every version. A draft always saves, and one post is adapted to each network.

20 operations, every one needs an API key. Read the concepts first.

New to the API? The quickstart schedules a first post in five calls.

Every call goes to https://app.postbroad.com; see Authentication and the error catalogue.

EndpointWhat it doesScope
POST /v1/brands/{brandId}/link-draftsRead an article once and draft a post for each of the brand's networkspost.draft
GET /v1/posts/{postId}/linksThe post's short links and their clickscontent.read
GET /v1/channels/{channelId}/mentionsFind accounts, roles or pages a post to this channel can tagpost.create
GET /v1/brands/{brandId}/post-templatesA brand's saved post templates, by nameany key
POST /v1/brands/{brandId}/post-templatesSave a post template for a brandpost.draft
GET /v1/brands/{brandId}/post-templates/{templateId}One saved post templateany key
PATCH /v1/brands/{brandId}/post-templates/{templateId}Rename a post template or replace its contentpost.draft
DELETE /v1/brands/{brandId}/post-templates/{templateId}Delete a post template; posts made from it stay as they arepost.draft
GET /v1/postsPosts by brand, state, tag or timeany key
POST /v1/postsCreate a draft (the draft always saves)post.create
GET /v1/posts/export.csvExport matching posts and their destinations as a CSV attachmentany key
POST /v1/posts/batchCreate up to 50 drafts with a result per itempost.create
GET /v1/posts/{postId}A post with its current version and per-destination statusany key
PATCH /v1/posts/{postId}Edit a post; a scheduled post gets a new versionpost.edit
DELETE /v1/posts/{postId}Delete a post that has not gone out; unsent destinations are cancelled firstpost.delete
POST /v1/posts/{postId}/duplicateCopy a post to a new draft with the same destinations and no historypost.create
GET /v1/posts/{postId}/versionsVersions of a post, newest firstany key
GET /v1/posts/{postId}/versions/{versionNo}One version of a postany key
GET /v1/posts/{postId}/diffDifferences between two versionsany key
POST /v1/posts/{postId}/versions/{versionNo}/restoreRestore an old version as a new versionpost.edit

#Operations

#Read an article once and draft a post for each of the brand's networks

POST/v1/brands/{brandId}/link-drafts

Operation createLinkDrafts. Needs a key with the scope post.draft.

Nothing is saved: the drafts come back to start a post from. The page is read once, within 8.5 s and 512 KiB.

Accepts an Idempotency-Key header. Add ?dry_run=true where the operation supports it to get a preview and write nothing.

Parameters

NameInRequiredTypeDescription
brandIdpathyesstring (uuid)

Request body: LinkDraftInput

FieldTypeRequiredDescription
urlstringyes

Response 200: LinkDrafts. Drafts

Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 422 validation_failed, 422 rule_violation, 429 rate_limited, 500 internal.

curl
curl -X POST "https://app.postbroad.com/v1/brands/<brandId>/link-drafts" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "string"
}'
TypeScript
const res = await fetch("https://app.postbroad.com/v1/brands/<brandId>/link-drafts", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "string"
  }),
});
const data = await res.json();
Response 200
{
  "url": "string",
  "title": "string",
  "description": "string",
  "imageUrl": "string",
  "drafts": [
    {
      "network": "string",
      "text": "string"
    }
  ]
}

GET/v1/posts/{postId}/links

Operation listPostLinks. Needs a key with the scope content.read.

Parameters

NameInRequiredTypeDescription
postIdpathyesstring (uuid)

Response 200: PostLinks. Links

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

curl
curl -X GET "https://app.postbroad.com/v1/posts/<postId>/links" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts/<postId>/links", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "links": [
    {
      "url": "string",
      "shortUrl": "string",
      "state": "pending",
      "clicks": -9007199254740991,
      "clicksReadAt": "2026-10-21T09:00:00Z"
    }
  ]
}

#Find accounts, roles or pages a post to this channel can tag

GET/v1/channels/{channelId}/mentions

Operation searchMentions. Needs a key with the scope post.create.

Runs the network's own search with the channel's connection in the worker and waits up to a few seconds; nothing is written to the network. Bluesky searches accounts through the public AppView, Discord searches members and roles of the server, LinkedIn finds company pages. Networks without a search answer supported: false with a note.

Parameters

NameInRequiredTypeDescription
channelIdpathyesstring (uuid)
qqueryyesstring

Response 200: MentionSearchResult. The candidates

Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 422 validation_failed, 429 rate_limited, 500 internal, 503 unavailable.

curl
curl -X GET "https://app.postbroad.com/v1/channels/<channelId>/mentions?q=<q>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/channels/<channelId>/mentions?q=<q>", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "network": "facebook",
  "supported": false,
  "candidates": [
    {
      "kind": "user",
      "id": "string",
      "label": "string",
      "detail": "string",
      "insert": "string",
      "avatarUrl": "string"
    }
  ],
  "note": "string"
}

#A brand's saved post templates, by name

GET/v1/brands/{brandId}/post-templates

Operation listPostTemplates. Any API key of the organization may call it.

Parameters

NameInRequiredTypeDescription
brandIdpathyesstring (uuid)

Response 200: PostTemplateList. The templates

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

curl
curl -X GET "https://app.postbroad.com/v1/brands/<brandId>/post-templates" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/brands/<brandId>/post-templates", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "data": [
    {
      "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "name": "string",
      "content": {
        "baseText": "string",
        "media": [],
        "variants": [],
        "channelIds": [],
        "tags": []
      },
      "createdBy": {
        "type": "member",
        "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "name": "string"
      },
      "createdAt": "2026-10-21T09:00:00Z",
      "updatedAt": "2026-10-21T09:00:00Z",
      "revision": 0
    }
  ]
}

#Save a post template for a brand

POST/v1/brands/{brandId}/post-templates

Operation createPostTemplate. Needs a key with the scope post.draft.

Media and accounts must belong to the brand. The name is unique within the brand, ignoring case.

Accepts an Idempotency-Key header. Add ?dry_run=true where the operation supports it to get a preview and write nothing.

Parameters

NameInRequiredTypeDescription
brandIdpathyesstring (uuid)

Request body: CreatePostTemplateInput

FieldTypeRequiredDescription
namestringyes
contentPostTemplateContentyesWhat a template fills a new draft with: no time, state or history.

Response 201: PostTemplate. The new template

Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 422 rule_violation, 429 rate_limited, 500 internal.

curl
curl -X POST "https://app.postbroad.com/v1/brands/<brandId>/post-templates" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "content": {}
}'
TypeScript
const res = await fetch("https://app.postbroad.com/v1/brands/<brandId>/post-templates", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "name": "string",
    "content": {}
  }),
});
const data = await res.json();
Response 201
{
  "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "name": "string",
  "content": {
    "baseText": "string",
    "media": [
      {
        "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
      }
    ],
    "variants": [
      {
        "network": "facebook",
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "text": "string",
        "media": [],
        "options": {},
        "threadParts": [],
        "firstComment": "string",
        "aiLabel": false
      }
    ],
    "channelIds": [
      "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    ],
    "tags": [
      "string"
    ]
  },
  "createdBy": {
    "type": "member",
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "name": "string"
  },
  "createdAt": "2026-10-21T09:00:00Z",
  "updatedAt": "2026-10-21T09:00:00Z",
  "revision": 0
}

#One saved post template

GET/v1/brands/{brandId}/post-templates/{templateId}

Operation getPostTemplate. Any API key of the organization may call it.

Parameters

NameInRequiredTypeDescription
brandIdpathyesstring (uuid)
templateIdpathyesstring (uuid)

Response 200: PostTemplate. The template

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

curl
curl -X GET "https://app.postbroad.com/v1/brands/<brandId>/post-templates/<templateId>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/brands/<brandId>/post-templates/<templateId>", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "name": "string",
  "content": {
    "baseText": "string",
    "media": [
      {
        "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
      }
    ],
    "variants": [
      {
        "network": "facebook",
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "text": "string",
        "media": [],
        "options": {},
        "threadParts": [],
        "firstComment": "string",
        "aiLabel": false
      }
    ],
    "channelIds": [
      "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    ],
    "tags": [
      "string"
    ]
  },
  "createdBy": {
    "type": "member",
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "name": "string"
  },
  "createdAt": "2026-10-21T09:00:00Z",
  "updatedAt": "2026-10-21T09:00:00Z",
  "revision": 0
}

#Rename a post template or replace its content

PATCH/v1/brands/{brandId}/post-templates/{templateId}

Operation updatePostTemplate. Needs a key with the scope post.draft.

Accepts an Idempotency-Key header. Add ?dry_run=true where the operation supports it to get a preview and write nothing.

Parameters

NameInRequiredTypeDescription
brandIdpathyesstring (uuid)
templateIdpathyesstring (uuid)

Request body: UpdatePostTemplateInput

FieldTypeRequiredDescription
expectedRevisionintegeryes
namestringno
contentPostTemplateContentnoWhat a template fills a new draft with: no time, state or history.

Response 200: PostTemplate or UpdatePostTemplateDryRun. Pure operation preview when dry_run=true; no mutation is performed

Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 revision_mismatch, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.

curl
curl -X PATCH "https://app.postbroad.com/v1/brands/<brandId>/post-templates/<templateId>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "expectedRevision": 0,
  "name": "string",
  "content": {}
}'
TypeScript
const res = await fetch("https://app.postbroad.com/v1/brands/<brandId>/post-templates/<templateId>", {
  method: "PATCH",
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "expectedRevision": 0,
    "name": "string",
    "content": {}
  }),
});
const data = await res.json();
Response 200
{
  "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "name": "string",
  "content": {
    "baseText": "string",
    "media": [
      {
        "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
      }
    ],
    "variants": [
      {
        "network": "facebook",
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "text": "string",
        "media": [],
        "options": {},
        "threadParts": [],
        "firstComment": "string",
        "aiLabel": false
      }
    ],
    "channelIds": [
      "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    ],
    "tags": [
      "string"
    ]
  },
  "createdBy": {
    "type": "member",
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "name": "string"
  },
  "createdAt": "2026-10-21T09:00:00Z",
  "updatedAt": "2026-10-21T09:00:00Z",
  "revision": 0
}

#Delete a post template; posts made from it stay as they are

DELETE/v1/brands/{brandId}/post-templates/{templateId}

Operation deletePostTemplate. Needs a key with the scope post.draft.

Accepts an Idempotency-Key header. Add ?dry_run=true where the operation supports it to get a preview and write nothing.

Parameters

NameInRequiredTypeDescription
brandIdpathyesstring (uuid)
templateIdpathyesstring (uuid)

Response 200: DeletePostTemplateResult or DeletePostTemplateDryRun. Pure operation preview when dry_run=true; no mutation is performed

Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 idempotency_key_reused, 429 rate_limited, 500 internal.

curl
curl -X DELETE "https://app.postbroad.com/v1/brands/<brandId>/post-templates/<templateId>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/brands/<brandId>/post-templates/<templateId>", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
    "Idempotency-Key": crypto.randomUUID(),
  },
});
const data = await res.json();
Response 200
{
  "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "deleted": true
}

#Posts by brand, state, tag or time

GET/v1/posts

Operation listPosts. Any API key of the organization may call it.

Parameters

NameInRequiredTypeDescription
cursorquerynostring
limitquerynointeger
brandIdquerynostring (uuid)
statequeryno"draft" or "in_review" or "approved" or "scheduled" or "cancelled"
deliveryStatequeryno"pending" or "scheduled" or "needs_reconnect" or "sending" or "accepted" or "processing" or "published" or "failed" or "unknown" or "cancelled"
tagquerynostring
fromquerynostring (date-time)
toquerynostring (date-time)
qquerynostring
sortqueryno"id" or "updated"Order of the list. id (the default) pages by post id. updated lists the last edited post first and pages by last edit: a post edited while you page moves above the cursor, so later pages leave it out and it is not listed twice. Start again from the first page to see it at its new place.

Response 200: PostPage. A page of posts

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/posts" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "data": [
    {
      "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "state": "draft",
      "versionNo": 0,
      "excerpt": "string",
      "thumbnail": {
        "url": "https://example.invalid/post/1",
        "expiresAt": "2026-10-21T09:00:00Z"
      },
      "scheduledAt": "2026-10-21T09:00:00Z",
      "networks": [
        "facebook"
      ],
      "tags": [
        "string"
      ],
      "rollup": {
        "total": 0,
        "verified": 0,
        "confirmedByPerson": 0,
        "acceptedOnly": 0,
        "failed": 0,
        "unknown": 0,
        "waiting": 0,
        "cancelled": 0,
        "allPublished": false
      },
      "proof": [
        {
          "deliveryId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "network": null,
          "handle": "string",
          "state": null,
          "url": "string",
          "publishedAt": "2026-10-21T09:00:00Z",
          "verifiedAt": "2026-10-21T09:00:00Z",
          "liveSource": "verified",
          "verificationLevel": null,
          "evidenceMethod": null
        }
      ],
      "updatedAt": "2026-10-21T09:00:00Z",
      "revision": 0
    }
  ],
  "nextCursor": "string"
}

#Create a draft (the draft always saves)

POST/v1/posts

Operation createPost. Needs a key with the scope post.create.

Accepts an Idempotency-Key header. Add ?dry_run=true where the operation supports it to get a preview and write nothing.

Request body: CreatePostInput

FieldTypeRequiredDescription
brandIdstring (uuid)yes
baseTextstringno
mediaMediaAttachment[]no
variantsVariantInput[]no
destinationsDestinationInput[]no
scheduledAtstring (date-time) or nullno
tagsstring[]no

Response 201: PostView. The draft

Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.

curl
curl -X POST "https://app.postbroad.com/v1/posts" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "baseText": "",
  "media": [
    {
      "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    }
  ],
  "variants": [
    {
      "network": "facebook"
    }
  ],
  "destinations": [
    {
      "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    }
  ],
  "scheduledAt": "2026-10-21T09:00:00Z",
  "tags": [
    "string"
  ]
}'
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "baseText": "",
    "media": [
      {
        "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
      }
    ],
    "variants": [
      {
        "network": "facebook"
      }
    ],
    "destinations": [
      {
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
      }
    ],
    "scheduledAt": "2026-10-21T09:00:00Z",
    "tags": [
      "string"
    ]
  }),
});
const data = await res.json();
Response 201
{
  "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "state": "draft",
  "scheduledAt": "2026-10-21T09:00:00Z",
  "tags": [
    "string"
  ],
  "version": {
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "versionNo": 0,
    "contentHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
    "baseText": "string",
    "media": [
      {
        "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "altText": "string",
        "thumbnail": {
          "url": "https://example.invalid/post/1",
          "expiresAt": "2026-10-21T09:00:00Z"
        }
      }
    ],
    "variants": [
      {
        "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "network": "facebook",
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "text": "string",
        "forked": false,
        "media": [],
        "options": {},
        "threadParts": [],
        "firstComment": "string",
        "aiLabel": false,
        "finalLinks": []
      }
    ],
    "destinations": [
      {
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "scheduledAt": "2026-10-21T09:00:00Z"
      }
    ],
    "createdAt": "2026-10-21T09:00:00Z",
    "createdBy": {
      "type": "member",
      "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "name": "string"
    }
  },
  "deliveries": [
    {
      "id": "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",
      "account": {
        "handle": "string",
        "displayName": "string"
      },
      "destination": {
        "kind": "feed",
        "name": "string"
      },
      "versionNo": 0,
      "currentVersionNo": 0,
      "state": "pending",
      "scheduledAt": "2026-10-21T09:00:00Z",
      "dispatchAt": "2026-10-21T09:00:00Z",
      "deferral": {
        "reason": "rate_limited",
        "until": "2026-10-21T09:00:00Z"
      },
      "verificationLevel": "full",
      "evidenceMethod": "none",
      "intendedVisibility": "public",
      "observedVisibility": "public",
      "checkedAt": "2026-10-21T09:00:00Z",
      "checkedBy": {
        "type": "member",
        "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "name": "string"
      },
      "resolutionSource": "system",
      "providerPostId": "string",
      "providerUrl": "string",
      "lastError": {
        "code": "string",
        "message": "string",
        "fix": "string"
      },
      "attemptCount": 0,
      "followupsState": "none",
      "retryRequiresPerson": false,
      "duplicateRiskAck": {
        "by": {
          "type": "member",
          "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "name": "string"
        },
        "at": "2026-10-21T09:00:00Z"
      },
      "preflightState": "pending",
      "updatedAt": "2026-10-21T09:00:00Z"
    }
  ],
  "rollup": {
    "total": 0,
    "verified": 0,
    "confirmedByPerson": 0,
    "acceptedOnly": 0,
    "failed": 0,
    "unknown": 0,
    "waiting": 0,
    "cancelled": 0,
    "allPublished": false
  },
  "createdAt": "2026-10-21T09:00:00Z",
  "createdBy": {
    "type": "member",
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "name": "string"
  },
  "authoredBy": {
    "kind": "member",
    "name": "string"
  },
  "updatedAt": "2026-10-21T09:00:00Z",
  "revision": 0,
  "actions": {
    "canRestore": false,
    "canDuplicate": false
  }
}

#Export matching posts and their destinations as a CSV attachment

GET/v1/posts/export.csv

Operation exportPostsCsv. Any API key of the organization may call it.

Parameters

NameInRequiredTypeDescription
modequeryno"schedule" or "history" or "all"
brandIdquerynostring (uuid)
statequeryno"draft" or "in_review" or "approved" or "scheduled" or "cancelled"
deliveryStatequeryno"pending" or "scheduled" or "needs_reconnect" or "sending" or "accepted" or "processing" or "published" or "failed" or "unknown" or "cancelled"
tagquerynostring
fromquerynostring (date-time)
toquerynostring (date-time)
qquerynostring

Response 200. A private CSV export

Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 413 payload_too_large, 422 validation_failed, 429 rate_limited, 500 internal, 503 unavailable.

curl
curl -X GET "https://app.postbroad.com/v1/posts/export.csv" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts/export.csv", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();

#Create up to 50 drafts with a result per item

POST/v1/posts/batch

Operation createPostsBatch. Needs a key with the scope post.create.

Accepts an Idempotency-Key header. Add ?dry_run=true where the operation supports it to get a preview and write nothing.

Request body: BatchCreatePostsInput

FieldTypeRequiredDescription
postsCreatePostInput[]yes

Response 200: BatchCreatePostsResult or CreatePostsBatchDryRun. Pure operation preview when dry_run=true; no mutation is performed

Errors: 400 bad_request, 400 idempotency_key_required, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.

curl
curl -X POST "https://app.postbroad.com/v1/posts/batch" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "posts": [
    {
      "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    }
  ]
}'
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts/batch", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "posts": [
      {
        "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
      }
    ]
  }),
});
const data = await res.json();
Response 200
{
  "results": [
    {
      "index": 0,
      "status": -9007199254740991,
      "post": {
        "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "state": "draft",
        "scheduledAt": "2026-10-21T09:00:00Z",
        "tags": [],
        "version": {
          "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "versionNo": 0,
          "contentHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
          "baseText": "string",
          "media": [],
          "variants": [],
          "destinations": [],
          "createdAt": "2026-10-21T09:00:00Z",
          "createdBy": null
        },
        "deliveries": [],
        "rollup": {
          "total": 0,
          "verified": 0,
          "confirmedByPerson": 0,
          "acceptedOnly": 0,
          "failed": 0,
          "unknown": 0,
          "waiting": 0,
          "cancelled": 0,
          "allPublished": false
        },
        "createdAt": "2026-10-21T09:00:00Z",
        "createdBy": {
          "type": "member",
          "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "name": "string"
        },
        "updatedAt": "2026-10-21T09:00:00Z",
        "revision": 0
      },
      "error": {
        "code": "bad_request",
        "detail": "string",
        "errors": []
      }
    }
  ]
}

#A post with its current version and per-destination status

GET/v1/posts/{postId}

Operation getPost. Any API key of the organization may call it.

Parameters

NameInRequiredTypeDescription
postIdpathyesstring (uuid)

Response 200: PostView. The post

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

curl
curl -X GET "https://app.postbroad.com/v1/posts/<postId>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts/<postId>", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "state": "draft",
  "scheduledAt": "2026-10-21T09:00:00Z",
  "tags": [
    "string"
  ],
  "version": {
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "versionNo": 0,
    "contentHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
    "baseText": "string",
    "media": [
      {
        "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "altText": "string",
        "thumbnail": {
          "url": "https://example.invalid/post/1",
          "expiresAt": "2026-10-21T09:00:00Z"
        }
      }
    ],
    "variants": [
      {
        "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "network": "facebook",
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "text": "string",
        "forked": false,
        "media": [],
        "options": {},
        "threadParts": [],
        "firstComment": "string",
        "aiLabel": false,
        "finalLinks": []
      }
    ],
    "destinations": [
      {
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "scheduledAt": "2026-10-21T09:00:00Z"
      }
    ],
    "createdAt": "2026-10-21T09:00:00Z",
    "createdBy": {
      "type": "member",
      "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "name": "string"
    }
  },
  "deliveries": [
    {
      "id": "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",
      "account": {
        "handle": "string",
        "displayName": "string"
      },
      "destination": {
        "kind": "feed",
        "name": "string"
      },
      "versionNo": 0,
      "currentVersionNo": 0,
      "state": "pending",
      "scheduledAt": "2026-10-21T09:00:00Z",
      "dispatchAt": "2026-10-21T09:00:00Z",
      "deferral": {
        "reason": "rate_limited",
        "until": "2026-10-21T09:00:00Z"
      },
      "verificationLevel": "full",
      "evidenceMethod": "none",
      "intendedVisibility": "public",
      "observedVisibility": "public",
      "checkedAt": "2026-10-21T09:00:00Z",
      "checkedBy": {
        "type": "member",
        "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "name": "string"
      },
      "resolutionSource": "system",
      "providerPostId": "string",
      "providerUrl": "string",
      "lastError": {
        "code": "string",
        "message": "string",
        "fix": "string"
      },
      "attemptCount": 0,
      "followupsState": "none",
      "retryRequiresPerson": false,
      "duplicateRiskAck": {
        "by": {
          "type": "member",
          "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "name": "string"
        },
        "at": "2026-10-21T09:00:00Z"
      },
      "preflightState": "pending",
      "updatedAt": "2026-10-21T09:00:00Z"
    }
  ],
  "rollup": {
    "total": 0,
    "verified": 0,
    "confirmedByPerson": 0,
    "acceptedOnly": 0,
    "failed": 0,
    "unknown": 0,
    "waiting": 0,
    "cancelled": 0,
    "allPublished": false
  },
  "createdAt": "2026-10-21T09:00:00Z",
  "createdBy": {
    "type": "member",
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "name": "string"
  },
  "authoredBy": {
    "kind": "member",
    "name": "string"
  },
  "updatedAt": "2026-10-21T09:00:00Z",
  "revision": 0,
  "actions": {
    "canRestore": false,
    "canDuplicate": false
  }
}

#Edit a post; a scheduled post gets a new version

PATCH/v1/posts/{postId}

Operation updatePost. Needs a key with the scope post.edit.

Channels whose old version already started keep it and are listed in alreadyDispatching or alreadyLive; a channel never gets both versions.

Accepts an Idempotency-Key header. Add ?dry_run=true where the operation supports it to get a preview and write nothing.

Parameters

NameInRequiredTypeDescription
postIdpathyesstring (uuid)

Request body: UpdatePostInput

FieldTypeRequiredDescription
expectedRevisionintegeryes
autosavebooleanno
baseTextstringno
mediaMediaAttachment[]no
variantsVariantInput[]no
destinationsDestinationInput[]no
scheduledAtstring (date-time) or nullno
tagsstring[]no

Response 200: PostWriteResult or UpdatePostDryRun. Pure operation preview when dry_run=true; no mutation is performed

Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 403 limit_reached, 404 not_found, 409 request_in_progress, 409 revision_mismatch, 422 validation_failed, 422 idempotency_key_reused, 422 rule_violation, 429 rate_limited, 500 internal.

curl
curl -X PATCH "https://app.postbroad.com/v1/posts/<postId>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "expectedRevision": 0,
  "autosave": false,
  "baseText": "string",
  "media": [
    {
      "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    }
  ],
  "variants": [
    {
      "network": "facebook"
    }
  ],
  "destinations": [
    {
      "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    }
  ],
  "scheduledAt": "2026-10-21T09:00:00Z",
  "tags": [
    "string"
  ]
}'
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts/<postId>", {
  method: "PATCH",
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "expectedRevision": 0,
    "autosave": false,
    "baseText": "string",
    "media": [
      {
        "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
      }
    ],
    "variants": [
      {
        "network": "facebook"
      }
    ],
    "destinations": [
      {
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
      }
    ],
    "scheduledAt": "2026-10-21T09:00:00Z",
    "tags": [
      "string"
    ]
  }),
});
const data = await res.json();
Response 200
{
  "post": {
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "state": "draft",
    "scheduledAt": "2026-10-21T09:00:00Z",
    "tags": [
      "string"
    ],
    "version": {
      "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "versionNo": 0,
      "contentHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
      "baseText": "string",
      "media": [
        {
          "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "altText": "string",
          "thumbnail": null
        }
      ],
      "variants": [
        {
          "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "network": null,
          "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "text": "string",
          "forked": false,
          "media": [],
          "options": {},
          "threadParts": [],
          "firstComment": "string",
          "aiLabel": false,
          "finalLinks": []
        }
      ],
      "destinations": [
        {
          "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "scheduledAt": "2026-10-21T09:00:00Z"
        }
      ],
      "createdAt": "2026-10-21T09:00:00Z",
      "createdBy": {
        "type": "member",
        "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "name": "string"
      }
    },
    "deliveries": [
      {
        "id": "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",
        "account": {
          "handle": "string",
          "displayName": "string"
        },
        "destination": {
          "kind": null,
          "name": "string"
        },
        "versionNo": 0,
        "currentVersionNo": 0,
        "state": "pending",
        "scheduledAt": "2026-10-21T09:00:00Z",
        "dispatchAt": "2026-10-21T09:00:00Z",
        "deferral": {
          "reason": null,
          "until": "2026-10-21T09:00:00Z"
        },
        "verificationLevel": "full",
        "evidenceMethod": "none",
        "intendedVisibility": "public",
        "observedVisibility": "public",
        "checkedAt": "2026-10-21T09:00:00Z",
        "checkedBy": {
          "type": "member",
          "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "name": "string"
        },
        "resolutionSource": "system",
        "providerPostId": "string",
        "providerUrl": "string",
        "lastError": {
          "code": "string",
          "message": "string",
          "fix": "string"
        },
        "attemptCount": 0,
        "followupsState": "none",
        "retryRequiresPerson": false,
        "duplicateRiskAck": {
          "by": null,
          "at": "2026-10-21T09:00:00Z"
        },
        "preflightState": "pending",
        "updatedAt": "2026-10-21T09:00:00Z"
      }
    ],
    "rollup": {
      "total": 0,
      "verified": 0,
      "confirmedByPerson": 0,
      "acceptedOnly": 0,
      "failed": 0,
      "unknown": 0,
      "waiting": 0,
      "cancelled": 0,
      "allPublished": false
    },
    "createdAt": "2026-10-21T09:00:00Z",
    "createdBy": {
      "type": "member",
      "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "name": "string"
    },
    "updatedAt": "2026-10-21T09:00:00Z",
    "revision": 0
  },
  "alreadyDispatching": [
    {
      "deliveryId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "state": "sending",
      "claimedAt": "2026-10-21T09:00:00Z",
      "versionNo": 0
    }
  ],
  "alreadyLive": [
    {
      "deliveryId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "state": "sending",
      "claimedAt": "2026-10-21T09:00:00Z",
      "versionNo": 0
    }
  ]
}

#Delete a post that has not gone out; unsent destinations are cancelled first

DELETE/v1/posts/{postId}

Operation deletePost. Needs a key with the scope post.delete.

409 conflict (reason gone_out) when any send of the post, on any version, was tried, is on its way or went live: remove those from their networks instead. Deleting a scheduled, approved or in-review post also needs post.schedule on its brand.

Accepts an Idempotency-Key header. Add ?dry_run=true where the operation supports it to get a preview and write nothing.

Parameters

NameInRequiredTypeDescription
postIdpathyesstring (uuid)

Response 202: DeletePostResult. Deleted or draining

Errors: 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 DELETE "https://app.postbroad.com/v1/posts/<postId>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts/<postId>", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
    "Idempotency-Key": crypto.randomUUID(),
  },
});
const data = await res.json();
Response 202
{
  "postId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "status": "deleted",
  "alreadyDispatching": [
    {
      "deliveryId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "state": "sending",
      "claimedAt": "2026-10-21T09:00:00Z",
      "versionNo": 0
    }
  ]
}

#Copy a post to a new draft with the same destinations and no history

POST/v1/posts/{postId}/duplicate

Operation duplicatePost. Needs a key with the scope post.create.

Accepts an Idempotency-Key header. Add ?dry_run=true where the operation supports it to get a preview and write nothing.

Parameters

NameInRequiredTypeDescription
postIdpathyesstring (uuid)

Request body: DuplicatePostInput

FieldTypeRequiredDescription
expectedRevisionintegerno

Response 201: PostView. The new draft

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 POST "https://app.postbroad.com/v1/posts/<postId>/duplicate" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "expectedRevision": 0
}'
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts/<postId>/duplicate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "expectedRevision": 0
  }),
});
const data = await res.json();
Response 201
{
  "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "state": "draft",
  "scheduledAt": "2026-10-21T09:00:00Z",
  "tags": [
    "string"
  ],
  "version": {
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "versionNo": 0,
    "contentHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
    "baseText": "string",
    "media": [
      {
        "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "altText": "string",
        "thumbnail": {
          "url": "https://example.invalid/post/1",
          "expiresAt": "2026-10-21T09:00:00Z"
        }
      }
    ],
    "variants": [
      {
        "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "network": "facebook",
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "text": "string",
        "forked": false,
        "media": [],
        "options": {},
        "threadParts": [],
        "firstComment": "string",
        "aiLabel": false,
        "finalLinks": []
      }
    ],
    "destinations": [
      {
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "scheduledAt": "2026-10-21T09:00:00Z"
      }
    ],
    "createdAt": "2026-10-21T09:00:00Z",
    "createdBy": {
      "type": "member",
      "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "name": "string"
    }
  },
  "deliveries": [
    {
      "id": "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",
      "account": {
        "handle": "string",
        "displayName": "string"
      },
      "destination": {
        "kind": "feed",
        "name": "string"
      },
      "versionNo": 0,
      "currentVersionNo": 0,
      "state": "pending",
      "scheduledAt": "2026-10-21T09:00:00Z",
      "dispatchAt": "2026-10-21T09:00:00Z",
      "deferral": {
        "reason": "rate_limited",
        "until": "2026-10-21T09:00:00Z"
      },
      "verificationLevel": "full",
      "evidenceMethod": "none",
      "intendedVisibility": "public",
      "observedVisibility": "public",
      "checkedAt": "2026-10-21T09:00:00Z",
      "checkedBy": {
        "type": "member",
        "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "name": "string"
      },
      "resolutionSource": "system",
      "providerPostId": "string",
      "providerUrl": "string",
      "lastError": {
        "code": "string",
        "message": "string",
        "fix": "string"
      },
      "attemptCount": 0,
      "followupsState": "none",
      "retryRequiresPerson": false,
      "duplicateRiskAck": {
        "by": {
          "type": "member",
          "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "name": "string"
        },
        "at": "2026-10-21T09:00:00Z"
      },
      "preflightState": "pending",
      "updatedAt": "2026-10-21T09:00:00Z"
    }
  ],
  "rollup": {
    "total": 0,
    "verified": 0,
    "confirmedByPerson": 0,
    "acceptedOnly": 0,
    "failed": 0,
    "unknown": 0,
    "waiting": 0,
    "cancelled": 0,
    "allPublished": false
  },
  "createdAt": "2026-10-21T09:00:00Z",
  "createdBy": {
    "type": "member",
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "name": "string"
  },
  "authoredBy": {
    "kind": "member",
    "name": "string"
  },
  "updatedAt": "2026-10-21T09:00:00Z",
  "revision": 0,
  "actions": {
    "canRestore": false,
    "canDuplicate": false
  }
}

#Versions of a post, newest first

GET/v1/posts/{postId}/versions

Operation listPostVersions. Any API key of the organization may call it.

Parameters

NameInRequiredTypeDescription
postIdpathyesstring (uuid)
cursorquerynostring
limitquerynointeger

Response 200: PostVersionPage. A page of versions

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/posts/<postId>/versions" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts/<postId>/versions", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "data": [
    {
      "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "versionNo": 0,
      "contentHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
      "excerpt": "string",
      "createdAt": "2026-10-21T09:00:00Z",
      "createdBy": {
        "type": "member",
        "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "name": "string"
      }
    }
  ],
  "nextCursor": "string"
}

#One version of a post

GET/v1/posts/{postId}/versions/{versionNo}

Operation getPostVersion. Any API key of the organization may call it.

Parameters

NameInRequiredTypeDescription
postIdpathyesstring (uuid)
versionNopathyesinteger

Response 200: PostVersionView. The version

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

curl
curl -X GET "https://app.postbroad.com/v1/posts/<postId>/versions/<versionNo>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts/<postId>/versions/<versionNo>", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
  "versionNo": 0,
  "contentHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
  "baseText": "string",
  "media": [
    {
      "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "altText": "string",
      "thumbnail": {
        "url": "https://example.invalid/post/1",
        "expiresAt": "2026-10-21T09:00:00Z"
      }
    }
  ],
  "variants": [
    {
      "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "network": "facebook",
      "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "text": "string",
      "forked": false,
      "media": [
        {
          "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "altText": "string",
          "thumbnail": null
        }
      ],
      "options": {},
      "threadParts": [
        "string"
      ],
      "firstComment": "string",
      "aiLabel": false,
      "finalLinks": [
        "string"
      ]
    }
  ],
  "destinations": [
    {
      "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "scheduledAt": "2026-10-21T09:00:00Z"
    }
  ],
  "authoring": {
    "baseText": "string",
    "media": [
      {
        "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
      }
    ],
    "variants": [
      {
        "network": "facebook",
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "text": "string",
        "media": [],
        "options": {},
        "threadParts": [],
        "firstComment": "string",
        "aiLabel": false
      }
    ],
    "destinations": [
      {
        "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "scheduledAt": "2026-10-21T09:00:00Z"
      }
    ]
  },
  "createdAt": "2026-10-21T09:00:00Z",
  "createdBy": {
    "type": "member",
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "name": "string"
  },
  "authoredBy": {
    "kind": "member",
    "name": "string"
  }
}

#Differences between two versions

GET/v1/posts/{postId}/diff

Operation diffPostVersions. Any API key of the organization may call it.

Parameters

NameInRequiredTypeDescription
postIdpathyesstring (uuid)
fromqueryyesinteger
toqueryyesinteger

Response 200: VersionDiff. The diff

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/posts/<postId>/diff?from=<from>&to=<to>" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts/<postId>/diff?from=<from>&to=<to>", {
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
  },
});
const data = await res.json();
Response 200
{
  "from": 0,
  "to": 0,
  "baseText": [
    {
      "op": "equal",
      "text": "string"
    }
  ],
  "media": {
    "added": [
      "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    ],
    "removed": [
      "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    ]
  },
  "variants": [
    {
      "network": "facebook",
      "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "change": "added",
      "text": [
        {
          "op": "equal",
          "text": "string"
        }
      ],
      "optionsChanged": [
        "string"
      ]
    }
  ],
  "destinations": {
    "added": [
      "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    ],
    "removed": [
      "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
    ]
  }
}

#Restore an old version as a new version

POST/v1/posts/{postId}/versions/{versionNo}/restore

Operation restorePostVersion. Needs a key with the scope post.edit.

Accepts an Idempotency-Key header. Add ?dry_run=true where the operation supports it to get a preview and write nothing.

Parameters

NameInRequiredTypeDescription
postIdpathyesstring (uuid)
versionNopathyesinteger

Request body: ExpectedRevisionInput

FieldTypeRequiredDescription
expectedRevisionintegeryes

Response 200: PostWriteResult or RestorePostVersionDryRun. Pure operation preview when dry_run=true; no mutation is performed

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 POST "https://app.postbroad.com/v1/posts/<postId>/versions/<versionNo>/restore" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "expectedRevision": 0
}'
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts/<postId>/versions/<versionNo>/restore", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "expectedRevision": 0
  }),
});
const data = await res.json();
Response 200
{
  "post": {
    "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
    "state": "draft",
    "scheduledAt": "2026-10-21T09:00:00Z",
    "tags": [
      "string"
    ],
    "version": {
      "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "versionNo": 0,
      "contentHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
      "baseText": "string",
      "media": [
        {
          "assetId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "altText": "string",
          "thumbnail": null
        }
      ],
      "variants": [
        {
          "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "network": null,
          "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "text": "string",
          "forked": false,
          "media": [],
          "options": {},
          "threadParts": [],
          "firstComment": "string",
          "aiLabel": false,
          "finalLinks": []
        }
      ],
      "destinations": [
        {
          "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "scheduledAt": "2026-10-21T09:00:00Z"
        }
      ],
      "createdAt": "2026-10-21T09:00:00Z",
      "createdBy": {
        "type": "member",
        "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
        "name": "string"
      }
    },
    "deliveries": [
      {
        "id": "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",
        "account": {
          "handle": "string",
          "displayName": "string"
        },
        "destination": {
          "kind": null,
          "name": "string"
        },
        "versionNo": 0,
        "currentVersionNo": 0,
        "state": "pending",
        "scheduledAt": "2026-10-21T09:00:00Z",
        "dispatchAt": "2026-10-21T09:00:00Z",
        "deferral": {
          "reason": null,
          "until": "2026-10-21T09:00:00Z"
        },
        "verificationLevel": "full",
        "evidenceMethod": "none",
        "intendedVisibility": "public",
        "observedVisibility": "public",
        "checkedAt": "2026-10-21T09:00:00Z",
        "checkedBy": {
          "type": "member",
          "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
          "name": "string"
        },
        "resolutionSource": "system",
        "providerPostId": "string",
        "providerUrl": "string",
        "lastError": {
          "code": "string",
          "message": "string",
          "fix": "string"
        },
        "attemptCount": 0,
        "followupsState": "none",
        "retryRequiresPerson": false,
        "duplicateRiskAck": {
          "by": null,
          "at": "2026-10-21T09:00:00Z"
        },
        "preflightState": "pending",
        "updatedAt": "2026-10-21T09:00:00Z"
      }
    ],
    "rollup": {
      "total": 0,
      "verified": 0,
      "confirmedByPerson": 0,
      "acceptedOnly": 0,
      "failed": 0,
      "unknown": 0,
      "waiting": 0,
      "cancelled": 0,
      "allPublished": false
    },
    "createdAt": "2026-10-21T09:00:00Z",
    "createdBy": {
      "type": "member",
      "id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "name": "string"
    },
    "updatedAt": "2026-10-21T09:00:00Z",
    "revision": 0
  },
  "alreadyDispatching": [
    {
      "deliveryId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "state": "sending",
      "claimedAt": "2026-10-21T09:00:00Z",
      "versionNo": 0
    }
  ],
  "alreadyLive": [
    {
      "deliveryId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
      "state": "sending",
      "claimedAt": "2026-10-21T09:00:00Z",
      "versionNo": 0
    }
  ]
}

Schemas

Every type the operations above use

#Actor

FieldTypeRequiredDescription
type"member" or "agent" or "token" or "mcp_client" or "guest" or "system" or "profile_server_key" or "connect_token"yes
idstring (uuid) or nullyes
namestring or nullyes

#AuthoredBy

FieldTypeRequiredDescription
kind"member" or "agent" or "api"yes
namestring or nullyes

#BatchCreatePostsInput

FieldTypeRequiredDescription
postsCreatePostInput[]yes

#BatchCreatePostsResult

FieldTypeRequiredDescription
resultsobject[]yes

#CostEstimate

FieldTypeRequiredDescription
unitstringyes
amountMicrosintegeryes
currency"USD"yes
billedBy"postbroad" or "third_party"yes

#CreatePostDryRun

FieldTypeRequiredDescription
resourcesobject[]yes
effectsobject[]yes
contentobject[]yes
detailsobject[]yes
preflightPreflightResultyes
pendingChecksstring[]yes
costobjectyes
operationId"createPost"yes

#CreatePostInput

A new draft. The Idempotency-Key becomes the post's permanent client request key.

FieldTypeRequiredDescription
brandIdstring (uuid)yes
baseTextstringno
mediaMediaAttachment[]no
variantsVariantInput[]no
destinationsDestinationInput[]no
scheduledAtstring (date-time) or nullno
tagsstring[]no

#CreatePostTemplateDryRun

FieldTypeRequiredDescription
resourcesobject[]yes
effectsobject[]yes
contentobject[]yes
detailsobject[]yes
preflightPreflightResultyes
pendingChecksstring[]yes
costobjectyes
operationId"createPostTemplate"yes

#CreatePostTemplateInput

FieldTypeRequiredDescription
namestringyes
contentPostTemplateContentyesWhat a template fills a new draft with: no time, state or history.

#CreatePostsBatchDryRun

FieldTypeRequiredDescription
resourcesobject[]yes
effectsobject[]yes
contentobject[]yes
detailsobject[]yes
preflightPreflightResultyes
pendingChecksstring[]yes
costobjectyes
operationId"createPostsBatch"yes

#DeferReason

Type: "rate_limited" or "network_wait" or "hold" or "budget" or "missed_slot" or "late_result" or "restore_quarantine" or "manual" or "policy_block" or "browser_wait"

#DeletePostDryRun

FieldTypeRequiredDescription
resourcesobject[]yes
effectsobject[]yes
contentobject[]yes
detailsobject[]yes
preflightPreflightResultyes
pendingChecksstring[]yes
costobjectyes
operationId"deletePost"yes

#DeletePostResult

FieldTypeRequiredDescription
postIdstring (uuid)yes
status"deleted" or "draining"yes
alreadyDispatchingDispatchingRef[]yes

#DeletePostTemplateDryRun

FieldTypeRequiredDescription
resourcesobject[]yes
effectsobject[]yes
contentobject[]yes
detailsobject[]yes
preflightPreflightResultyes
pendingChecksstring[]yes
costobjectyes
operationId"deletePostTemplate"yes

#DeletePostTemplateResult

FieldTypeRequiredDescription
idstring (uuid)yes
deletedtrueyes

#DeliveryState

Type: "pending" or "scheduled" or "needs_reconnect" or "sending" or "accepted" or "processing" or "published" or "failed" or "unknown" or "cancelled"

#DeliveryStatus

FieldTypeRequiredDescription
idstring (uuid)yes
postIdstring (uuid)yes
brandIdstring (uuid)yes
channelIdstring (uuid)yes
networkNetworkyes
accountobjectyes
destinationobjectyes
versionNointegeryes
currentVersionNointegeryes
stateDeliveryStateyes
scheduledAtstring (date-time) or nullyes
dispatchAtstring (date-time) or nullyes
deferralobject or nullyes
verificationLevelVerificationLevelyes
evidenceMethodEvidenceMethodyes
intendedVisibility"public" or "followers" or "private" or "draft" or "inbox" or "scheduled_native"yes
observedVisibility"public" or "followers" or "private" or "draft" or "inbox" or "scheduled_native" or "unknown" or nullyes
checkedAtstring (date-time) or nullyes
checkedByActor or nullyes
publishedAtstring (date-time) or nullno
verifiedAtstring (date-time) or nullno
liveSource"verified" or "person" or "url_only" or nullno
liveConfirmedByActor or nullno
resolutionSource"system" or "status_check" or "person"yes
providerPostIdstring or nullyes
providerUrlstring or nullyes
browserJobIdstring (uuid) or nullno
lastErrorobject or nullyes
attemptCountintegeryes
followupsState"none" or "pending" or "complete" or "incomplete"yes
stepsobject[]no
retryRequiresPersonbooleanyes
duplicateRiskAckobject or nullyes
preflightState"pending" or "ok" or "blocked"yes
updatedAtstring (date-time)yes
attachmentResolutionobject or nullno
remoteDeleteSupportedbooleanno
remoteRemovalRemoteRemoval or nullno

#DestinationInput

FieldTypeRequiredDescription
channelIdstring (uuid)yes
scheduledAtstring (date-time) or nullno

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

#DestinationProof

FieldTypeRequiredDescription
deliveryIdstring (uuid)yes
channelIdstring (uuid)yes
networkNetworkyes
handlestring or nullyes
stateDeliveryStateyes
urlstring or nullyes
publishedAtstring (date-time) or nullyes
verifiedAtstring (date-time) or nullyes
liveSource"verified" or "person" or "url_only" or nullyes
verificationLevelVerificationLevelyes
evidenceMethodEvidenceMethodyes

#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

#DuplicatePostDryRun

FieldTypeRequiredDescription
resourcesobject[]yes
effectsobject[]yes
contentobject[]yes
detailsobject[]yes
preflightPreflightResultyes
pendingChecksstring[]yes
costobjectyes
operationId"duplicatePost"yes

#DuplicatePostInput

FieldTypeRequiredDescription
expectedRevisionintegerno

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

#ExpectedRevisionInput

FieldTypeRequiredDescription
expectedRevisionintegeryes

#LinkDraftInput

FieldTypeRequiredDescription
urlstringyes

#LinkDrafts

FieldTypeRequiredDescription
urlstringyes
titlestringyes
descriptionstringyes
imageUrlstring or nullyes
draftsobject[]yes

#MediaAttachment

FieldTypeRequiredDescription
assetIdstring (uuid)yes
altTextstring or nullno

#MentionCandidate

FieldTypeRequiredDescription
kind"user" or "role" or "organization"yes
idstringyes
labelstringyes
detailstring or nullyes
insertstringyes
avatarUrlstring or nullyes

#MentionSearchResult

FieldTypeRequiredDescription
channelIdstring (uuid)yes
networkNetworkyes
supportedbooleanyes
candidatesMentionCandidate[]yes
notestring or nullyes

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

#PostAuthoring

FieldTypeRequiredDescription
baseTextstringyes
mediaPostAuthoringMedia[]yes
variantsPostAuthoringVariant[]yes
destinationsPostAuthoringDestination[]yes

#PostAuthoringDestination

FieldTypeRequiredDescription
channelIdstring (uuid)yes
scheduledAtstring (date-time) or nullyes

#PostAuthoringMedia

FieldTypeRequiredDescription
assetIdstring (uuid)yes
altTextstring or nullno

#PostAuthoringVariant

FieldTypeRequiredDescription
networkNetworkyes
channelIdstring (uuid) or nullyes
textstring or nullyes
mediaPostAuthoringMedia[] or nullyes
optionsmap of anyyes
threadPartsstring[]yes
firstCommentstring or nullyes
aiLabelboolean or nullyes

#PostExportCsv

Type: string

FieldTypeRequiredDescription
linksobject[]yes

#PostPage

FieldTypeRequiredDescription
dataPostSummary[]yes
nextCursorstring or nullyes

#PostRollup

FieldTypeRequiredDescription
totalintegeryes
verifiedintegeryes
confirmedByPersonintegeryes
acceptedOnlyintegeryes
failedintegeryes
unknownintegeryes
waitingintegeryes
cancelledintegeryes
allPublishedbooleanyes

#PostState

Type: "draft" or "in_review" or "approved" or "scheduled" or "cancelled"

#PostSummary

FieldTypeRequiredDescription
idstring (uuid)yes
brandIdstring (uuid)yes
statePostStateyes
versionNointegeryes
excerptstringyes
thumbnailSignedUrl or nullyes
scheduledAtstring (date-time) or nullyes
networksNetwork[]yes
tagsstring[]yes
rollupPostRollupyes
proofDestinationProof[]yes
authoredByAuthoredByno
updatedAtstring (date-time)yes
revisionintegeryes

#PostTemplate

FieldTypeRequiredDescription
idstring (uuid)yes
brandIdstring (uuid)yes
namestringyes
contentPostTemplateContentViewyes
createdByActoryes
createdAtstring (date-time)yes
updatedAtstring (date-time)yes
revisionintegeryes

#PostTemplateContent

What a template fills a new draft with: no time, state or history.

FieldTypeRequiredDescription
baseTextstringno
mediaMediaAttachment[]no
variantsVariantInput[]no
channelIdsstring (uuid)[]no
tagsstring[]no

#PostTemplateContentView

FieldTypeRequiredDescription
baseTextstringyes
mediaPostAuthoringMedia[]yes
variantsPostAuthoringVariant[]yes
channelIdsstring (uuid)[]yes
tagsstring[]yes

#PostTemplateList

FieldTypeRequiredDescription
dataPostTemplate[]yes

#PostVersionPage

FieldTypeRequiredDescription
dataPostVersionSummary[]yes
nextCursorstring or nullyes

#PostVersionSummary

FieldTypeRequiredDescription
idstring (uuid)yes
versionNointegeryes
contentHashstringyes
excerptstringyes
createdAtstring (date-time)yes
createdByActoryes
authoredByAuthoredByno

#PostVersionView

FieldTypeRequiredDescription
idstring (uuid)yes
versionNointegeryes
contentHashstringyes
baseTextstringyes
mediaobject[]yes
variantsVariantView[]yes
destinationsobject[]yes
authoringPostAuthoringno
createdAtstring (date-time)yes
createdByActoryes
authoredByAuthoredByno

#PostView

FieldTypeRequiredDescription
idstring (uuid)yes
brandIdstring (uuid)yes
statePostStateyes
scheduledAtstring (date-time) or nullyes
tagsstring[]yes
versionPostVersionViewyes
deliveriesDeliveryStatus[]yes
rollupPostRollupyes
createdAtstring (date-time)yes
createdByActoryes
authoredByAuthoredByno
updatedAtstring (date-time)yes
revisionintegeryes
actionsobjectno

#PostWriteResult

FieldTypeRequiredDescription
postPostViewyes
alreadyDispatchingDispatchingRef[]yes
alreadyLiveDispatchingRef[]yes

#PreflightResult

Type: object

#PreviewDestination

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

#PreviewPayload

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

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

#PreviewResult

FieldTypeRequiredDescription
receiptstringyes
expiresAtstring (date-time)yes
postIdstring (uuid)yes
versionNointegeryes
contentHashstringyes
mode"schedule" or "publish_now"yes
blockedbooleanyes
requiresReviewbooleanyes
destinationsPreviewDestination[]yes
totalCostCostEstimate[]yes

#Problem

The one error body of every route (RFC 9457 problem details with a stable code). Another organization's resource, a Postbroad-Org the member does not belong to and a resource outside a token's brand allowlist all answer 404 not_found, never 403.

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

#ProblemItem

FieldTypeRequiredDescription
pathstringyes
rulestringyes
messagestringyes
channelIdstring (uuid) or nullno

#RemoteRemoval

FieldTypeRequiredDescription
idstring (uuid)yes
state"queued" or "running" or "removed" or "failed" or "unknown"yes
requestedAtstring (date-time)yes
requestedByActoryes
finishedAtstring (date-time) or nullyes
errorobject or nullyes

#RestorePostVersionDryRun

FieldTypeRequiredDescription
resourcesobject[]yes
effectsobject[]yes
contentobject[]yes
detailsobject[]yes
preflightPreflightResultyes
pendingChecksstring[]yes
costobjectyes
operationId"restorePostVersion"yes

#SignedUrl

A signed media URL. Bearer access until it expires. In an answer that carries an ETag the URL is minted per fixed window: the expiry is rounded up to the next full hour plus one hour, and the signature is the same within that window, so the ETag changes only when the content does and polling with If-None-Match still gets 304.

FieldTypeRequiredDescription
urlstring (uri)yes
expiresAtstring (date-time)yes

#TextDiff

Type: object[]

#UpdatePostDryRun

FieldTypeRequiredDescription
resourcesobject[]yes
effectsobject[]yes
contentobject[]yes
detailsobject[]yes
preflightPreflightResultyes
pendingChecksstring[]yes
costobjectyes
operationId"updatePost"yes

#UpdatePostInput

FieldTypeRequiredDescription
expectedRevisionintegeryes
autosavebooleanno
baseTextstringno
mediaMediaAttachment[]no
variantsVariantInput[]no
destinationsDestinationInput[]no
scheduledAtstring (date-time) or nullno
tagsstring[]no

#UpdatePostTemplateDryRun

FieldTypeRequiredDescription
resourcesobject[]yes
effectsobject[]yes
contentobject[]yes
detailsobject[]yes
preflightPreflightResultyes
pendingChecksstring[]yes
costobjectyes
operationId"updatePostTemplate"yes

#UpdatePostTemplateInput

FieldTypeRequiredDescription
expectedRevisionintegeryes
namestringno
contentPostTemplateContentnoWhat a template fills a new draft with: no time, state or history.

#VariantInput

FieldTypeRequiredDescription
networkNetworkyes
channelIdstring (uuid) or nullno
textstring or nullno
mediaMediaAttachment[] or nullno
optionsmap of anyno
threadPartsstring[]no
firstCommentstring or nullno
aiLabelboolean or nullno

#VariantView

FieldTypeRequiredDescription
idstring (uuid)yes
networkNetworkyes
channelIdstring (uuid) or nullyes
textstringyes
forkedbooleanyes
mediaobject[]yes
optionsmap of anyyes
threadPartsstring[]yes
firstCommentstring or nullyes
aiLabelbooleanyes
finalLinksstring[]yes

#VerificationLevel

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

#VersionDiff

FieldTypeRequiredDescription
fromintegeryes
tointegeryes
baseTextTextDiffyes
mediaobjectyes
variantsobject[]yes
destinationsobjectyes

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