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)"const res = await fetch('https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/submit', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
'Idempotency-Key': crypto.randomUUID(),
},
});
if (!res.ok) throw new Error((await res.json()).code); // RFC 9457 problem
const data = await res.json();import os, uuid, requests
res = requests.request(
"POST",
"https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/submit",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()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"
}
}'const res = await fetch('https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/approve', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
'Idempotency-Key': crypto.randomUUID(),
'Content-Type': 'application/json',
},
body: JSON.stringify({
"note": "Looks good",
"schedule": {
"mode": "queue"
}
}),
});
if (!res.ok) throw new Error((await res.json()).code); // RFC 9457 problem
const data = await res.json();import os, uuid, requests
res = requests.request(
"POST",
"https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/approve",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"note": "Looks good",
"schedule": {
"mode": "queue"
}
},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()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."
}'const res = await fetch('https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/request-changes', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
'Idempotency-Key': crypto.randomUUID(),
'Content-Type': 'application/json',
},
body: JSON.stringify({
"note": "Lead with the tasting notes and drop the exclamation mark."
}),
});
if (!res.ok) throw new Error((await res.json()).code); // RFC 9457 problem
const data = await res.json();import os, uuid, requests
res = requests.request(
"POST",
"https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/request-changes",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"note": "Lead with the tasting notes and drop the exclamation mark."
},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()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"
}'const res = await fetch('https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/schedule', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
'Idempotency-Key': crypto.randomUUID(),
'Content-Type': 'application/json',
},
body: JSON.stringify({
"mode": "exact",
"at": "2026-10-20T09:00:00Z"
}),
});
if (!res.ok) throw new Error((await res.json()).code); // RFC 9457 problem
const data = await res.json();import os, uuid, requests
res = requests.request(
"POST",
"https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/schedule",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"mode": "exact",
"at": "2026-10-20T09:00:00Z"
},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()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)"const res = await fetch('https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/unschedule', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
'Idempotency-Key': crypto.randomUUID(),
},
});
if (!res.ok) throw new Error((await res.json()).code); // RFC 9457 problem
const data = await res.json();import os, uuid, requests
res = requests.request(
"POST",
"https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/unschedule",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()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)"const res = await fetch('https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/publish-now', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
'Idempotency-Key': crypto.randomUUID(),
},
});
if (!res.ok) throw new Error((await res.json()).code); // RFC 9457 problem
const data = await res.json();import os, uuid, requests
res = requests.request(
"POST",
"https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/publish-now",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()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)"const res = await fetch('https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/archive', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
'Idempotency-Key': crypto.randomUUID(),
},
});
if (!res.ok) throw new Error((await res.json()).code); // RFC 9457 problem
const data = await res.json();import os, uuid, requests
res = requests.request(
"POST",
"https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/archive",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()