Deliveries
Where each post went and what each network answered: delivery states, evidence, attempts, retries and unknown outcomes.
17 operations, every one needs an API key. Read the concepts first.
Read the delivery states and what live means first.
Every call goes to https://app.postbroad.com; see Authentication and the error catalogue.
| Endpoint | What it does | Scope |
|---|---|---|
GET /v1/deliveries | Deliveries by post, brand, channel or state | any key |
GET /v1/deliveries/{deliveryId} | One delivery with its state and evidence | any key |
GET /v1/deliveries/{deliveryId}/historical-unknown | Minimal evidence for an older unresolved delivery | any key |
POST /v1/deliveries/{deliveryId}/historical-unknown | Resolve an older unknown outcome without reopening the post | post.publish |
GET /v1/deliveries/{deliveryId}/attempts | Every write request made for a delivery; nothing is removed on retry | any key |
POST /v1/deliveries/{deliveryId}/retry | Retry a failed delivery with the same frozen payload | post.publish |
POST /v1/deliveries/{deliveryId}/steps/{operationId}/retry | Retry a definitively failed reply or first comment without resending the post | post.publish |
POST /v1/posts/{postId}/retry-failed | Retry only the failed destinations of a post | post.publish |
POST /v1/deliveries/{deliveryId}/resolve | Resolve an unknown outcome: search the network first, or a person decides | post.publish |
POST /v1/deliveries/{deliveryId}/confirm | Mark a delivery live with its URL, confirmed by a person (human_confirmed) | post.publish |
POST /v1/deliveries/{deliveryId}/cancel | Cancel one destination of a post | post.schedule |
DELETE /v1/posts/{postId}/deliveries/{deliveryId}/remote | Delete a sent post from its network; this cannot be undone | post.delete_remote |
POST /v1/extension/heartbeat | The browser extension checks in | extension.post |
GET /v1/extension/jobs | Posts waiting for this browser | extension.post |
POST /v1/extension/jobs/{jobId}/claim | Take one waiting post for this browser | extension.post |
POST /v1/extension/jobs/{jobId}/lease | Keep a leased post for longer | extension.post |
POST /v1/extension/jobs/{jobId}/report | Say what happened to a leased post | extension.post |
#Operations
#Deliveries by post, brand, channel or state
GET/v1/deliveries
Operation listDeliveries. Any API key of the organization may call it.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
cursor | query | no | string | |
limit | query | no | integer | |
postId | query | no | string (uuid) | |
brandId | query | no | string (uuid) | |
channelId | query | no | string (uuid) | |
state | query | no | "pending" or "scheduled" or "needs_reconnect" or "sending" or "accepted" or "processing" or "published" or "failed" or "unknown" or "cancelled" |
Response 200: DeliveryPage. A page of deliveries
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 422 validation_failed, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/deliveries" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/deliveries", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"data": [
{
"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"
}
],
"nextCursor": "string"
}#One delivery with its state and evidence
GET/v1/deliveries/{deliveryId}
Operation getDelivery. Any API key of the organization may call it.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
deliveryId | path | yes | string (uuid) |
Response 200: DeliveryStatus. The delivery
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/deliveries/<deliveryId>" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/deliveries/<deliveryId>", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"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"
},
"publishedAt": "2026-10-21T09:00:00Z",
"verifiedAt": "2026-10-21T09:00:00Z",
"liveSource": "verified",
"liveConfirmedBy": {
"type": "member",
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"name": "string"
},
"resolutionSource": "system",
"providerPostId": "string",
"providerUrl": "string",
"browserJobId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"lastError": {
"code": "string",
"message": "string",
"fix": "string"
},
"attemptCount": 0,
"followupsState": "none",
"steps": [
{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"kind": "post",
"partNo": 0,
"parentOperationId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"state": "planned",
"retryable": false
}
],
"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",
"attachmentResolution": {
"operationId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"operationClaimGeneration": "string",
"attemptId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"postVersionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"nomination": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"providerAttachmentId": "string",
"status": "pending"
}
},
"remoteDeleteSupported": false,
"remoteRemoval": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"state": "queued",
"requestedAt": "2026-10-21T09:00:00Z",
"requestedBy": {
"type": "member",
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"name": "string"
},
"finishedAt": "2026-10-21T09:00:00Z",
"error": {
"code": "string",
"message": "string"
}
}
}#Minimal evidence for an older unresolved delivery
GET/v1/deliveries/{deliveryId}/historical-unknown
Operation getHistoricalUnknown. Any API key of the organization may call it.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
deliveryId | path | yes | string (uuid) |
Response 200: HistoricalUnknown. An unresolved historical delivery
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/deliveries/<deliveryId>/historical-unknown" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/deliveries/<deliveryId>/historical-unknown", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"channelId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook",
"canResolve": false
}#Resolve an older unknown outcome without reopening the post
POST/v1/deliveries/{deliveryId}/historical-unknown
Operation resolveHistoricalUnknown. Needs a key with the scope post.publish.
Requires an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
deliveryId | path | yes | string (uuid) |
Request body: HistoricalUnknownResolutionInput
Response 202: HistoricalUnknownResolutionResult. The resolution
Errors: 400 bad_request, 400 idempotency_key_required, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/deliveries/<deliveryId>/historical-unknown" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"action": "search"
}'const res = await fetch("https://app.postbroad.com/v1/deliveries/<deliveryId>/historical-unknown", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"action": "search"
}),
});
const data = await res.json();{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"state": "unknown",
"searchQueuedAt": "2026-10-21T09:00:00Z"
}#Every write request made for a delivery; nothing is removed on retry
GET/v1/deliveries/{deliveryId}/attempts
Operation listDeliveryAttempts. Any API key of the organization may call it.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
deliveryId | path | yes | string (uuid) | |
cursor | query | no | string | |
limit | query | no | integer |
Response 200: DeliveryAttemptPage. A page of attempts
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 422 validation_failed, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/deliveries/<deliveryId>/attempts" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/deliveries/<deliveryId>/attempts", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"data": [
{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"deliveryId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"attemptNo": 0,
"operationKind": "post",
"partNo": 0,
"startedAt": "2026-10-21T09:00:00Z",
"sentAt": "2026-10-21T09:00:00Z",
"finishedAt": "2026-10-21T09:00:00Z",
"outcome": "in_flight",
"httpStatus": -9007199254740991,
"providerPostId": "string",
"errorCode": "string",
"responseExcerpt": "string",
"durationMs": 0
}
],
"nextCursor": "string"
}#Retry a failed delivery with the same frozen payload
POST/v1/deliveries/{deliveryId}/retry
Operation retryDelivery. Needs a key with the scope post.publish.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
deliveryId | path | yes | string (uuid) |
Request body: RetryDeliveryInput
| Field | Type | Required | Description |
|---|---|---|---|
acceptDuplicateRisk | boolean | no |
Response 202: DeliveryStatus. The delivery, scheduled again
Errors: 400 bad_request, 400 idempotency_key_required, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 409 duplicate_risk_unacknowledged, 422 validation_failed, 422 idempotency_key_reused, 422 budget_exhausted, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/deliveries/<deliveryId>/retry" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"acceptDuplicateRisk": false
}'const res = await fetch("https://app.postbroad.com/v1/deliveries/<deliveryId>/retry", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"acceptDuplicateRisk": false
}),
});
const data = await res.json();{
"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"
},
"publishedAt": "2026-10-21T09:00:00Z",
"verifiedAt": "2026-10-21T09:00:00Z",
"liveSource": "verified",
"liveConfirmedBy": {
"type": "member",
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"name": "string"
},
"resolutionSource": "system",
"providerPostId": "string",
"providerUrl": "string",
"browserJobId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"lastError": {
"code": "string",
"message": "string",
"fix": "string"
},
"attemptCount": 0,
"followupsState": "none",
"steps": [
{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"kind": "post",
"partNo": 0,
"parentOperationId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"state": "planned",
"retryable": false
}
],
"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",
"attachmentResolution": {
"operationId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"operationClaimGeneration": "string",
"attemptId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"postVersionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"nomination": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"providerAttachmentId": "string",
"status": "pending"
}
},
"remoteDeleteSupported": false,
"remoteRemoval": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"state": "queued",
"requestedAt": "2026-10-21T09:00:00Z",
"requestedBy": {
"type": "member",
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"name": "string"
},
"finishedAt": "2026-10-21T09:00:00Z",
"error": {
"code": "string",
"message": "string"
}
}
}#Retry a definitively failed reply or first comment without resending the post
POST/v1/deliveries/{deliveryId}/steps/{operationId}/retry
Operation retryDeliveryStep. Needs a key with the scope post.publish.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
deliveryId | path | yes | string (uuid) | |
operationId | path | yes | string (uuid) |
Request body: RetryDeliveryStepInput
Response 202: DeliveryStatus. The delivery with its step queued again
Errors: 400 bad_request, 400 idempotency_key_required, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/deliveries/<deliveryId>/steps/<operationId>/retry" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{}'const res = await fetch("https://app.postbroad.com/v1/deliveries/<deliveryId>/steps/<operationId>/retry", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({}),
});
const data = await res.json();{
"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"
},
"publishedAt": "2026-10-21T09:00:00Z",
"verifiedAt": "2026-10-21T09:00:00Z",
"liveSource": "verified",
"liveConfirmedBy": {
"type": "member",
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"name": "string"
},
"resolutionSource": "system",
"providerPostId": "string",
"providerUrl": "string",
"browserJobId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"lastError": {
"code": "string",
"message": "string",
"fix": "string"
},
"attemptCount": 0,
"followupsState": "none",
"steps": [
{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"kind": "post",
"partNo": 0,
"parentOperationId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"state": "planned",
"retryable": false
}
],
"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",
"attachmentResolution": {
"operationId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"operationClaimGeneration": "string",
"attemptId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"postVersionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"nomination": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"providerAttachmentId": "string",
"status": "pending"
}
},
"remoteDeleteSupported": false,
"remoteRemoval": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"state": "queued",
"requestedAt": "2026-10-21T09:00:00Z",
"requestedBy": {
"type": "member",
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"name": "string"
},
"finishedAt": "2026-10-21T09:00:00Z",
"error": {
"code": "string",
"message": "string"
}
}
}#Retry only the failed destinations of a post
POST/v1/posts/{postId}/retry-failed
Operation retryFailedDeliveries. Needs a key with the scope post.publish.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
postId | path | yes | string (uuid) |
Request body: RetryDeliveryInput
| Field | Type | Required | Description |
|---|---|---|---|
acceptDuplicateRisk | boolean | no |
Response 202: RetryFailedResult. What was retried
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, 422 budget_exhausted, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/posts/<postId>/retry-failed" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"acceptDuplicateRisk": false
}'const res = await fetch("https://app.postbroad.com/v1/posts/<postId>/retry-failed", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"acceptDuplicateRisk": false
}),
});
const data = await res.json();{
"retried": [
{
"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"
}
],
"needsPerson": [
"0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01"
]
}#Resolve an unknown outcome: search the network first, or a person decides
POST/v1/deliveries/{deliveryId}/resolve
Operation resolveDelivery. Needs a key with the scope post.publish.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
deliveryId | path | yes | string (uuid) |
Request body: ResolveDeliveryInput
Response 202: ResolveDeliveryResult. The delivery
Errors: 400 bad_request, 400 idempotency_key_required, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/deliveries/<deliveryId>/resolve" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"action": "search"
}'const res = await fetch("https://app.postbroad.com/v1/deliveries/<deliveryId>/resolve", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"action": "search"
}),
});
const data = await res.json();{
"delivery": {
"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"
},
"searchQueuedAt": "2026-10-21T09:00:00Z"
}#Mark a delivery live with its URL, confirmed by a person (human_confirmed)
POST/v1/deliveries/{deliveryId}/confirm
Operation confirmDelivery. Needs a key with the scope post.publish.
Also the Reddit submit-by-hand confirmation.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
deliveryId | path | yes | string (uuid) |
Request body: ConfirmDeliveryInput
| Field | Type | Required | Description |
|---|---|---|---|
providerUrl | string (uri) | yes |
Response 200: DeliveryStatus. The delivery
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/deliveries/<deliveryId>/confirm" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"providerUrl": "https://example.invalid/post/1"
}'const res = await fetch("https://app.postbroad.com/v1/deliveries/<deliveryId>/confirm", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"providerUrl": "https://example.invalid/post/1"
}),
});
const data = await res.json();{
"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"
},
"publishedAt": "2026-10-21T09:00:00Z",
"verifiedAt": "2026-10-21T09:00:00Z",
"liveSource": "verified",
"liveConfirmedBy": {
"type": "member",
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"name": "string"
},
"resolutionSource": "system",
"providerPostId": "string",
"providerUrl": "string",
"browserJobId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"lastError": {
"code": "string",
"message": "string",
"fix": "string"
},
"attemptCount": 0,
"followupsState": "none",
"steps": [
{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"kind": "post",
"partNo": 0,
"parentOperationId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"state": "planned",
"retryable": false
}
],
"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",
"attachmentResolution": {
"operationId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"operationClaimGeneration": "string",
"attemptId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"postVersionId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"nomination": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"providerAttachmentId": "string",
"status": "pending"
}
},
"remoteDeleteSupported": false,
"remoteRemoval": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"state": "queued",
"requestedAt": "2026-10-21T09:00:00Z",
"requestedBy": {
"type": "member",
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"name": "string"
},
"finishedAt": "2026-10-21T09:00:00Z",
"error": {
"code": "string",
"message": "string"
}
}
}#Cancel one destination of a post
POST/v1/deliveries/{deliveryId}/cancel
Operation cancelDelivery. Needs a key with the scope post.schedule.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
deliveryId | path | yes | string (uuid) |
Response 200: CancelDeliveryResult or CancelDeliveryDryRun. Pure operation preview when dry_run=true; no mutation is performed
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/deliveries/<deliveryId>/cancel" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"const res = await fetch("https://app.postbroad.com/v1/deliveries/<deliveryId>/cancel", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
},
});
const data = await res.json();{
"delivery": {
"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"
},
"mayStillComplete": false
}#Delete a sent post from its network; this cannot be undone
DELETE/v1/posts/{postId}/deliveries/{deliveryId}/remote
Operation removeDeliveryFromNetwork. Needs a key with the scope post.delete_remote.
Queues one delete of the post this delivery sent (the main post; replies and comments stay where the network keeps them). The answer is 202 with the request; the delivery's remoteRemoval shows the outcome. Asking again while a request runs, or after the post was removed, answers that request. 409 conflict when the post is not live with a network id, or when the network's connector has no delete (reason: remote_delete_unsupported). An MCP client in Approve mode is refused (post.delete_remote).
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
postId | path | yes | string (uuid) | |
deliveryId | path | yes | string (uuid) |
Response 202: RemoveDeliveryRemoteResult. The removal request
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 409 organization_frozen, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X DELETE "https://app.postbroad.com/v1/posts/<postId>/deliveries/<deliveryId>/remote" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"const res = await fetch("https://app.postbroad.com/v1/posts/<postId>/deliveries/<deliveryId>/remote", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
},
});
const data = await res.json();{
"delivery": {
"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"
},
"removal": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"state": "queued",
"requestedAt": "2026-10-21T09:00:00Z",
"requestedBy": {
"type": "member",
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"name": "string"
},
"finishedAt": "2026-10-21T09:00:00Z",
"error": {
"code": "string",
"message": "string"
}
}
}#The browser extension checks in
POST/v1/extension/heartbeat
Operation extensionHeartbeat. Needs a key with the scope extension.post.
Needs an API key holding extension.post; the key is the browser. Records it as seen with its version and kill switch, and answers how many jobs wait for it.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Request body: BrowserHeartbeatInput
| Field | Type | Required | Description |
|---|---|---|---|
version | string | yes | |
paused | boolean | yes | |
name | string | no | |
selfTest | BrowserSelfTest | no |
Response 200: BrowserHeartbeat. Seen
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/extension/heartbeat" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"version": "string",
"paused": false,
"name": "string",
"selfTest": {
"checkedAt": "2026-10-21T09:00:00Z",
"results": [
{
"network": "facebook_groups",
"ok": false
}
]
}
}'const res = await fetch("https://app.postbroad.com/v1/extension/heartbeat", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"version": "string",
"paused": false,
"name": "string",
"selfTest": {
"checkedAt": "2026-10-21T09:00:00Z",
"results": [
{
"network": "facebook_groups",
"ok": false
}
]
}
}),
});
const data = await res.json();{
"browserId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"lastSeenAt": "2026-10-21T09:00:00Z",
"waitingJobs": 0
}#Posts waiting for this browser
GET/v1/extension/jobs
Operation listExtensionJobs. Needs a key with the scope extension.post.
Waiting jobs in the key's brands, for connections bound to this browser or to none yet, oldest first, at most 50. Ends stale work first: a lease that ran out without a report goes to a person, a job more than a day late expires.
Response 200: BrowserJobList. Waiting jobs
Errors: 401 unauthenticated, 403 forbidden, 404 not_found, 429 rate_limited, 500 internal.
curl -X GET "https://app.postbroad.com/v1/extension/jobs" \
-H "Authorization: Bearer $POSTBROAD_TOKEN"const res = await fetch("https://app.postbroad.com/v1/extension/jobs", {
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
},
});
const data = await res.json();{
"data": [
{
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook_groups",
"state": "waiting",
"targetUrl": "string",
"targetKind": "profile",
"openUrl": "string",
"label": "string",
"text": "string",
"title": null,
"options": {},
"mediaCount": 0,
"assist": "auto",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"dueAt": "2026-10-21T09:00:00Z",
"createdAt": "2026-10-21T09:00:00Z"
}
]
}#Take one waiting post for this browser
POST/v1/extension/jobs/{jobId}/claim
Operation claimExtensionJob. Needs a key with the scope extension.post.
Leases the job to this browser for five minutes and binds its connection to this browser, and answers its media as signed links (images 15 minutes, video 60; byte ranges are served). Asking again for a job this browser holds answers the same lease with freshly signed links. 429 with retryAfterSeconds when the network's pacing says wait; 409 when the job is no longer waiting or another browser runs this connection; 409 media_unavailable with retryAfterSeconds while a file of the post is not ready.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
jobId | path | yes | string (uuid) |
Response 200: BrowserJobClaim. The leased job
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/extension/jobs/<jobId>/claim" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"const res = await fetch("https://app.postbroad.com/v1/extension/jobs/<jobId>/claim", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
},
});
const data = await res.json();{
"job": {
"id": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"network": "facebook_groups",
"state": "waiting",
"targetUrl": "string",
"targetKind": "profile",
"openUrl": "string",
"label": "string",
"text": "string",
"title": null,
"options": {},
"mediaCount": 0,
"assist": "auto",
"brandId": "0b7e8f8e-5a4c-4d0e-9f53-0c8f2a6d1e01",
"dueAt": "2026-10-21T09:00:00Z",
"createdAt": "2026-10-21T09:00:00Z"
},
"leaseUntil": "2026-10-21T09:00:00Z",
"media": [
{
"url": "string",
"mime": "string",
"bytes": 0,
"alt": "string",
"kind": "image",
"expiresAt": "2026-10-21T09:00:00Z"
}
]
}#Keep a leased post for longer
POST/v1/extension/jobs/{jobId}/lease
Operation extendExtensionJobLease. Needs a key with the scope extension.post.
By the browser that holds the job: the lease runs until seconds from now (60 to 3, 600), never shorter than it was and never more than three hours after the claim. For a person pressing Post in fill mode, or a long video upload. 409 when the lease is gone.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
jobId | path | yes | string (uuid) |
Request body: BrowserJobLeaseInput
| Field | Type | Required | Description |
|---|---|---|---|
seconds | integer | yes |
Response 200: BrowserJobLease. The new lease
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/extension/jobs/<jobId>/lease" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"seconds": 60
}'const res = await fetch("https://app.postbroad.com/v1/extension/jobs/<jobId>/lease", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"seconds": 60
}),
});
const data = await res.json();{
"leaseUntil": "2026-10-21T09:00:00Z"
}#Say what happened to a leased post
POST/v1/extension/jobs/{jobId}/report
Operation reportExtensionJob. Needs a key with the scope extension.post.
Once per job, by the browser that holds it. posted with a link of that network marks the delivery accepted with the link (never checked: nothing reads it back); not_posted and declined fail it with the reason; unknown hands it to a person to confirm. 409 when the lease is gone.
Accepts an Idempotency-Key header.
Add ?dry_run=true where the operation supports it to get a preview and write nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
jobId | path | yes | string (uuid) |
Request body: BrowserJobReportInput
Response 200: BrowserJobReport. Recorded
Errors: 400 bad_request, 401 unauthenticated, 403 forbidden, 404 not_found, 409 request_in_progress, 409 conflict, 422 validation_failed, 422 idempotency_key_reused, 429 rate_limited, 500 internal.
curl -X POST "https://app.postbroad.com/v1/extension/jobs/<jobId>/report" \
-H "Authorization: Bearer $POSTBROAD_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"outcome": "posted",
"url": "string"
}'const res = await fetch("https://app.postbroad.com/v1/extension/jobs/<jobId>/report", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"outcome": "posted",
"url": "string"
}),
});
const data = await res.json();{
"state": "waiting",
"deliveryState": "string"
}Schemas
Every type the operations above use
#Actor
| Field | Type | Required | Description |
|---|---|---|---|
type | "member" or "agent" or "token" or "mcp_client" or "guest" or "system" or "profile_server_key" or "connect_token" | yes | |
id | string (uuid) or null | yes | |
name | string or null | yes |
#BrowserAssistLevel
auto fills the composer and presses Post; fill fills it and the person presses Post.
Type: "auto" or "fill"
#BrowserHeartbeat
| Field | Type | Required | Description |
|---|---|---|---|
browserId | string (uuid) | yes | |
lastSeenAt | string (date-time) | yes | |
waitingJobs | integer | yes |
#BrowserHeartbeatInput
| Field | Type | Required | Description |
|---|---|---|---|
version | string | yes | |
paused | boolean | yes | |
name | string | no | |
selfTest | BrowserSelfTest | no |
#BrowserJob
A post waiting for a browser, with the exact text it will post.
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes | |
network | BrowserNetwork | yes | A network the extension posts to (BROWSER_CAPABLE_NETWORKS). |
state | BrowserJobState | yes | |
targetUrl | string | yes | |
targetKind | BrowserTargetKind or null | yes | |
openUrl | string | yes | |
label | string | yes | |
text | string | yes | |
title | string or null | yes | |
options | map of any | yes | |
mediaCount | integer | yes | |
assist | BrowserAssistLevel | yes | auto fills the composer and presses Post; fill fills it and the person presses Post. |
brandId | string (uuid) | yes | |
dueAt | string (date-time) | yes | |
createdAt | string (date-time) | yes |
#BrowserJobClaim
A job this browser now holds until leaseUntil. Report before then.
| Field | Type | Required | Description |
|---|---|---|---|
job | BrowserJob | yes | A post waiting for a browser, with the exact text it will post. |
leaseUntil | string (date-time) | yes | |
media | BrowserJobMedia[] | yes |
#BrowserJobLease
The job is this browser's until leaseUntil, never more than three hours after its claim.
| Field | Type | Required | Description |
|---|---|---|---|
leaseUntil | string (date-time) | yes |
#BrowserJobLeaseInput
| Field | Type | Required | Description |
|---|---|---|---|
seconds | integer | yes |
#BrowserJobList
| Field | Type | Required | Description |
|---|---|---|---|
data | BrowserJob[] | yes |
#BrowserJobMedia
| Field | Type | Required | Description |
|---|---|---|---|
url | string | yes | |
mime | string | yes | |
bytes | integer | yes | |
alt | string or null | yes | |
kind | "image" or "video" | yes | |
durationMs | integer | no | |
width | integer | no | |
height | integer | no | |
expiresAt | string (date-time) | yes |
#BrowserJobReport
| Field | Type | Required | Description |
|---|---|---|---|
state | BrowserJobState | yes | |
deliveryState | string | yes |
#BrowserJobReportInput
Type: object
#BrowserJobState
Type: "waiting" or "claimed" or "posted" or "not_posted" or "unknown" or "declined" or "expired"
#BrowserNetwork
A network the extension posts to (BROWSER_CAPABLE_NETWORKS).
Type: "facebook_groups" or "facebook_profile" or "substack_notes" or "skool" or "linkedin" or "threads" or "pinterest" or "instagram" or "facebook"
#BrowserSelfTest
| Field | Type | Required | Description |
|---|---|---|---|
checkedAt | string (date-time) | yes | |
results | object[] | yes |
#BrowserTargetKind
Type: "profile" or "page" or "group" or "board"
#CancelDeliveryDryRun
| Field | Type | Required | Description |
|---|---|---|---|
resources | object[] | yes | |
effects | object[] | yes | |
content | object[] | yes | |
details | object[] | yes | |
preflight | PreflightResult | yes | |
pendingChecks | string[] | yes | |
cost | object | yes | |
operationId | "cancelDelivery" | yes |
#CancelDeliveryResult
| Field | Type | Required | Description |
|---|---|---|---|
delivery | DeliveryStatus | yes | |
mayStillComplete | boolean | yes |
#ConfirmDeliveryInput
| Field | Type | Required | Description |
|---|---|---|---|
providerUrl | string (uri) | yes |
#CostEstimate
| Field | Type | Required | Description |
|---|---|---|---|
unit | string | yes | |
amountMicros | integer | yes | |
currency | "USD" | yes | |
billedBy | "postbroad" or "third_party" | 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"
#DeliveryAttemptPage
| Field | Type | Required | Description |
|---|---|---|---|
data | DeliveryAttemptView[] | yes | |
nextCursor | string or null | yes |
#DeliveryAttemptView
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes | |
deliveryId | string (uuid) | yes | |
attemptNo | integer | yes | |
operationKind | "post" or "thread_part" or "first_comment" or "stage" or "commit" or "generation_submit" | yes | |
partNo | integer | yes | |
startedAt | string (date-time) | yes | |
sentAt | string (date-time) or null | yes | |
finishedAt | string (date-time) or null | yes | |
outcome | "in_flight" or "ok" or "ok_late" or "failed" or "unknown" or "not_sent" | yes | |
httpStatus | integer or null | yes | |
providerPostId | string or null | yes | |
errorCode | string or null | yes | |
responseExcerpt | string or null | yes | |
durationMs | integer or null | yes |
#DeliveryPage
| Field | Type | Required | Description |
|---|---|---|---|
data | DeliveryStatus[] | yes | |
nextCursor | string or null | yes |
#DeliveryState
Type: "pending" or "scheduled" or "needs_reconnect" or "sending" or "accepted" or "processing" or "published" or "failed" or "unknown" or "cancelled"
#DeliveryStatus
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes | |
postId | string (uuid) | yes | |
brandId | string (uuid) | yes | |
channelId | string (uuid) | yes | |
network | Network | yes | |
account | object | yes | |
destination | object | yes | |
versionNo | integer | yes | |
currentVersionNo | integer | yes | |
state | DeliveryState | yes | |
scheduledAt | string (date-time) or null | yes | |
dispatchAt | string (date-time) or null | yes | |
deferral | object or null | yes | |
verificationLevel | VerificationLevel | yes | |
evidenceMethod | EvidenceMethod | yes | |
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 null | yes | |
checkedAt | string (date-time) or null | yes | |
checkedBy | Actor or null | yes | |
publishedAt | string (date-time) or null | no | |
verifiedAt | string (date-time) or null | no | |
liveSource | "verified" or "person" or "url_only" or null | no | |
liveConfirmedBy | Actor or null | no | |
resolutionSource | "system" or "status_check" or "person" | yes | |
providerPostId | string or null | yes | |
providerUrl | string or null | yes | |
browserJobId | string (uuid) or null | no | |
lastError | object or null | yes | |
attemptCount | integer | yes | |
followupsState | "none" or "pending" or "complete" or "incomplete" | yes | |
steps | object[] | no | |
retryRequiresPerson | boolean | yes | |
duplicateRiskAck | object or null | yes | |
preflightState | "pending" or "ok" or "blocked" | yes | |
updatedAt | string (date-time) | yes | |
attachmentResolution | object or null | no | |
remoteDeleteSupported | boolean | no | |
remoteRemoval | RemoteRemoval or null | no |
#DestinationKind
Type: "feed" or "board" or "subreddit" or "chat" or "channel" or "community" or "group" or "forum" or "list" or "publication" or "organization" or "playlist"
#DispatchingRef
A delivery that had already started (or gone live) when the change committed; it may still publish.
| Field | Type | Required | Description |
|---|---|---|---|
deliveryId | string (uuid) | yes | |
channelId | string (uuid) | yes | |
state | "sending" or "accepted" or "processing" or "published" or "unknown" | yes | |
claimedAt | string (date-time) or null | yes | |
versionNo | integer | yes |
#ErrorCode
Type: "bad_request" or "org_required" or "unauthenticated" or "reauth_required" or "invalid_credentials" or "forbidden" or "not_found" or "method_not_allowed" or "idempotency_key_required" or "idempotency_key_reused" or "request_in_progress" or "revision_mismatch" or "preview_required" or "preview_stale" or "dispatch_started" or "duplicate_risk_unacknowledged" or "conflict" or "validation_failed" or "rule_violation" or "budget_exhausted" or "limit_reached" or "organization_frozen" or "approval_required" or "unsupported_media_type" or "payload_too_large" or "rate_limited" or "internal" or "unavailable" or "busy" or "timeout"
#EvidenceMethod
Type: "none" or "provider_ack" or "status_endpoint" or "readback_match" or "public_fetch" or "human_confirmed"
#HistoricalUnknown
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes | |
channelId | string (uuid) | yes | |
network | Network | yes | |
canResolve | boolean | yes |
#HistoricalUnknownResolutionInput
Type: object
#HistoricalUnknownResolutionResult
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes | |
state | "unknown" or "published" or "failed" | yes | |
searchQueuedAt | string (date-time) or null | yes |
#Network
Type: "facebook" or "instagram" or "threads" or "linkedin" or "bluesky" or "x" or "tiktok" or "youtube" or "google_business_profile" or "reddit" or "telegram" or "discord" or "slack" or "pinterest" or "dribbble" or "mastodon" or "whop" or "twitch" or "kick" or "farcaster" or "vk" or "lemmy" or "mewe" or "nostr" or "listmonk" or "wordpress" or "medium" or "hashnode" or "devto" or "ghost" or "snapchat" or "odnoklassniki" or "tumblr" or "flickr" or "vimeo" or "dailymotion" or "soundcloud" or "beehiiv" or "discourse" or "circle" or "mighty_networks" or "viber" or "line" or "hatena_blog" or "wechat" or "kuaishou" or "zalo" or "band" or "pixelfed" or "misskey" or "peertube" or "hive" or "lens" or "moltbook" or "facebook_groups" or "facebook_profile" or "substack_notes" or "skool"
#PreflightResult
Type: object
#PreviewDestination
| Field | Type | Required | Description |
|---|---|---|---|
channelId | string (uuid) | yes | |
network | Network | yes | |
handle | string or null | yes | |
scheduledAt | string (date-time) or null | yes | |
payloadHash | string | yes | |
payload | PreviewPayload | yes | What will be sent to one destination, from the frozen payload model. |
manualHandoff | object | no | |
preflight | PreflightResult | yes | |
pendingChecks | string[] | yes | |
cost | CostEstimate[] | yes | |
verificationLevel | VerificationLevel | yes |
#PreviewPayload
What will be sent to one destination, from the frozen payload model.
| Field | Type | Required | Description |
|---|---|---|---|
v | 1 | yes | |
orgId | string (uuid) | yes | |
brandId | string (uuid) | yes | |
postVersionId | string (uuid) | yes | |
contentHash | string | yes | |
variantId | string (uuid) | yes | |
channelId | string (uuid) | yes | |
network | string | yes | |
connectorVersion | string | yes | |
destination | object | yes | |
intendedVisibility | "public" or "followers" or "private" or "draft" or "inbox" or "scheduled_native" | yes | |
aiLabel | boolean | yes | |
utm | map of string | yes | |
parts | object[] | yes |
#PreviewResult
| Field | Type | Required | Description |
|---|---|---|---|
receipt | string | yes | |
expiresAt | string (date-time) | yes | |
postId | string (uuid) | yes | |
versionNo | integer | yes | |
contentHash | string | yes | |
mode | "schedule" or "publish_now" | yes | |
blocked | boolean | yes | |
requiresReview | boolean | yes | |
destinations | PreviewDestination[] | yes | |
totalCost | CostEstimate[] | yes |
#Problem
The one error body of every route (RFC 9457 problem details with a stable code). Another organization's resource, a Postbroad-Org the member does not belong to and a resource outside a token's brand allowlist all answer 404 not_found, never 403.
| Field | Type | Required | Description |
|---|---|---|---|
type | string | yes | |
title | string | yes | |
status | integer | yes | |
code | ErrorCode | yes | |
detail | string | yes | |
requestId | string | yes | |
retryable | boolean | yes | |
errors | ProblemItem[] | no | |
preview | PreviewResult | no | |
currentRevision | integer | no | |
alreadyDispatching | DispatchingRef[] | no | |
limit | object | no | |
retryAfterSeconds | integer | no |
#ProblemItem
| Field | Type | Required | Description |
|---|---|---|---|
path | string | yes | |
rule | string | yes | |
message | string | yes | |
channelId | string (uuid) or null | no |
#RemoteRemoval
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes | |
state | "queued" or "running" or "removed" or "failed" or "unknown" | yes | |
requestedAt | string (date-time) | yes | |
requestedBy | Actor | yes | |
finishedAt | string (date-time) or null | yes | |
error | object or null | yes |
#RemoveDeliveryFromNetworkDryRun
| Field | Type | Required | Description |
|---|---|---|---|
resources | object[] | yes | |
effects | object[] | yes | |
content | object[] | yes | |
details | object[] | yes | |
preflight | PreflightResult | yes | |
pendingChecks | string[] | yes | |
cost | object | yes | |
operationId | "removeDeliveryFromNetwork" | yes |
#RemoveDeliveryRemoteResult
| Field | Type | Required | Description |
|---|---|---|---|
delivery | DeliveryStatus | yes | |
removal | RemoteRemoval | yes |
#ResolveDeliveryDryRun
| Field | Type | Required | Description |
|---|---|---|---|
resources | object[] | yes | |
effects | object[] | yes | |
content | object[] | yes | |
details | object[] | yes | |
preflight | PreflightResult | yes | |
pendingChecks | string[] | yes | |
cost | object | yes | |
operationId | "resolveDelivery" | yes |
#ResolveDeliveryInput
Type: object
#ResolveDeliveryResult
| Field | Type | Required | Description |
|---|---|---|---|
delivery | DeliveryStatus | yes | |
searchQueuedAt | string (date-time) or null | yes |
#RetryDeliveryDryRun
| Field | Type | Required | Description |
|---|---|---|---|
resources | object[] | yes | |
effects | object[] | yes | |
content | object[] | yes | |
details | object[] | yes | |
preflight | PreflightResult | yes | |
pendingChecks | string[] | yes | |
cost | object | yes | |
operationId | "retryDelivery" | yes |
#RetryDeliveryInput
| Field | Type | Required | Description |
|---|---|---|---|
acceptDuplicateRisk | boolean | no |
#RetryDeliveryStepDryRun
| Field | Type | Required | Description |
|---|---|---|---|
resources | object[] | yes | |
effects | object[] | yes | |
content | object[] | yes | |
details | object[] | yes | |
preflight | PreflightResult | yes | |
pendingChecks | string[] | yes | |
cost | object | yes | |
operationId | "retryDeliveryStep" | yes |
#RetryDeliveryStepInput
Type: object
#RetryFailedDeliveriesDryRun
| Field | Type | Required | Description |
|---|---|---|---|
resources | object[] | yes | |
effects | object[] | yes | |
content | object[] | yes | |
details | object[] | yes | |
preflight | PreflightResult | yes | |
pendingChecks | string[] | yes | |
cost | object | yes | |
operationId | "retryFailedDeliveries" | yes |
#RetryFailedResult
| Field | Type | Required | Description |
|---|---|---|---|
retried | DeliveryStatus[] | yes | |
needsPerson | string (uuid)[] | yes |
#VerificationLevel
Type: "full" or "url_only" or "accepted_no_readback" or "manual"
Last generated 21 Nov 2026, from the contracts the API runs on.