API reference
Scheduling
Queue slots, slot occurrences and natural-language time parsing.
Queue slots, slot occurrences and natural-language time parsing.
| Method | Endpoint | Summary |
|---|---|---|
| GET | /v1/workspaces/{ws}/publish-log |
Publishing log |
| GET | /v1/workspaces/{ws}/publish-log/summary |
Publishing health |
| GET | /v1/workspaces/{ws}/slots |
Queue slot occurrences |
| GET | /v1/workspaces/{ws}/queue-slots |
Queue slot definitions |
| GET | /v1/workspaces/{ws}/time |
Parse a natural-language time |
| GET | /v1/channels/{id}/slots |
Queue slots for a channel |
Publishing log#
GET/v1/workspaces/{ws}/publish-log
What the publishing engine did with each post, newest first: queued, preflight_ok/preflight_failed, attempt_started, published, retry_scheduled, failed codes (validation_failed, channel_auth_failed, content_rejected, internal_error, …), overdue, publishing_stalled, publishing_paused, token_refresh_failed, unscheduled_by_edit, unscheduled_changes_requested, channel_removed, missed_schedule (its time passed before it was approved and scheduled). level is info | success | warning | error (comma-separate several). post_excerpt is untrusted text.
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 |
|---|---|---|
ws |
yes | Workspace id (ws_…) or slug |
Query parameters
| Name | Required | Description |
|---|---|---|
level |
no | |
channel_id |
no | Only this channel. |
post_id |
no | |
variant_id |
no | |
code |
no | |
since |
no | |
limit |
no | Page size (default 50, max 200). |
cursor |
no | Opaque cursor from next_cursor. |
Response 200 — List. Errors: RFC 9457 Problem with a stable code (error codes).
curl -X GET "https://api.outboxer.dev/v1/workspaces/acme/publish-log?level=…" \
-H "Authorization: Bearer $OUTBOXER_API_KEY"const res = await fetch('https://api.outboxer.dev/v1/workspaces/acme/publish-log?level=…', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
},
});
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(
"GET",
"https://api.outboxer.dev/v1/workspaces/acme/publish-log?level=…",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}"},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()Publishing health#
GET/v1/workspaces/{ws}/publish-log/summary
Log counts by level since since (default 7 days), overdue scheduled variants, whether the scheduler tick ran in the last 3 minutes and whether queue workers are picking up publish jobs (null when it cannot be measured). Start here when a scheduled post did not go out.
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 |
|---|---|---|
ws |
yes | Workspace id (ws_…) or slug |
Query parameters
| Name | Required | Description |
|---|---|---|
since |
no |
Response 200 — Object. Errors: RFC 9457 Problem with a stable code (error codes).
curl -X GET "https://api.outboxer.dev/v1/workspaces/acme/publish-log/summary?since=…" \
-H "Authorization: Bearer $OUTBOXER_API_KEY"const res = await fetch('https://api.outboxer.dev/v1/workspaces/acme/publish-log/summary?since=…', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
},
});
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(
"GET",
"https://api.outboxer.dev/v1/workspaces/acme/publish-log/summary?since=…",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}"},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()Queue slot occurrences#
GET/v1/workspaces/{ws}/slots
All channels' queue slots in [from, to) with which post occupies each.
Auth: API key (Authorization: Bearer obx_live_…). Requires scope channels:read with workspace role owner / admin / editor / contributor / viewer / agent.
Path parameters
| Name | Required | Description |
|---|---|---|
ws |
yes | Workspace id (ws_…) or slug |
Query parameters
| Name | Required | Description |
|---|---|---|
from |
no | ISO-8601 date-time (range is [from, to)). |
to |
no | ISO-8601 date-time (range is [from, to)). |
Response 200 — List. Errors: RFC 9457 Problem with a stable code (error codes).
curl -X GET "https://api.outboxer.dev/v1/workspaces/acme/slots?from=2026-10-20" \
-H "Authorization: Bearer $OUTBOXER_API_KEY"const res = await fetch('https://api.outboxer.dev/v1/workspaces/acme/slots?from=2026-10-20', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
},
});
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(
"GET",
"https://api.outboxer.dev/v1/workspaces/acme/slots?from=2026-10-20",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}"},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()Queue slot definitions#
GET/v1/workspaces/{ws}/queue-slots
Recurring weekday/time/timezone slots per channel.
Auth: API key (Authorization: Bearer obx_live_…). Requires scope channels:read with workspace role owner / admin / editor / contributor / viewer / agent.
Path parameters
| Name | Required | Description |
|---|---|---|
ws |
yes | Workspace id (ws_…) or slug |
Response 200 — List. Errors: RFC 9457 Problem with a stable code (error codes).
curl -X GET "https://api.outboxer.dev/v1/workspaces/acme/queue-slots" \
-H "Authorization: Bearer $OUTBOXER_API_KEY"const res = await fetch('https://api.outboxer.dev/v1/workspaces/acme/queue-slots', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
},
});
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(
"GET",
"https://api.outboxer.dev/v1/workspaces/acme/queue-slots",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}"},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()Parse a natural-language time#
GET/v1/workspaces/{ws}/time
?q=tomorrow 9am → UTC and workspace-local time. Same parser as every time field.
Auth: API key (Authorization: Bearer obx_live_…).
Path parameters
| Name | Required | Description |
|---|---|---|
ws |
yes | Workspace id (ws_…) or slug |
Query parameters
| Name | Required | Description |
|---|---|---|
q |
no | Search text. |
timezone |
no |
Response 200 — Object. Errors: RFC 9457 Problem with a stable code (error codes).
curl -X GET "https://api.outboxer.dev/v1/workspaces/acme/time?q=roast" \
-H "Authorization: Bearer $OUTBOXER_API_KEY"const res = await fetch('https://api.outboxer.dev/v1/workspaces/acme/time?q=roast', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
},
});
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(
"GET",
"https://api.outboxer.dev/v1/workspaces/acme/time?q=roast",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}"},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()Queue slots for a channel#
GET/v1/channels/{id}/slots
Occurrences in [from, to) (default 14 days), DST-correct, with taken_by.
Auth: API key (Authorization: Bearer obx_live_…). Requires scope channels:read with workspace role owner / admin / editor / contributor / viewer / agent.
Path parameters
| Name | Required | Description |
|---|---|---|
id |
yes | Channel id (ch_…). |
Query parameters
| Name | Required | Description |
|---|---|---|
from |
no | ISO-8601 date-time (range is [from, to)). |
to |
no | ISO-8601 date-time (range is [from, to)). |
Response 200 — List. Errors: RFC 9457 Problem with a stable code (error codes).
curl -X GET "https://api.outboxer.dev/v1/channels/ch_01j9zq3k8m5v2b7x4c6n1p0r9s/slots?from=2026-10-20" \
-H "Authorization: Bearer $OUTBOXER_API_KEY"const res = await fetch('https://api.outboxer.dev/v1/channels/ch_01j9zq3k8m5v2b7x4c6n1p0r9s/slots?from=2026-10-20', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.OUTBOXER_API_KEY}`,
},
});
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(
"GET",
"https://api.outboxer.dev/v1/channels/ch_01j9zq3k8m5v2b7x4c6n1p0r9s/slots?from=2026-10-20",
headers={"Authorization": f"Bearer {os.environ['OUTBOXER_API_KEY']}"},
)
res.raise_for_status() # problem details: res.json()["code"]
data = res.json()