API reference

Workflow

The review and publishing lifecycle — submit → approve or request changes → schedule → publish. Every transition is a separate call so approvals stay auditable.

The review and publishing lifecycle: submit → approve or request changes → schedule → publish. Every transition is a separate call so approvals stay auditable.

Method Endpoint Summary
POST /v1/posts/{id}/submit Submit for review
POST /v1/posts/{id}/approve Approve (and schedule)
POST /v1/posts/{id}/request-changes Request changes
POST /v1/posts/{id}/schedule Schedule an approved post
POST /v1/posts/{id}/unschedule Unschedule
POST /v1/posts/{id}/publish-now Publish now
POST /v1/posts/{id}/archive Archive

Submit for review#

POST/v1/posts/{id}/submit

draft | changes_requested | needs_reschedule → in_review. Auto-approve policies are evaluated here.

Auth: API key (Authorization: Bearer obx_live_…). Requires scope posts:submit with workspace role owner / admin / editor / contributor / agent.

Path parameters

Name Required Description
id yes Post id (post_…).

Headers

Name Required Description
Idempotency-Key no Replays within 24 h return the original response.

Response 200 — Post. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X POST "https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/submit" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Approve (and schedule)#

POST/v1/posts/{id}/approve

Needs posts:approve. Errors block approval. schedule.mode: proposed (default when a time was proposed) | exact {at} | queue | suggest | now | none. schedule.channel_times [{channel_id, at}] gives individual channels their own time; the rest use the post time. edits applies changes first (approve with edits). With N-approver policies, returns in_review until enough approvals. channels (ids) approves only those channels: the others move, content intact, to a new draft (split_post_id in the response) so one broken channel does not hold up the rest.

Auth: API key (Authorization: Bearer obx_live_…). Requires scope posts:approve with workspace role owner / admin / editor / agent.

Path parameters

Name Required Description
id yes Post id (post_…).

Headers

Name Required Description
Idempotency-Key no Replays within 24 h return the original response.

Request body

Field Type Description
schedule object
edits object
channels array

Response 200 — Post. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X POST "https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/approve" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "note": "Looks good",
  "schedule": {
    "mode": "queue"
  }
}'

Request changes#

POST/v1/posts/{id}/request-changes

Sends structured feedback to the author (webhook post.changes_requested + comments API).

Auth: API key (Authorization: Bearer obx_live_…). Requires scope posts:approve with workspace role owner / admin / editor / agent.

Path parameters

Name Required Description
id yes Post id (post_…).

Headers

Name Required Description
Idempotency-Key no Replays within 24 h return the original response.

Request body

Field Type Description
note string
reasons array
variant_id string

Response 200 — Post. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X POST "https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/request-changes" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "note": "Lead with the tasting notes and drop the exclamation mark."
}'

Schedule an approved post#

POST/v1/posts/{id}/schedule

mode: exact {at} | queue | suggest | proposed. channel_times [{channel_id, at}] gives individual channels their own time. Without it, channels that already have their own times keep their offset when the post moves; the post scheduled_at is its earliest channel time. Refuses times that would exceed platform caps (rate_cap_exceeded with suggested_at). channels (ids) schedules only those; the rest move to a new draft (split_post_id).

Auth: API key (Authorization: Bearer obx_live_…). Requires scope posts:publish with workspace role owner / admin / editor / agent.

Path parameters

Name Required Description
id yes Post id (post_…).

Headers

Name Required Description
Idempotency-Key no Replays within 24 h return the original response.

Request body

Field Type Description
mode string
at string
channel_times array
channels array

Response 200 — Post. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X POST "https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/schedule" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "mode": "exact",
  "at": "2026-10-20T09:00:00Z"
}'

Unschedule#

POST/v1/posts/{id}/unschedule

scheduled → approved; the time is kept as proposed_at.

Auth: API key (Authorization: Bearer obx_live_…). Requires scope posts:publish with workspace role owner / admin / editor / agent.

Path parameters

Name Required Description
id yes Post id (post_…).

Headers

Name Required Description
Idempotency-Key no Replays within 24 h return the original response.

Response 200 — Post. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X POST "https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/unschedule" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Publish now#

POST/v1/posts/{id}/publish-now

Approved or scheduled posts only. channels (ids) publishes only those; the rest move to a new draft (split_post_id).

Auth: API key (Authorization: Bearer obx_live_…). Requires scope posts:publish with workspace role owner / admin / editor / agent.

Path parameters

Name Required Description
id yes Post id (post_…).

Headers

Name Required Description
Idempotency-Key no Replays within 24 h return the original response.

Request body

Field Type Description
channels array

Response 200 — Post. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X POST "https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/publish-now" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Archive#

POST/v1/posts/{id}/archive

Any state before publishing.

Auth: API key (Authorization: Bearer obx_live_…). Requires scope posts:read with workspace role owner / admin / editor / contributor / viewer / agent.

Path parameters

Name Required Description
id yes Post id (post_…).

Headers

Name Required Description
Idempotency-Key no Replays within 24 h return the original response.

Response 200 — Post. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X POST "https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/archive" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"