Skip to content
DocsDeliveries

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.

EndpointWhat it doesScope
GET /v1/deliveriesDeliveries by post, brand, channel or stateany key
GET /v1/deliveries/{deliveryId}One delivery with its state and evidenceany key
GET /v1/deliveries/{deliveryId}/historical-unknownMinimal evidence for an older unresolved deliveryany key
POST /v1/deliveries/{deliveryId}/historical-unknownResolve an older unknown outcome without reopening the postpost.publish
GET /v1/deliveries/{deliveryId}/attemptsEvery write request made for a delivery; nothing is removed on retryany key
POST /v1/deliveries/{deliveryId}/retryRetry a failed delivery with the same frozen payloadpost.publish
POST /v1/deliveries/{deliveryId}/steps/{operationId}/retryRetry a definitively failed reply or first comment without resending the postpost.publish
POST /v1/posts/{postId}/retry-failedRetry only the failed destinations of a postpost.publish
POST /v1/deliveries/{deliveryId}/resolveResolve an unknown outcome: search the network first, or a person decidespost.publish
POST /v1/deliveries/{deliveryId}/confirmMark a delivery live with its URL, confirmed by a person (human_confirmed)post.publish
POST /v1/deliveries/{deliveryId}/cancelCancel one destination of a postpost.schedule
DELETE /v1/posts/{postId}/deliveries/{deliveryId}/remoteDelete a sent post from its network; this cannot be undonepost.delete_remote
POST /v1/extension/heartbeatThe browser extension checks inextension.post
GET /v1/extension/jobsPosts waiting for this browserextension.post
POST /v1/extension/jobs/{jobId}/claimTake one waiting post for this browserextension.post
POST /v1/extension/jobs/{jobId}/leaseKeep a leased post for longerextension.post
POST /v1/extension/jobs/{jobId}/reportSay what happened to a leased postextension.post

#Operations

#Deliveries by post, brand, channel or state

GET/v1/deliveries

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

Parameters

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

NameInRequiredTypeDescription
deliveryIdpathyesstring (uuid)

Response 200: DeliveryStatus. The delivery

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

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

NameInRequiredTypeDescription
deliveryIdpathyesstring (uuid)

Response 200: HistoricalUnknown. An unresolved historical delivery

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

curl
curl -X GET "https://app.postbroad.com/v1/deliveries/<deliveryId>/historical-unknown" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN"
TypeScript
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();
Response 200
{
  "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

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

NameInRequiredTypeDescription
deliveryIdpathyesstring (uuid)
cursorquerynostring
limitquerynointeger

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

NameInRequiredTypeDescription
deliveryIdpathyesstring (uuid)

Request body: RetryDeliveryInput

FieldTypeRequiredDescription
acceptDuplicateRiskbooleanno

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

NameInRequiredTypeDescription
deliveryIdpathyesstring (uuid)
operationIdpathyesstring (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
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 '{}'
TypeScript
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();
Response 202
{
  "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

NameInRequiredTypeDescription
postIdpathyesstring (uuid)

Request body: RetryDeliveryInput

FieldTypeRequiredDescription
acceptDuplicateRiskbooleanno

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

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

NameInRequiredTypeDescription
deliveryIdpathyesstring (uuid)

Request body: ConfirmDeliveryInput

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

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

NameInRequiredTypeDescription
postIdpathyesstring (uuid)
deliveryIdpathyesstring (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
curl -X DELETE "https://app.postbroad.com/v1/posts/<postId>/deliveries/<deliveryId>/remote" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
TypeScript
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();
Response 202
{
  "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

FieldTypeRequiredDescription
versionstringyes
pausedbooleanyes
namestringno
selfTestBrowserSelfTestno

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

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

NameInRequiredTypeDescription
jobIdpathyesstring (uuid)

Request body: BrowserJobLeaseInput

FieldTypeRequiredDescription
secondsintegeryes

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

NameInRequiredTypeDescription
jobIdpathyesstring (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
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"
}'
TypeScript
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();
Response 200
{
  "state": "waiting",
  "deliveryState": "string"
}

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

#BrowserAssistLevel

auto fills the composer and presses Post; fill fills it and the person presses Post.

Type: "auto" or "fill"

#BrowserHeartbeat

FieldTypeRequiredDescription
browserIdstring (uuid)yes
lastSeenAtstring (date-time)yes
waitingJobsintegeryes

#BrowserHeartbeatInput

FieldTypeRequiredDescription
versionstringyes
pausedbooleanyes
namestringno
selfTestBrowserSelfTestno

#BrowserJob

A post waiting for a browser, with the exact text it will post.

FieldTypeRequiredDescription
idstring (uuid)yes
networkBrowserNetworkyesA network the extension posts to (BROWSER_CAPABLE_NETWORKS).
stateBrowserJobStateyes
targetUrlstringyes
targetKindBrowserTargetKind or nullyes
openUrlstringyes
labelstringyes
textstringyes
titlestring or nullyes
optionsmap of anyyes
mediaCountintegeryes
assistBrowserAssistLevelyesauto fills the composer and presses Post; fill fills it and the person presses Post.
brandIdstring (uuid)yes
dueAtstring (date-time)yes
createdAtstring (date-time)yes

#BrowserJobClaim

A job this browser now holds until leaseUntil. Report before then.

FieldTypeRequiredDescription
jobBrowserJobyesA post waiting for a browser, with the exact text it will post.
leaseUntilstring (date-time)yes
mediaBrowserJobMedia[]yes

#BrowserJobLease

The job is this browser's until leaseUntil, never more than three hours after its claim.

FieldTypeRequiredDescription
leaseUntilstring (date-time)yes

#BrowserJobLeaseInput

FieldTypeRequiredDescription
secondsintegeryes

#BrowserJobList

FieldTypeRequiredDescription
dataBrowserJob[]yes

#BrowserJobMedia

FieldTypeRequiredDescription
urlstringyes
mimestringyes
bytesintegeryes
altstring or nullyes
kind"image" or "video"yes
durationMsintegerno
widthintegerno
heightintegerno
expiresAtstring (date-time)yes

#BrowserJobReport

FieldTypeRequiredDescription
stateBrowserJobStateyes
deliveryStatestringyes

#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

FieldTypeRequiredDescription
checkedAtstring (date-time)yes
resultsobject[]yes

#BrowserTargetKind

Type: "profile" or "page" or "group" or "board"

#CancelDeliveryDryRun

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

#CancelDeliveryResult

FieldTypeRequiredDescription
deliveryDeliveryStatusyes
mayStillCompletebooleanyes

#ConfirmDeliveryInput

FieldTypeRequiredDescription
providerUrlstring (uri)yes

#CostEstimate

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

FieldTypeRequiredDescription
dataDeliveryAttemptView[]yes
nextCursorstring or nullyes

#DeliveryAttemptView

FieldTypeRequiredDescription
idstring (uuid)yes
deliveryIdstring (uuid)yes
attemptNointegeryes
operationKind"post" or "thread_part" or "first_comment" or "stage" or "commit" or "generation_submit"yes
partNointegeryes
startedAtstring (date-time)yes
sentAtstring (date-time) or nullyes
finishedAtstring (date-time) or nullyes
outcome"in_flight" or "ok" or "ok_late" or "failed" or "unknown" or "not_sent"yes
httpStatusinteger or nullyes
providerPostIdstring or nullyes
errorCodestring or nullyes
responseExcerptstring or nullyes
durationMsinteger or nullyes

#DeliveryPage

FieldTypeRequiredDescription
dataDeliveryStatus[]yes
nextCursorstring or nullyes

#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

#DestinationKind

Type: "feed" or "board" or "subreddit" or "chat" or "channel" or "community" or "group" or "forum" or "list" or "publication" or "organization" or "playlist"

#DispatchingRef

A delivery that had already started (or gone live) when the change committed; it may still publish.

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

#ErrorCode

Type: "bad_request" or "org_required" or "unauthenticated" or "reauth_required" or "invalid_credentials" or "forbidden" or "not_found" or "method_not_allowed" or "idempotency_key_required" or "idempotency_key_reused" or "request_in_progress" or "revision_mismatch" or "preview_required" or "preview_stale" or "dispatch_started" or "duplicate_risk_unacknowledged" or "conflict" or "validation_failed" or "rule_violation" or "budget_exhausted" or "limit_reached" or "organization_frozen" or "approval_required" or "unsupported_media_type" or "payload_too_large" or "rate_limited" or "internal" or "unavailable" or "busy" or "timeout"

#EvidenceMethod

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

#HistoricalUnknown

FieldTypeRequiredDescription
idstring (uuid)yes
channelIdstring (uuid)yes
networkNetworkyes
canResolvebooleanyes

#HistoricalUnknownResolutionInput

Type: object

#HistoricalUnknownResolutionResult

FieldTypeRequiredDescription
idstring (uuid)yes
state"unknown" or "published" or "failed"yes
searchQueuedAtstring (date-time) 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"

#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

#RemoveDeliveryFromNetworkDryRun

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

#RemoveDeliveryRemoteResult

FieldTypeRequiredDescription
deliveryDeliveryStatusyes
removalRemoteRemovalyes

#ResolveDeliveryDryRun

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

#ResolveDeliveryInput

Type: object

#ResolveDeliveryResult

FieldTypeRequiredDescription
deliveryDeliveryStatusyes
searchQueuedAtstring (date-time) or nullyes

#RetryDeliveryDryRun

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

#RetryDeliveryInput

FieldTypeRequiredDescription
acceptDuplicateRiskbooleanno

#RetryDeliveryStepDryRun

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

#RetryDeliveryStepInput

Type: object

#RetryFailedDeliveriesDryRun

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

#RetryFailedResult

FieldTypeRequiredDescription
retriedDeliveryStatus[]yes
needsPersonstring (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.