REST v2 reference
Every registered capability is exposed as POST /v2/<domain>/<verb> with a JSON body. This page is generated from the committed registry snapshot and checked for drift in CI.
Wire conventions#
- Method and path: All capabilities, including reads, are
POST /v2/<domain>/<verb>withContent-Type: application/json(onlymedia.uploadtakesmultipart/form-data). Non-POST requests return405 method_not_allowed. - Authentication: Send
Authorization: Bearer <token>(hlk_API key,hlt_OAuth token or session JWT). Optionally sendX-Honeloop-Org: <org_uuidv7>to assert the credential's organisation. - Responses:
200 OKreturns the bare capability output;202 Acceptedreturns anApprovalDiversionon divertable capabilities;4xx/5xxreturnsKernelErrorShape. Every response carriesX-Correlation-IdandRateLimit-*headers. - Strict inputs, tolerant outputs: Unknown request fields fail with
400 validation_failed. Clients must ignore unknown response fields so additive schema changes remain non-breaking. - Universal errors: Every capability can return
unauthenticated,principal_disabled,org_mismatch,validation_failedandrate_limited. Each capability card below lists only its additional endpoint-specific errors. - Copilot streaming and research endpoints: Conversational copilot threads (
agent.copilot_*, 16 governed tools with Anthropic primary and OpenAI fallback), SSRF-hardened URL extraction (agent.extract_url) and live web research (agent.research_topic) live underagent.*. Live Server-Sent Events streaming runs atPOST /v2/agent/copilot_chat/streamthroughregistry.invoke("agent.copilot_chat")so the full policy gate, rate limits and audit trail apply. - Plugs, comments, shortlinks and async studio jobs: Auto-engagement rules live under
plugs.*, internal team post comments undercomments.*, and auto-shorten preferences undershortlinks.*. Stock photo search and import (media.search_stock,media.import_stock) plus long-running async jobs — image and video generation, credit-metered video clipping and narrated AI slideshows — live undermedia.*and return aprocessingrecord immediately before completing in the control worker.
Browse capabilities#
Activity (activity.*)
#
Query the append-only audit log for a post timeline or the whole workspace.
POST/v2/activity/list
List audit rows, newest first: a post's timeline or the organisation's activity log.
Request and response schemas (14 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
capability | string | no | None |
correlation_id | string | no | None |
cursor | string | no | <= 512 chars |
error_code | "capability_unknown" | "capability_retired" | "unauthenticated" | "principal_disabled" | "grant_expired" | "scope_missing" | "validation_failed" | "idempotency_key_required" | "payload_too_large" | "idempotency_mismatch" | "idempotency_in_flight" | "entitlement_exceeded" | "policy_forbidden" | "guardrail_forbidden" | "rate_limited" | "not_found" | "conflict_stale_version" | "channel_needs_reauth" | "platform_rejected" | "timeout" | "token_expired" | "login_link_invalid" | "csrf_failed" | "role_forbidden" | "token_reused" | "org_mismatch" | "credential_in_url" | "method_not_allowed" | "unsupported_media_type" | "credits_exhausted" | "budget_exceeded" | "invalid_state" | "cursor_invalid" | "publish_in_progress" | "publish_state_unknown" | "published_with_error" | "channel_disabled" | "platform_unavailable" | "orchestrator_unavailable" | "dependency_unavailable" | "internal_error" | no | None |
error_codes | array<"capability_unknown" | "capability_retired" | "unauthenticated" | "principal_disabled" | "grant_expired" | "scope_missing" | "validation_failed" | "idempotency_key_required" | "payload_too_large" | "idempotency_mismatch" | "idempotency_in_flight" | "entitlement_exceeded" | "policy_forbidden" | "guardrail_forbidden" | "rate_limited" | "not_found" | "conflict_stale_version" | "channel_needs_reauth" | "platform_rejected" | "timeout" | "token_expired" | "login_link_invalid" | "csrf_failed" | "role_forbidden" | "token_reused" | "org_mismatch" | "credential_in_url" | "method_not_allowed" | "unsupported_media_type" | "credits_exhausted" | "budget_exceeded" | "invalid_state" | "cursor_invalid" | "publish_in_progress" | "publish_state_unknown" | "published_with_error" | "channel_disabled" | "platform_unavailable" | "orchestrator_unavailable" | "dependency_unavailable" | "internal_error"> | no | 1..10 items, unique |
from | string (date-time) | no | None |
include_reads | boolean | no | default false |
limit | integer | no | 1..100, default 25 |
outcome | "ok" | "diverted" | "denied" | "failed" | no | None |
post_id | string (uuidv7) | no | None |
principal_id | string (uuidv7) | no | None |
session_id | string | no | 1..128 chars |
surface | "rest" | "mcp" | "sdk" | "cli" | "web" | "copilot" | "worker" | no | None |
to | string (date-time) | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.activity_row)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
Content agent (agent.*)
#
Read and configure the content agent, brand voice profile, inline compose assistant, learned preferences, runs and insights.
POST/v2/agent/assist_compose
Rewrite, shorten, expand, hook, threadify, shift tone, or translate post copy inline.
Request and response schemas (8 input fields, 3 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
action | "rewrite" | "shorten" | "expand" | "hook" | "threadify" | "tone_shift" | "translate" | yes | None |
channel_id | string (uuidv7) | no | None |
instructions | string | no | 1..1000 chars |
provider_id | string | no | None |
target_language | string | no | 2..32 chars |
text | string | yes | 1..10000 chars |
tone | string | no | 1..64 chars |
use_brand_voice | boolean | no | default true |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
model | string | no | 1..120 chars |
notes | string | no | <= 1000 chars |
parts | array<object> | yes | 1..25 items |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/agent/copilot_chat
Send a message to the workspace AI Copilot with policy- and scope-gated workspace tools. Send an Idempotency-Key for a turn that should schedule posts or generate media.
Request and response schemas (3 input fields, 8 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_ids | array<string (uuidv7)> | no | 1..20 items |
message | string | yes | 1..4000 chars |
thread_id | string (uuidv7) | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
cost_micro_usd | integer | yes | >= 0 |
message_id | string (uuidv7) | yes | None |
model | string | no | 1..120 chars |
reply | string | yes | 1..32000 chars |
suggested_draft | object | no | None |
thread_id | string (uuidv7) | yes | None |
thread_title | string | yes | 1..160 chars |
tool_calls | array<object> | yes | <= 32 items |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/agent/copilot_delete_thread
Delete an AI Copilot conversation thread and its messages owned by the caller.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
thread_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
deleted | true | yes | None |
id | string (uuidv7) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/agent/copilot_get_thread
Read one AI Copilot thread and its ordered messages owned by the caller.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
thread_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
messages | array<object> | yes | <= 200 items |
thread | object | yes | None |
Endpoint errors:scope_missing
POST/v2/agent/copilot_list_threads
List the caller's recent AI Copilot conversation threads in the workspace.
Request and response schemas (2 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..50, default 20 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/agent/disable
Disable the content agent: pause its schedules and cancel its open runs.
Request and response schemas (empty input, 8 output fields)
Input body: empty JSON object {}
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
budget | object | yes | None |
channels | array<object> | yes | <= 20 items |
copilot_openai_fallback | boolean | yes | None |
enabled | boolean | yes | None |
evaluation_sharing | boolean | yes | None |
limits | object | yes | None |
pooled_learning | "participate" | "receive_only" | "off" | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/agent/enable
Enable the content agent for this organisation (a person's session only).
Request and response schemas (empty input, 8 output fields)
Input body: empty JSON object {}
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
budget | object | yes | None |
channels | array<object> | yes | <= 20 items |
copilot_openai_fallback | boolean | yes | None |
enabled | boolean | yes | None |
evaluation_sharing | boolean | yes | None |
limits | object | yes | None |
pooled_learning | "participate" | "receive_only" | "off" | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/agent/extract_url
Extract an HTTPS article or page via safeFetch and generate platform-ready social post drafts.
Request and response schemas (5 input fields, 7 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | no | None |
instructions | string | no | 1..1000 chars |
max_parts | integer | no | 1..10 |
tone | string | no | 1..64 chars |
url | string (uri) | yes | 10..2048 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
cost_micro_usd | integer | yes | >= 0 |
key_points | array<string> | yes | <= 10 items |
model | string | no | 1..120 chars |
parts | array<object> | yes | 1..10 items |
source_url | string (uri) | yes | <= 2048 chars |
summary | string | yes | 1..2000 chars |
title | string | yes | 1..300 chars |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/agent/get_settings
Read the content agent's settings: cadence, windows, limits, budget.
Request and response schemas (empty input, 8 output fields)
Input body: empty JSON object {}
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
budget | object | yes | None |
channels | array<object> | yes | <= 20 items |
copilot_openai_fallback | boolean | yes | None |
enabled | boolean | yes | None |
evaluation_sharing | boolean | yes | None |
limits | object | yes | None |
pooled_learning | "participate" | "receive_only" | "off" | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missing
POST/v2/agent/get_status
Read the content agent's status: enabled, last and next run, cost, queue.
Request and response schemas (empty input, 11 output fields)
Input body: empty JSON object {}
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
active_prompt_version_id | string (uuidv7) | null | yes | None |
enabled | boolean | yes | None |
killed | boolean | yes | None |
last_fatal_code | string | null | yes | None |
last_run | object | null | yes | None |
month_cost_micro_usd | integer | yes | 0..9007199254740991 |
monthly_budget_micro_usd | integer | yes | 0..9007199254740991 |
next_run_at | string (date-time) | null | yes | None |
pending_proposals | integer | yes | 0..9007199254740991 |
profile_version | integer | null | yes | None |
queue_stalled | boolean | yes | None |
Endpoint errors:scope_missing
POST/v2/agent/insights_get
Read what the agent learned, its approval metrics and pooled statistics with intervals.
Request and response schemas (empty input, 5 output fields)
Input body: empty JSON object {}
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
approval_metrics | object | yes | None |
holdout | object | null | yes | None |
messages | array<string> | yes | None |
pooled | array<object> | yes | None |
preferences | array<object> | yes | None |
Endpoint errors:scope_missing
POST/v2/agent/preference_changes_list
List one learned preference's changes, oldest first, with who made each.
Request and response schemas (3 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
preference_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/agent/preference_revert
Revert a learned preference, at its version, so the agent stops applying it.
Request and response schemas (3 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
preference_id | string (uuidv7) | yes | None |
reason | string | no | 1..500 chars |
version | integer | yes | >= 1 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
variant_1 | object | yes | required: id, status, reason, support_count, contradict_count, created_by_learning_run, activated_at, reverted_by, reverted_at, revert_reason, suppress_until, version, created_at, updated_at, category, statement |
variant_2 | object | yes | required: id, status, reason, support_count, contradict_count, created_by_learning_run, activated_at, reverted_by, reverted_at, revert_reason, suppress_until, version, created_at, updated_at, category, statement |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flightconflict_stale_versionnot_found
POST/v2/agent/profile_get
Read the current brand voice profile, optionally with learned preferences.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
include_learned | boolean | no | default false |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
learned_preferences | array<object> | no | <= 20 items |
profile | object (entity.brand_profile_version) | null | yes | None |
Endpoint errors:scope_missing
POST/v2/agent/profile_update
Save a new version of the brand voice profile on the version you read.
Request and response schemas (2 input fields, 4 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
base_version | integer | yes | >= 0 |
data | object (entity.brand_profile_data) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
data | object (entity.brand_profile_data) | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flightconflict_stale_versionnot_found
POST/v2/agent/research_topic
Run live web research over a configured search provider and synthesize cited social post drafts.
Request and response schemas (5 input fields, 7 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | no | None |
max_parts | integer | no | 1..10 |
max_sources | integer | no | 1..8, default 5 |
tone | string | no | 1..64 chars |
topic | string | yes | 3..500 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
cost_micro_usd | integer | yes | >= 0 |
hooks | array<string> | yes | <= 10 items |
model | string | no | 1..120 chars |
parts | array<object> | yes | 1..10 items |
sources | array<object> | yes | <= 8 items |
summary | string | yes | 1..2500 chars |
topic | string | yes | 1..500 chars |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/agent/run_get
Read one run with its drafts, outcomes and step summaries.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
run_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
drafts | array<object> | yes | None |
run | object (entity.agent_run) | yes | None |
Endpoint errors:scope_missing
POST/v2/agent/run_now
Start one run of the content agent now (6 per organisation per day).
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
max_drafts | integer | no | 1..5 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
run_id | string (uuidv7) | yes | None |
workflow_id | string | yes | None |
Endpoint errors:scope_missingidempotency_key_requiredidempotency_mismatchidempotency_in_flightinvalid_statebudget_exceededorchestrator_unavailable
POST/v2/agent/runs_list
List the agent's runs, newest first, with status, drafts and cost.
Request and response schemas (3 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
status | "running" | "completed" | "failed" | "budget_exceeded" | "killed" | "cancelled" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.agent_run)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/agent/update_settings
Change the content agent's settings, or the copilot's OpenAI fallback, at its version.
Request and response schemas (7 input fields, 8 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
budget | object | no | None |
channels | array<object> | no | <= 20 items |
copilot_openai_fallback | boolean | no | None |
evaluation_sharing | boolean | no | None |
limits | object | no | None |
pooled_learning | "participate" | "receive_only" | "off" | no | None |
version | integer | yes | >= 1 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
budget | object | yes | None |
channels | array<object> | yes | <= 20 items |
copilot_openai_fallback | boolean | yes | None |
enabled | boolean | yes | None |
evaluation_sharing | boolean | yes | None |
limits | object | yes | None |
pooled_learning | "participate" | "receive_only" | "off" | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flightconflict_stale_versionnot_found
Analytics (analytics.*)
#
Query normalised post and channel engagement metrics over configurable time windows and granularities.
POST/v2/analytics/query
Query normalized post and channel analytics over a time window.
Request and response schemas (7 input fields, 5 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_ids | array<string (uuidv7)> | no | 1..50 items, unique |
from | string (date-time) | yes | None |
granularity | "day" | "week" | "month" | no | None |
metrics | array<string> | no | 1..32 items, unique |
post_id | string (uuidv7) | no | None |
publication_id | string (uuidv7) | no | None |
until | string (date-time) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
from | string (date-time) | yes | None |
granularity | "day" | "week" | "month" | yes | None |
series | array<object> | yes | None |
totals | object | yes | None |
until | string (date-time) | yes | None |
Endpoint errors:scope_missing
Approvals (approvals.*)
#
List pending approval requests, request pre-clearance and record human decisions.
POST/v2/approvals/decide
Approve or reject a pending approval request at its version; approval schedules the post.
Request and response schemas (4 input fields, 13 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
approval_request_id | string (uuidv7) | yes | None |
decision | "approved" | "rejected" | yes | None |
feedback | object | no | None |
version | integer | yes | >= 1 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
created_at | string (date-time) | yes | None |
decided_at | string (date-time) | null | yes | None |
decided_by | string (uuidv7) | null | yes | None |
expires_at | string (date-time) | yes | None |
feedback | object | null | yes | None |
id | string (uuidv7) | yes | None |
note | object | no | None |
origin | "diverted" | "explicit" | "sampled" | "guardrail" | "cap" | yes | None |
post_id | string (uuidv7) | yes | None |
post_version | integer | yes | >= 1 |
requested_by_principal | string (uuidv7) | yes | None |
state | "pending" | "approved" | "rejected" | "expired" | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missingidempotency_key_requiredidempotency_mismatchidempotency_in_flightnot_foundconflict_stale_versioninvalid_stateguardrail_forbiddenorchestrator_unavailable
POST/v2/approvals/list
List approval requests with their post, policy and requester, expiring first.
Request and response schemas (9 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | no | None |
cursor | string | no | <= 512 chars |
ids | array<string (uuidv7)> | no | 1..100 items, unique |
limit | integer | no | 1..100, default 25 |
origin | "diverted" | "explicit" | "sampled" | "guardrail" | "cap" | no | None |
post_id | string (uuidv7) | no | None |
requested_by_principal_id | string (uuidv7) | no | None |
sort | "expires_at_asc" | no | None |
state | "pending" | "approved" | "rejected" | "expired" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.approval_list_item)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/approvals/request
Ask a person to review a draft post before it is scheduled.
Request and response schemas (3 input fields, 13 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
note | object | no | None |
post_id | string (uuidv7) | yes | None |
version | integer | yes | >= 1 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
created_at | string (date-time) | yes | None |
decided_at | string (date-time) | null | yes | None |
decided_by | string (uuidv7) | null | yes | None |
expires_at | string (date-time) | yes | None |
feedback | object | null | yes | None |
id | string (uuidv7) | yes | None |
note | object | no | None |
origin | "diverted" | "explicit" | "sampled" | "guardrail" | "cap" | yes | None |
post_id | string (uuidv7) | yes | None |
post_version | integer | yes | >= 1 |
requested_by_principal | string (uuidv7) | yes | None |
state | "pending" | "approved" | "rejected" | "expired" | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flightnot_foundconflict_stale_versioninvalid_state
POST/v2/approvals/request_resubmit
Ask the requester to resubmit an expired approval request.
Request and response schemas (2 input fields, 13 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
approval_request_id | string (uuidv7) | yes | None |
version | integer | yes | >= 1 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
created_at | string (date-time) | yes | None |
decided_at | string (date-time) | null | yes | None |
decided_by | string (uuidv7) | null | yes | None |
expires_at | string (date-time) | yes | None |
feedback | object | null | yes | None |
id | string (uuidv7) | yes | None |
note | object | no | None |
origin | "diverted" | "explicit" | "sampled" | "guardrail" | "cap" | yes | None |
post_id | string (uuidv7) | yes | None |
post_version | integer | yes | >= 1 |
requested_by_principal | string (uuidv7) | yes | None |
state | "pending" | "approved" | "rejected" | "expired" | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flightnot_foundconflict_stale_versioninvalid_state
Autoposts (autoposts.*)
#
Subscribe to RSS and Atom feeds to draft or queue posts for approval automatically.
POST/v2/autoposts/create
Create an RSS/Atom feed autopost rule.
Request and response schemas (7 input fields, 14 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
active | boolean | no | default true |
add_link | boolean | no | default true |
channel_ids | array<string (uuidv7)> | yes | 1..20 items, unique |
feed_url | string (uri) | yes | <= 2048 chars |
generate_ai_copy | boolean | no | default false |
name | string | yes | 1..120 chars |
target_mode | "draft" | "schedule" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
active | boolean | yes | None |
add_link | boolean | yes | None |
channel_ids | array<string (uuidv7)> | yes | 1..20 items, unique |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
feed_url | string (uri) | yes | <= 2048 chars |
generate_ai_copy | boolean | yes | None |
id | string (uuidv7) | yes | None |
last_error | string | null | yes | None |
last_item_url | string (uri) | null | yes | None |
last_polled_at | string (date-time) | null | yes | None |
name | string | yes | 1..120 chars |
target_mode | "draft" | "schedule" | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/autoposts/delete
Delete an RSS/Atom feed autopost rule.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
autopost_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
deleted | true | yes | None |
id | string (uuidv7) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/autoposts/list
List RSS/Atom feed autopost rules for the organisation.
Request and response schemas (3 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
active | boolean | no | None |
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.autopost)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/autoposts/trigger
Immediately poll an RSS/Atom feed autopost rule and create posts for new items.
Request and response schemas (1 input field, 4 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
autopost_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
autopost_id | string (uuidv7) | yes | None |
created_post_ids | array<string (uuidv7)> | yes | None |
last_item_url | string (uri) | null | yes | None |
polled_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/autoposts/update
Update an RSS/Atom feed autopost rule.
Request and response schemas (8 input fields, 14 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
active | boolean | no | None |
add_link | boolean | no | None |
autopost_id | string (uuidv7) | yes | None |
channel_ids | array<string (uuidv7)> | no | 1..20 items, unique |
feed_url | string (uri) | no | <= 2048 chars |
generate_ai_copy | boolean | no | None |
name | string | no | 1..120 chars |
target_mode | "draft" | "schedule" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
active | boolean | yes | None |
add_link | boolean | yes | None |
channel_ids | array<string (uuidv7)> | yes | 1..20 items, unique |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
feed_url | string (uri) | yes | <= 2048 chars |
generate_ai_copy | boolean | yes | None |
id | string (uuidv7) | yes | None |
last_error | string | null | yes | None |
last_item_url | string (uri) | null | yes | None |
last_polled_at | string (date-time) | null | yes | None |
name | string | yes | 1..120 chars |
target_mode | "draft" | "schedule" | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Billing (billing.*)
#
Inspect workspace plan tier, metered usage, trial or dunning state and hosted billing sessions.
POST/v2/billing/add_seats
Add human member seat allowance to the organisation's cloud subscription.
Request and response schemas (1 input field, 9 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
additional_seats | integer | yes | 1..100 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
added_seats | integer | yes | 1..100 |
checkout_url | string (uri) | null | yes | None |
currency | string | yes | None |
external_reference | string | null | yes | None |
extra_seats | integer | yes | >= 0 |
plan_tier | "free" | "self_hosted" | "trial" | "starter" | "pro" | "agency" | yes | None |
status | "applied" | "pending_checkout" | yes | None |
total_seats | integer | yes | >= 1 |
unit_price_usd_cents | integer | yes | >= 0 |
Endpoint errors:scope_missingidempotency_key_requiredidempotency_mismatchidempotency_in_flight
POST/v2/billing/get_usage
Read the organisation's plan tier, subscription state, usage meters, credits and X spend.
Request and response schemas (empty input, 13 output fields)
Input body: empty JSON object {}
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
addons | object | yes | None |
agent_learning_spend | object | yes | None |
billing_interval | "monthly" | "annual" | null | yes | None |
cancel_at_period_end | boolean | yes | None |
credits | object | yes | None |
dunning | object | yes | None |
enforced | boolean | yes | None |
meters | object | yes | None |
period | object | yes | None |
plan_tier | "free" | "self_hosted" | "trial" | "starter" | "pro" | "agency" | yes | None |
status | "none" | "trialing" | "active" | "past_due" | "unpaid" | "canceled" | "incomplete" | "incomplete_expired" | "paused" | "suspended" | yes | None |
trial | object | yes | None |
x_passthrough | object | yes | None |
Endpoint errors:scope_missing
POST/v2/billing/purchase_credits
Purchase an agent-draft overage pack or prepaid credit top-up for the organisation.
Request and response schemas (2 input fields, 11 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
pack_type | "draft_overage_pack" | "credit_topup" | no | default "draft_overage_pack" |
quantity | integer | yes | 1..100 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
amount_usd_cents | integer | yes | >= 0 |
checkout_url | string (uri) | null | yes | None |
credit_balance | integer | yes | None |
credits_granted | integer | yes | >= 0 |
currency | string | yes | None |
drafts_granted | integer | yes | >= 0 |
external_reference | string | null | yes | None |
ledger_entry_id | string (uuidv7) | null | yes | None |
pack_type | "draft_overage_pack" | "credit_topup" | yes | None |
quantity | integer | yes | 1..100 |
status | "completed" | "pending_checkout" | yes | None |
Endpoint errors:scope_missingidempotency_key_requiredidempotency_mismatchidempotency_in_flight
Channels (channels.*)
#
List, connect, configure posting queues and customer links, and disconnect social accounts bound to an organisation.
POST/v2/channels/complete_connect
Finish connecting a channel with what the provider's OAuth flow returned.
Request and response schemas (5 input fields, 13 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
account_id | string | no | 1..512 chars |
code | string | no | 1..4096 chars |
device_id | string | no | 1..256 chars |
error | "access_denied" | "invalid_request" | "unauthorized_client" | "unsupported_response_type" | "invalid_scope" | "server_error" | "temporarily_unavailable" | no | None |
state | string | yes | 1..512 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
access_level | "development" | "production" | no | None |
access_limit | string | no | 1..500 chars |
account_ref | string | yes | None |
created_at | string (date-time) | yes | None |
customer_id | string (uuidv7) | null | no | None |
default_settings | object | no | None |
display_name | string | yes | None |
id | string (uuidv7) | yes | None |
last_problem | object | no | None |
posting_times | array<object> | no | <= 70 items |
provider_id | string | yes | None |
status | "active" | "needs_reauth" | "disabled" | yes | None |
timezone | string | no | 1..64 chars |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flightplatform_rejectedplatform_unavailableentitlement_exceeded
POST/v2/channels/configure_platform_app
Configure or update an organisation-owned OAuth platform app with DEK-encrypted credentials.
Request and response schemas (5 input fields, 6 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
client_id | string | yes | 1..512 chars |
client_secret | string | yes | 1..2048 chars |
extra | object | no | None |
provider_id | string | yes | None |
status | "active" | "disabled" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
client_key | string | yes | 1..512 chars |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
provider_id | string | yes | None |
status | "active" | "disabled" | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/channels/connect_credentials
Connect a channel through a provider's credential form.
Request and response schemas (3 input fields, 13 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
form | object | yes | None |
provider_id | string | yes | None |
variant_id | string | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
access_level | "development" | "production" | no | None |
access_limit | string | no | 1..500 chars |
account_ref | string | yes | None |
created_at | string (date-time) | yes | None |
customer_id | string (uuidv7) | null | no | None |
default_settings | object | no | None |
display_name | string | yes | None |
id | string (uuidv7) | yes | None |
last_problem | object | no | None |
posting_times | array<object> | no | <= 70 items |
provider_id | string | yes | None |
status | "active" | "needs_reauth" | "disabled" | yes | None |
timezone | string | no | 1..64 chars |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flightplatform_rejectedplatform_unavailableentitlement_exceeded
POST/v2/channels/connect_url
Start connecting a channel through a provider's OAuth flow.
Request and response schemas (4 input fields, 3 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | no | None |
instance_url | string | no | <= 262 chars |
provider_id | string | yes | None |
variant_id | string | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
expires_at | string (date-time) | yes | None |
state | string | yes | 1..512 chars |
url | string (uri) | yes | <= 8192 chars |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/channels/delete_platform_app
Delete an organisation-owned OAuth platform app configuration for a provider.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
provider_id | string | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
deleted | boolean | yes | None |
provider_id | string | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/channels/disconnect
Disconnect a channel: it becomes disabled and its credential is scrubbed.
Request and response schemas (1 input field, 13 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
access_level | "development" | "production" | no | None |
access_limit | string | no | 1..500 chars |
account_ref | string | yes | None |
created_at | string (date-time) | yes | None |
customer_id | string (uuidv7) | null | no | None |
default_settings | object | no | None |
display_name | string | yes | None |
id | string (uuidv7) | yes | None |
last_problem | object | no | None |
posting_times | array<object> | no | <= 70 items |
provider_id | string | yes | None |
status | "active" | "needs_reauth" | "disabled" | yes | None |
timezone | string | no | 1..64 chars |
Endpoint errors:scope_missingidempotency_key_requiredidempotency_mismatchidempotency_in_flightnot_found
POST/v2/channels/exchange_connect
Exchange an OAuth callback code, returning either the connected channel or a pending account picker selection.
Request and response schemas (4 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
code | string | no | 1..4096 chars |
device_id | string | no | 1..256 chars |
error | "access_denied" | "invalid_request" | "unauthorized_client" | "unsupported_response_type" | "invalid_scope" | "server_error" | "temporarily_unavailable" | no | None |
state | string | yes | 1..512 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
variant_1 | object | yes | required: status, channel |
variant_2 | object | yes | required: status, selection_token, provider_id, variant_id, expires_at, accounts |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/channels/list
List the organisation's channels, newest first, a page at a time.
Request and response schemas (4 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
provider_id | string | no | None |
status | "active" | "needs_reauth" | "disabled" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.channel)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/channels/list_platform_apps
List organisation-owned OAuth platform apps configured for this workspace.
Request and response schemas (empty input, 1 output field)
Input body: empty JSON object {}
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.org_platform_app)> | yes | None |
Endpoint errors:scope_missing
POST/v2/channels/select_account
Finish a multi-step OAuth connection by choosing one account from a pending selection.
Request and response schemas (2 input fields, 13 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
account_id | string | yes | 1..512 chars |
selection_token | string | yes | 32..128 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
access_level | "development" | "production" | no | None |
access_limit | string | no | 1..500 chars |
account_ref | string | yes | None |
created_at | string (date-time) | yes | None |
customer_id | string (uuidv7) | null | no | None |
default_settings | object | no | None |
display_name | string | yes | None |
id | string (uuidv7) | yes | None |
last_problem | object | no | None |
posting_times | array<object> | no | <= 70 items |
provider_id | string | yes | None |
status | "active" | "needs_reauth" | "disabled" | yes | None |
timezone | string | no | 1..64 chars |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/channels/update
Update a channel's display name, customer grouping, timezone, or posting queue times.
Request and response schemas (6 input fields, 13 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | yes | None |
customer_id | string (uuidv7) | null | no | None |
default_settings | object | null | no | None |
display_name | string | no | 1..120 chars |
posting_times | array<object> | no | <= 70 items |
timezone | string | no | 1..64 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
access_level | "development" | "production" | no | None |
access_limit | string | no | 1..500 chars |
account_ref | string | yes | None |
created_at | string (date-time) | yes | None |
customer_id | string (uuidv7) | null | no | None |
default_settings | object | no | None |
display_name | string | yes | None |
id | string (uuidv7) | yes | None |
last_problem | object | no | None |
posting_times | array<object> | no | <= 70 items |
provider_id | string | yes | None |
status | "active" | "needs_reauth" | "disabled" | yes | None |
timezone | string | no | 1..64 chars |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Comments (comments.*)
#
Create, list, resolve and delete standalone internal team comments and threaded replies on posts.
POST/v2/comments/create
Add a standalone internal team comment or reply on a post.
Request and response schemas (7 input fields, 15 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
anchor_end | integer | no | 0..2147483647 |
anchor_part_index | integer | no | 0..2147483647 |
anchor_quote | string | no | 1..280 chars |
anchor_start | integer | no | 0..2147483647 |
body | string | yes | 1..4000 chars |
parent_id | string (uuidv7) | no | None |
post_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
anchor_end | integer | null | yes | None |
anchor_part_index | integer | null | yes | None |
anchor_quote | string | null | yes | None |
anchor_start | integer | null | yes | None |
author_name | string | yes | 1..120 chars |
author_principal_id | string (uuidv7) | yes | None |
author_type | "user" | "api_key" | "oauth_client" | "agent" | yes | None |
body | string | yes | 1..4000 chars |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
parent_id | string (uuidv7) | null | yes | None |
post_id | string (uuidv7) | yes | None |
resolved_at | string (date-time) | null | yes | None |
resolved_by_principal_id | string (uuidv7) | null | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/comments/delete
Delete an internal team post comment (allowed for the comment author or an org admin).
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
comment_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
deleted | true | yes | None |
id | string (uuidv7) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/comments/list
List threaded internal team comments on a post with author metadata.
Request and response schemas (4 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
include_resolved | boolean | no | default true |
limit | integer | no | 1..100, default 25 |
post_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.post_comment)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/comments/resolve
Resolve or reopen an internal team comment on a post.
Request and response schemas (2 input fields, 15 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
comment_id | string (uuidv7) | yes | None |
resolved | boolean | no | default true |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
anchor_end | integer | null | yes | None |
anchor_part_index | integer | null | yes | None |
anchor_quote | string | null | yes | None |
anchor_start | integer | null | yes | None |
author_name | string | yes | 1..120 chars |
author_principal_id | string (uuidv7) | yes | None |
author_type | "user" | "api_key" | "oauth_client" | "agent" | yes | None |
body | string | yes | 1..4000 chars |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
parent_id | string (uuidv7) | null | yes | None |
post_id | string (uuidv7) | yes | None |
resolved_at | string (date-time) | null | yes | None |
resolved_by_principal_id | string (uuidv7) | null | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Costs (costs.*)
#
Estimate platform API pass-through costs, metered credits and entitlement impact.
POST/v2/costs/estimate
Estimate what publishing a post, or a hypothetical action, would cost: X API usage, AI credits and plan entitlements.
Request and response schemas (3 input fields, 4 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
action | "posts.publish_now" | "posts.schedule" | "media.generate_image" | "media.generate_video" | no | None |
params | object | no | None |
post_id | string (uuidv7) | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
line_items | array<object> | yes | None |
remaining | object | yes | None |
totals | object | yes | None |
warnings | array<object> | yes | None |
Endpoint errors:scope_missing
Customers (customers.*)
#
Group agency client channels under named customer records.
POST/v2/customers/create
Create a customer group for organizing channels.
Request and response schemas (3 input fields, 6 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
color | string | no | default "#0ea5e9" |
name | string | yes | 1..120 chars |
notes | string | null | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
color | string | yes | None |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
name | string | yes | 1..120 chars |
notes | string | null | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/customers/delete
Delete a customer group and detach its channels.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
customer_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
deleted | true | yes | None |
id | string (uuidv7) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/customers/list
List customer groupings used to organize channels.
Request and response schemas (2 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.customer)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/customers/update
Update a customer group's name, colour, or notes.
Request and response schemas (4 input fields, 6 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
color | string | no | None |
customer_id | string (uuidv7) | yes | None |
name | string | no | 1..120 chars |
notes | string | null | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
color | string | yes | None |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
name | string | yes | 1..120 chars |
notes | string | null | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Events (events.*)
#
Poll the ascending organisation domain-event stream with opaque filter-bound cursors over the 90-day window.
POST/v2/events/list
Poll domain events in ascending order with an opaque cursor.
Request and response schemas (9 input fields, 4 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | no | None |
correlation_id | string | no | None |
cursor | string | no | <= 512 chars |
limit | integer | no | 1..200, default 50 |
post_id | string (uuidv7) | no | None |
principal_id | string (uuidv7) | no | None |
session_id | string | no | 1..128 chars |
since | string (date-time) | no | None |
types | array<string> | no | 1..20 items |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
has_more | boolean | yes | None |
items | array<object (entity.event_envelope)> | yes | None |
next_cursor | string | yes | >= 1 chars |
poll_after_ms | integer | yes | >= 0 |
Endpoint errors:scope_missingcursor_invalid
Grants (grants.*)
#
Inspect and revoke delegated OAuth 2.1 access grants minted for external applications and agents.
POST/v2/grants/revoke
Revoke an OAuth grant and immediately invalidate all tokens issued under it.
Request and response schemas (2 input fields, 4 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
grant_id | string (uuidv7) | yes | None |
reason | string | no | 1..64 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
already_revoked | boolean | yes | None |
grant_id | string (uuidv7) | yes | None |
status | "revoked" | yes | None |
tokens_revoked | integer | yes | >= 0 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Media (media.*)
#
Upload images, GIFs, MP4/MOV/WebM videos and PDFs directly or by URL, update metadata, clip videos and browse the workspace media library.
POST/v2/media/clip_create
Start an AI video clipping job from a library video or public HTTPS video URL.
Request and response schemas (7 input fields, 12 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
aspect_ratio | "9:16" | "1:1" | "16:9" | "4:5" | no | None |
auto_create_drafts | boolean | no | default false |
burn_captions | boolean | no | None |
framing_mode | "blur" | "crop" | no | None |
max_clips | integer | no | 1..20, default 5 |
source_media_id | string (uuidv7) | no | None |
source_url | string | no | 10..2048 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
aspect_ratio | "9:16" | "1:1" | "16:9" | "4:5" | yes | None |
auto_create_drafts | boolean | yes | None |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
error | string | null | yes | None |
id | string (uuidv7) | yes | None |
items | array<object (entity.media_clip_item)> | yes | <= 20 items |
max_clips | integer | yes | 1..20 |
source_media_id | string (uuidv7) | yes | None |
status | "queued" | "analyzing" | "clipping" | "ready" | "failed" | yes | None |
transcript | string | null | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/media/clip_get
Read the status, transcript, and generated clips of a video clipping job.
Request and response schemas (1 input field, 12 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
clip_job_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
aspect_ratio | "9:16" | "1:1" | "16:9" | "4:5" | yes | None |
auto_create_drafts | boolean | yes | None |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
error | string | null | yes | None |
id | string (uuidv7) | yes | None |
items | array<object (entity.media_clip_item)> | yes | <= 20 items |
max_clips | integer | yes | 1..20 |
source_media_id | string (uuidv7) | yes | None |
status | "queued" | "analyzing" | "clipping" | "ready" | "failed" | yes | None |
transcript | string | null | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missing
POST/v2/media/clip_list
List AI video clipping jobs for the organisation, newest first.
Request and response schemas (4 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
source_media_id | string (uuidv7) | no | None |
status | "queued" | "analyzing" | "clipping" | "ready" | "failed" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.media_clip_job)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/media/delete
Soft-delete a media asset from the library.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
media_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
deleted | true | yes | None |
id | string (uuidv7) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/media/generate_image
Generate an AI image asset into the media library.
Request and response schemas (5 input fields, 11 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
alt | string | no | <= 1000 chars |
aspect_ratio | "1:1" | "16:9" | "9:16" | "4:5" | "4:3" | no | None |
prompt | string | yes | 1..4000 chars |
provider | string | no | 1..64 chars |
style | string | no | 1..120 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
cost_millicredits | integer | yes | 0..2147483647 |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
error | string | null | yes | None |
id | string (uuidv7) | yes | None |
kind | "image" | "video" | yes | None |
media_id | string (uuidv7) | null | yes | None |
prompt | string | yes | 1..4000 chars |
provider | string | yes | 1..64 chars |
status | "queued" | "processing" | "ready" | "failed" | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/media/generate_slideshow
Generate a narrated AI slideshow video asset into the media library.
Request and response schemas (7 input fields, 11 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
aspect_ratio | "9:16" | "1:1" | "16:9" | "4:5" | yes | None |
burn_captions | boolean | no | None |
image_provider | "openai" | "fal" | no | None |
prompt | string | yes | 3..2000 chars |
slides | array<object> | no | 1..8 items |
tts_provider | "elevenlabs" | "openai" | no | None |
voice_id | string | no | 1..64 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
cost_millicredits | integer | yes | 0..2147483647 |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
error | string | null | yes | None |
id | string (uuidv7) | yes | None |
kind | "image" | "video" | yes | None |
media_id | string (uuidv7) | null | yes | None |
prompt | string | yes | 1..4000 chars |
provider | string | yes | 1..64 chars |
status | "queued" | "processing" | "ready" | "failed" | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_key_requiredidempotency_mismatchidempotency_in_flight
POST/v2/media/generate_video
Generate an AI video asset into the media library.
Request and response schemas (5 input fields, 11 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
aspect_ratio | "1:1" | "16:9" | "9:16" | "4:5" | "4:3" | no | None |
duration_seconds | integer | no | 2..60 |
prompt | string | yes | 1..4000 chars |
provider | string | no | 1..64 chars |
source_media_id | string (uuidv7) | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
cost_millicredits | integer | yes | 0..2147483647 |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
error | string | null | yes | None |
id | string (uuidv7) | yes | None |
kind | "image" | "video" | yes | None |
media_id | string (uuidv7) | null | yes | None |
prompt | string | yes | 1..4000 chars |
provider | string | yes | 1..64 chars |
status | "queued" | "processing" | "ready" | "failed" | yes | None |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/media/import_stock
Import and sanitize an allowlisted Unsplash or Pexels stock photo into the media library.
Request and response schemas (6 input fields, 17 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
alt | string | no | <= 1000 chars |
download_url | string (uri) | yes | 10..2048 chars |
external_ref | string | yes | 1..128 chars |
photographer_name | string | no | 1..200 chars |
provider | "unsplash" | "pexels" | yes | None |
source_url | string (uri) | no | 10..2048 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
alt | string | null | yes | None |
checksum | string | null | yes | None |
created_at | string (date-time) | yes | None |
duration_ms | integer | null | yes | None |
filename | string | null | no | None |
height | integer | null | yes | None |
id | string (uuidv7) | yes | None |
kind | "image" | "video" | "gif" | "document" | yes | None |
metadata | object (entity.media_metadata) | null | no | None |
mime | string (mime-type) | yes | None |
size_bytes | integer | yes | >= 0 |
status | "processing" | "ready" | "failed" | yes | None |
thumbnail_timestamp_ms | integer | null | no | None |
thumbnail_url | string (uri) | null | no | None |
uploaded_by_principal | string (uuidv7) | yes | None |
url | string (uri) | yes | <= 4096 chars |
width | integer | null | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/media/list
List the media library, newest first, by kind, status or search query.
Request and response schemas (5 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
kind | "image" | "video" | "gif" | "document" | no | None |
limit | integer | no | 1..100, default 25 |
q | string | no | 1..120 chars |
status | "processing" | "ready" | "failed" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.media)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/media/list_voices
List available narration voices for AI slideshow generation.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
provider | "elevenlabs" | "openai" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
configured_providers | array<"elevenlabs" | "openai"> | yes | <= 2 items |
voices | array<object (entity.media_voice)> | yes | <= 200 items |
Endpoint errors:scope_missing
POST/v2/media/search_stock
Search royalty-free stock photos from configured Unsplash and Pexels providers.
Request and response schemas (5 input fields, 5 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
orientation | "landscape" | "portrait" | "squarish" | no | None |
page | integer | no | 1..20, default 1 |
per_page | integer | no | 1..30, default 15 |
provider | "all" | "unsplash" | "pexels" | no | None |
query | string | yes | 1..200 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
configured_providers | array<"unsplash" | "pexels"> | yes | <= 2 items |
has_more | boolean | yes | None |
items | array<object (entity.stock_media_item)> | yes | <= 60 items |
page | integer | yes | 1..20 |
per_page | integer | yes | 1..30 |
Endpoint errors:scope_missing
POST/v2/media/update
Update alt text, display name, or video thumbnail timestamp on a media asset.
Request and response schemas (4 input fields, 17 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
alt | string | null | no | None |
filename | string | null | no | None |
media_id | string (uuidv7) | yes | None |
thumbnail_timestamp_ms | integer | null | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
alt | string | null | yes | None |
checksum | string | null | yes | None |
created_at | string (date-time) | yes | None |
duration_ms | integer | null | yes | None |
filename | string | null | no | None |
height | integer | null | yes | None |
id | string (uuidv7) | yes | None |
kind | "image" | "video" | "gif" | "document" | yes | None |
metadata | object (entity.media_metadata) | null | no | None |
mime | string (mime-type) | yes | None |
size_bytes | integer | yes | >= 0 |
status | "processing" | "ready" | "failed" | yes | None |
thumbnail_timestamp_ms | integer | null | no | None |
thumbnail_url | string (uri) | null | no | None |
uploaded_by_principal | string (uuidv7) | yes | None |
url | string (uri) | yes | <= 4096 chars |
width | integer | null | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/media/upload
Upload an image, gif, video or document to the media library, with alt text.
Request and response schemas (2 input fields, 17 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
alt | string | no | <= 1000 chars |
filename | string | no | 1..255 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
alt | string | null | yes | None |
checksum | string | null | yes | None |
created_at | string (date-time) | yes | None |
duration_ms | integer | null | yes | None |
filename | string | null | no | None |
height | integer | null | yes | None |
id | string (uuidv7) | yes | None |
kind | "image" | "video" | "gif" | "document" | yes | None |
metadata | object (entity.media_metadata) | null | no | None |
mime | string (mime-type) | yes | None |
size_bytes | integer | yes | >= 0 |
status | "processing" | "ready" | "failed" | yes | None |
thumbnail_timestamp_ms | integer | null | no | None |
thumbnail_url | string (uri) | null | no | None |
uploaded_by_principal | string (uuidv7) | yes | None |
url | string (uri) | yes | <= 4096 chars |
width | integer | null | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/media/upload_from_url
Import an image, gif, video or document into the media library from a URL.
Request and response schemas (3 input fields, 17 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
alt | string | no | <= 1000 chars |
filename | string | no | 1..255 chars |
url | string (uri) | yes | <= 2048 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
alt | string | null | yes | None |
checksum | string | null | yes | None |
created_at | string (date-time) | yes | None |
duration_ms | integer | null | yes | None |
filename | string | null | no | None |
height | integer | null | yes | None |
id | string (uuidv7) | yes | None |
kind | "image" | "video" | "gif" | "document" | yes | None |
metadata | object (entity.media_metadata) | null | no | None |
mime | string (mime-type) | yes | None |
size_bytes | integer | yes | >= 0 |
status | "processing" | "ready" | "failed" | yes | None |
thumbnail_timestamp_ms | integer | null | no | None |
thumbnail_url | string (uri) | null | no | None |
uploaded_by_principal | string (uuidv7) | yes | None |
url | string (uri) | yes | <= 4096 chars |
width | integer | null | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Notifications (notifications.*)
#
List in-app notifications, mark them read and configure email notification preferences.
POST/v2/notifications/get_preferences
Read which notifications you get in the app and by email.
Request and response schemas (empty input, 1 output field)
Input body: empty JSON object {}
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
preferences | array<object (entity.notification_preference)> | yes | None |
Endpoint errors:scope_missing
POST/v2/notifications/list
List your notifications, newest first, optionally only the unread.
Request and response schemas (3 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
unread_only | boolean | no | default false |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.notification)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/notifications/mark_read
Mark some of your notifications, or all of them, as read.
Request and response schemas (2 input fields, 1 output field)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
all | true | no | None |
ids | array<string (uuidv7)> | no | 1..100 items, unique |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
updated | integer | yes | >= 0 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/notifications/set_preferences
Choose which notifications you get in the app and by email.
Request and response schemas (1 input field, 1 output field)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
preferences | array<object (entity.notification_preference)> | yes | 1..7 items |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
preferences | array<object (entity.notification_preference)> | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Plugs (plugs.*)
#
Configure threshold-triggered auto-repost, auto-plug and cross-account boost rules and inspect idempotent execution history.
POST/v2/plugs/create
Create an auto-engagement plug rule (auto-repost, auto-plug, or cross-account boost) for a channel.
Request and response schemas (9 input fields, 13 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | yes | None |
delay_minutes | integer | no | 0..10080, default 0 |
enabled | boolean | no | default true |
kind | "auto_repost" | "auto_plug" | "cross_boost_repost" | "cross_boost_comment" | yes | None |
max_age_hours | integer | no | 1..720, default 72 |
min_likes | integer | no | 0..1000000, default 10 |
plug_text | string | no | 1..4000 chars |
target_channel_ids | array<string (uuidv7)> | no | <= 10 items |
title | string | yes | 1..120 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | yes | None |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | null | yes | None |
delay_minutes | integer | yes | 0..10080 |
enabled | boolean | yes | None |
id | string (uuidv7) | yes | None |
kind | "auto_repost" | "auto_plug" | "cross_boost_repost" | "cross_boost_comment" | yes | None |
max_age_hours | integer | yes | 1..720 |
min_likes | integer | yes | 0..1000000 |
plug_text | string | null | yes | None |
target_channel_ids | array<string (uuidv7)> | yes | <= 10 items |
title | string | yes | 1..120 chars |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/plugs/delete
Delete an auto-engagement plug rule and its execution history.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
plug_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
deleted | true | yes | None |
id | string (uuidv7) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/plugs/list
List auto-engagement plug rules configured for the organisation or a specific channel.
Request and response schemas (4 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | no | None |
cursor | string | no | <= 512 chars |
enabled | boolean | no | None |
limit | integer | no | 1..100, default 25 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.channel_plug)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/plugs/list_executions
List idempotent execution records for channel auto-engagement plugs.
Request and response schemas (5 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
plug_id | string (uuidv7) | no | None |
post_id | string (uuidv7) | no | None |
status | "pending" | "executed" | "skipped" | "failed" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.plug_execution)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/plugs/update
Update thresholds, copy, enabled state, or target channels on an existing plug rule.
Request and response schemas (8 input fields, 13 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
delay_minutes | integer | no | 0..10080 |
enabled | boolean | no | None |
max_age_hours | integer | no | 1..720 |
min_likes | integer | no | 0..1000000 |
plug_id | string (uuidv7) | yes | None |
plug_text | string | null | no | None |
target_channel_ids | array<string (uuidv7)> | no | <= 10 items |
title | string | no | 1..120 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | yes | None |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | null | yes | None |
delay_minutes | integer | yes | 0..10080 |
enabled | boolean | yes | None |
id | string (uuidv7) | yes | None |
kind | "auto_repost" | "auto_plug" | "cross_boost_repost" | "cross_boost_comment" | yes | None |
max_age_hours | integer | yes | 1..720 |
min_likes | integer | yes | 0..1000000 |
plug_text | string | null | yes | None |
target_channel_ids | array<string (uuidv7)> | yes | <= 10 items |
title | string | yes | 1..120 chars |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Policies (policies.*)
#
Inspect and update autonomy policies at organisation, channel or principal scope.
POST/v2/policies/get
Read the effective autonomy for a channel, principal and capability, with the rows.
Request and response schemas (4 input fields, 3 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
capability | string | no | None |
channel_id | string (uuidv7) | no | None |
principal_id | string (uuidv7) | no | None |
scope | "org" | "channel" | "principal" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
policies | array<object (entity.autonomy_policy)> | yes | None |
resolution | object | yes | None |
x_spend | object | no | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/policies/set
Create or change one autonomy policy row, with the version you read.
Request and response schemas (7 input fields, 11 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
autonomy | "in_the_loop" | "on_the_loop" | "full_auto" | yes | None |
channel_id | string (uuidv7) | no | None |
principal_id | string (uuidv7) | no | None |
principal_types | array<"user" | "api_key" | "oauth_client" | "agent"> | no | >= 1 items, unique |
rules | object | no | None |
scope | "org" | "channel" | "principal" | yes | None |
version | integer | no | >= 1 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
autonomy | "in_the_loop" | "on_the_loop" | "full_auto" | yes | None |
channel_id | string (uuidv7) | no | None |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
org_id | string (uuidv7) | yes | None |
principal_id | string (uuidv7) | no | None |
principal_types | array<"user" | "api_key" | "oauth_client" | "agent"> | yes | >= 1 items, unique |
rules | object | yes | None |
scope | "org" | "channel" | "principal" | yes | None |
updated_at | string (date-time) | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flightconflict_stale_versionguardrail_forbidden
Posts (posts.*)
#
Create, update, validate, schedule, publish immediately, inspect, list and cancel multi-channel posts and threads.
POST/v2/posts/cancel
Cancel a post that has not started publishing, or archive a failed one.
Request and response schemas (2 input fields, 11 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
post_id | string (uuidv7) | yes | None |
version | integer | yes | >= 1 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
approval_request_id | string (uuidv7) | null | yes | None |
created_at | string (date-time) | yes | None |
created_by_principal | string (uuidv7) | yes | None |
id | string (uuidv7) | yes | None |
published_at | string (date-time) | null | yes | None |
renditions | array<object (entity.rendition)> | yes | >= 1 items |
scheduled_at | string (date-time) | null | yes | None |
state | "draft" | "pending_approval" | "approved" | "scheduled" | "publishing" | "published" | "failed" | "cancelled" | yes | None |
tags | array<string> | no | <= 20 items, unique |
updated_at | string (date-time) | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flightnot_foundconflict_stale_versioninvalid_statepublish_in_progressorchestrator_unavailable
POST/v2/posts/create
Create a draft post with one rendition per channel, validated against each channel.
Request and response schemas (5 input fields, 11 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
apply_signature | boolean | no | None |
channel_ids | array<string (uuidv7)> | yes | 1..20 items, unique |
overrides | object | no | None |
parts | array<object> | yes | 1..25 items |
tags | array<string> | no | <= 20 items, unique |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
approval_request_id | string (uuidv7) | null | yes | None |
created_at | string (date-time) | yes | None |
created_by_principal | string (uuidv7) | yes | None |
id | string (uuidv7) | yes | None |
published_at | string (date-time) | null | yes | None |
renditions | array<object (entity.rendition)> | yes | >= 1 items |
scheduled_at | string (date-time) | null | yes | None |
state | "draft" | "pending_approval" | "approved" | "scheduled" | "publishing" | "published" | "failed" | "cancelled" | yes | None |
tags | array<string> | no | <= 20 items, unique |
updated_at | string (date-time) | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flightchannel_needs_reauthchannel_disabled
POST/v2/posts/get
Read one post in full: its content, its creator, its pending approval and the content last approved.
Request and response schemas (1 input field, 14 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
post_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
approval_request | object | null | yes | None |
approval_request_id | string (uuidv7) | null | yes | None |
created_at | string (date-time) | yes | None |
created_by_principal | string (uuidv7) | yes | None |
creator | object | yes | None |
id | string (uuidv7) | yes | None |
last_approved_revision | object | null | yes | None |
published_at | string (date-time) | null | yes | None |
renditions | array<object (entity.rendition)> | yes | >= 1 items |
scheduled_at | string (date-time) | null | yes | None |
state | "draft" | "pending_approval" | "approved" | "scheduled" | "publishing" | "published" | "failed" | "cancelled" | yes | None |
tags | array<string> | no | <= 20 items, unique |
updated_at | string (date-time) | yes | None |
version | integer | yes | >= 1 |
Endpoint errors:scope_missingnot_found
POST/v2/posts/list
List the organisation's posts, newest first, a page at a time.
Request and response schemas (9 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | no | None |
created_after | string (date-time) | no | None |
cursor | string | no | <= 512 chars |
ids | array<string (uuidv7)> | no | 1..100 items, unique |
limit | integer | no | 1..100, default 25 |
scheduled_after | string (date-time) | no | None |
scheduled_before | string (date-time) | no | None |
states | array<"draft" | "pending_approval" | "approved" | "scheduled" | "publishing" | "published" | "failed" | "cancelled"> | no | >= 1 items, unique |
tags | array<string> | no | 1..20 items, unique |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (posts.list.item)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/posts/publish_now
Immediately publish a draft or approved post to its target channels.
Request and response schemas (2 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
post_id | string (uuidv7) | yes | None |
version | integer | yes | >= 1 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
entity.post | object (entity.post) | yes | required: id, state, version, created_by_principal, scheduled_at, published_at, approval_request_id, renditions, created_at, updated_at |
entity.approval_diversion | object (entity.approval_diversion) | yes | required: status, post, approval_request, resume, warnings |
Endpoint errors:scope_missingidempotency_key_requiredidempotency_mismatchidempotency_in_flightnot_foundconflict_stale_versioninvalid_statechannel_needs_reauthchannel_disabledpolicy_forbiddenguardrail_forbiddencredits_exhaustedorchestrator_unavailable
POST/v2/posts/schedule
Schedule a draft, or an approved post, to publish at a time; may wait for approval.
Request and response schemas (3 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
post_id | string (uuidv7) | yes | None |
scheduled_at | string (date-time) | yes | None |
version | integer | yes | >= 1 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
entity.post | object (entity.post) | yes | required: id, state, version, created_by_principal, scheduled_at, published_at, approval_request_id, renditions, created_at, updated_at |
entity.approval_diversion | object (entity.approval_diversion) | yes | required: status, post, approval_request, resume, warnings |
Endpoint errors:scope_missingidempotency_key_requiredidempotency_mismatchidempotency_in_flightnot_foundconflict_stale_versioninvalid_statechannel_needs_reauthchannel_disabledpolicy_forbiddenguardrail_forbiddencredits_exhaustedorchestrator_unavailable
POST/v2/posts/status
Read a post's state, its approval request and one entry per channel, with any failure.
Request and response schemas (1 input field, 6 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
post_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
approval_request | object | no | None |
post_id | string (uuidv7) | yes | None |
renditions | array<object> | yes | None |
scheduled_at | string (date-time) | null | yes | None |
state | "draft" | "pending_approval" | "approved" | "scheduled" | "publishing" | "published" | "failed" | "cancelled" | yes | None |
version | integer | yes | None |
Endpoint errors:scope_missingnot_found
POST/v2/posts/update
Change a post's content, channels or slot, with the version you read.
Request and response schemas (7 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_ids | array<string (uuidv7)> | no | 1..20 items, unique |
overrides | object | no | None |
parts | array<object> | no | 1..25 items |
post_id | string (uuidv7) | yes | None |
scheduled_at | string (date-time) | no | None |
tags | array<string> | no | <= 20 items, unique |
version | integer | yes | >= 1 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
entity.post_detail | object (entity.post_detail) | yes | required: id, state, version, created_by_principal, scheduled_at, published_at, approval_request_id, renditions, created_at, updated_at, creator, approval_request, last_approved_revision |
entity.approval_diversion | object (entity.approval_diversion) | yes | required: status, post, approval_request, resume, warnings |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flightnot_foundconflict_stale_versioninvalid_statechannel_needs_reauthchannel_disabled
POST/v2/posts/validate
Check a post's renditions against each platform's rules and its media, without changing it.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
post_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
results | array<object> | yes | None |
valid | boolean | yes | None |
Endpoint errors:scope_missingnot_found
Previews (previews.*)
#
Create expiring shareable preview links for external review and manage guest comments.
POST/v2/previews/create
Create an expiring shareable preview link for external review of a post.
Request and response schemas (3 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
allow_comments | boolean | no | default true |
expires_in_hours | integer | no | 1..2160, default 168 |
post_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
preview | object (entity.post_preview) | yes | None |
share_url | string (uri) | yes | <= 2048 chars |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/previews/list
List external preview links and comment counts for a post without exposing tokens.
Request and response schemas (4 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
include_revoked | boolean | no | default true |
limit | integer | no | 1..100, default 25 |
post_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.post_preview_summary)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/previews/list_comments
List review comments left on a post's external preview links.
Request and response schemas (5 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
include_resolved | boolean | no | default true |
limit | integer | no | 1..100, default 25 |
post_id | string (uuidv7) | no | None |
preview_id | string (uuidv7) | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.post_preview_comment)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/previews/reply
Post an authenticated team reply on an external post preview comment thread.
Request and response schemas (3 input fields, 14 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
body | string | yes | 1..4000 chars |
parent_id | string (uuidv7) | no | None |
preview_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
anchor_end | integer | null | yes | None |
anchor_quote | string | null | yes | None |
anchor_start | integer | null | yes | None |
author_name | string | yes | 1..120 chars |
author_principal_id | string (uuidv7) | null | yes | None |
body | string | yes | 1..4000 chars |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
is_team | boolean | no | None |
parent_id | string (uuidv7) | null | yes | None |
post_id | string (uuidv7) | yes | None |
preview_id | string (uuidv7) | yes | None |
resolved_at | string (date-time) | null | yes | None |
resolved_by | string (uuidv7) | null | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/previews/resolve_comment
Resolve or reopen a review comment on a post preview.
Request and response schemas (2 input fields, 14 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
comment_id | string (uuidv7) | yes | None |
resolved | boolean | no | default true |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
anchor_end | integer | null | yes | None |
anchor_quote | string | null | yes | None |
anchor_start | integer | null | yes | None |
author_name | string | yes | 1..120 chars |
author_principal_id | string (uuidv7) | null | yes | None |
body | string | yes | 1..4000 chars |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
is_team | boolean | no | None |
parent_id | string (uuidv7) | null | yes | None |
post_id | string (uuidv7) | yes | None |
preview_id | string (uuidv7) | yes | None |
resolved_at | string (date-time) | null | yes | None |
resolved_by | string (uuidv7) | null | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/previews/revoke
Revoke an existing external preview link.
Request and response schemas (1 input field, 7 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
preview_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
allow_comments | boolean | yes | None |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
expires_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
post_id | string (uuidv7) | yes | None |
revoked_at | string (date-time) | null | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Providers (providers.*)
#
Read provider manifests and invoke manifest-declared helper tools on connected channels.
POST/v2/providers/capabilities
Read a provider's posting rules: limits, settings schema, rules, guardrails, tier and connect forms.
Request and response schemas (2 input fields, 15 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | no | None |
provider_id | string | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
account_flags | array<object> | yes | None |
auth | object | yes | None |
channel_settings_schema | object | no | None |
connect_note | string | no | None |
constraints | object | yes | None |
cost | object | yes | None |
display_name | string | yes | >= 1 chars |
guardrails | object | yes | None |
provider_id | string | yes | None |
rules | array<object> | yes | None |
settings_schema | object | yes | None |
tiering | object | yes | None |
tools | array<object> | yes | None |
verified_at | string (date-time) | no | None |
version | object | yes | None |
Errors:Universal errors only
POST/v2/providers/invoke_tool
Invoke a manifest-declared helper tool on a connected channel.
Request and response schemas (3 input fields, 3 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
arguments | object | no | None |
channel_id | string (uuidv7) | yes | None |
tool | string | yes | 1..128 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | yes | None |
result | unknown | yes | None |
tool | string | yes | 1..128 chars |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Series (series.*)
#
Create, update, list, pause, resume and delete recurring post schedules backed by RFC 5545 RRULE definitions.
POST/v2/series/create
Create a recurring post series backed by an RRULE schedule.
Request and response schemas (5 input fields, 10 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
materialize_horizon_days | integer | no | 1..365, default 90 |
name | string | yes | 1..120 chars |
rrule | string | yes | 10..256 chars |
source_post_id | string (uuidv7) | yes | None |
timezone | string | yes | 1..64 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
id | string (uuidv7) | yes | None |
materialize_horizon_days | integer | yes | 1..365 |
name | string | yes | 1..120 chars |
rrule | string | yes | 10..256 chars |
source_post_id | string (uuidv7) | yes | None |
status | "active" | "paused" | "ended" | yes | None |
timezone | string | yes | 1..64 chars |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/series/delete
Delete a recurring post series and optionally cancel future occurrences.
Request and response schemas (2 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cancel_future_posts | boolean | no | default true |
series_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
deleted | true | yes | None |
id | string (uuidv7) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/series/list
List recurring post series for the organisation.
Request and response schemas (3 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
status | "active" | "paused" | "ended" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.post_series)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/series/pause
Pause a recurring post series without deleting its schedule.
Request and response schemas (1 input field, 10 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
series_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
id | string (uuidv7) | yes | None |
materialize_horizon_days | integer | yes | 1..365 |
name | string | yes | 1..120 chars |
rrule | string | yes | 10..256 chars |
source_post_id | string (uuidv7) | yes | None |
status | "active" | "paused" | "ended" | yes | None |
timezone | string | yes | 1..64 chars |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/series/resume
Resume a paused recurring post series.
Request and response schemas (1 input field, 10 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
series_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
id | string (uuidv7) | yes | None |
materialize_horizon_days | integer | yes | 1..365 |
name | string | yes | 1..120 chars |
rrule | string | yes | 10..256 chars |
source_post_id | string (uuidv7) | yes | None |
status | "active" | "paused" | "ended" | yes | None |
timezone | string | yes | 1..64 chars |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/series/update
Update a recurring series name, recurrence rule, timezone, or horizon.
Request and response schemas (5 input fields, 10 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
materialize_horizon_days | integer | no | 1..365 |
name | string | no | 1..120 chars |
rrule | string | no | 10..256 chars |
series_id | string (uuidv7) | yes | None |
timezone | string | no | 1..64 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
id | string (uuidv7) | yes | None |
materialize_horizon_days | integer | yes | 1..365 |
name | string | yes | 1..120 chars |
rrule | string | yes | 10..256 chars |
source_post_id | string (uuidv7) | yes | None |
status | "active" | "paused" | "ended" | yes | None |
timezone | string | yes | 1..64 chars |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Sets (sets.*)
#
Save and reuse multi-part post templates across campaigns and clients.
POST/v2/sets/create
Create a reusable post template (set).
Request and response schemas (6 input fields, 10 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_ids | array<string (uuidv7)> | no | <= 20 items, unique |
description | string | null | no | None |
name | string | yes | 1..120 chars |
parts | array<object> | yes | 1..25 items |
settings | object | no | None |
tags | array<string> | no | <= 20 items, unique |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_ids | array<string (uuidv7)> | yes | <= 20 items, unique |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
description | string | null | yes | None |
id | string (uuidv7) | yes | None |
name | string | yes | 1..120 chars |
parts | array<object> | yes | 1..25 items |
settings | object | yes | None |
tags | array<string> | yes | <= 20 items, unique |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/sets/delete
Delete a reusable post template (set).
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
set_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
deleted | true | yes | None |
id | string (uuidv7) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/sets/list
List reusable post templates (sets) for the organisation.
Request and response schemas (2 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.post_set)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/sets/update
Update a reusable post template (set).
Request and response schemas (7 input fields, 10 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_ids | array<string (uuidv7)> | no | <= 20 items, unique |
description | string | null | no | None |
name | string | no | 1..120 chars |
parts | array<object> | no | 1..25 items |
set_id | string (uuidv7) | yes | None |
settings | object | no | None |
tags | array<string> | no | <= 20 items, unique |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_ids | array<string (uuidv7)> | yes | <= 20 items, unique |
created_at | string (date-time) | yes | None |
created_by | string (uuidv7) | yes | None |
description | string | null | yes | None |
id | string (uuidv7) | yes | None |
name | string | yes | 1..120 chars |
parts | array<object> | yes | 1..25 items |
settings | object | yes | None |
tags | array<string> | yes | <= 20 items, unique |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Shortlinks (shortlinks.*)
#
Shorten post URLs through configured URL shortener providers and read click stats.
POST/v2/shortlinks/configure_provider
Configure an organisation's URL shortener provider with a DEK-encrypted API key.
Request and response schemas (5 input fields, 5 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
api_base_url | string (uri) | no | <= 512 chars |
api_key | string | yes | 1..1024 chars |
domain | string | no | 1..253 chars |
is_default | boolean | no | None |
provider | "dub" | "shortio" | "kutt" | "linkdrip" | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
api_base_url | string (uri) | null | yes | None |
configured | true | yes | None |
domain | string | null | yes | None |
is_default | boolean | yes | None |
provider | "dub" | "shortio" | "kutt" | "linkdrip" | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/shortlinks/get_preference
Read the organisation's auto-shorten-on-publish preference (ask, always, or never).
Request and response schemas (empty input, 1 output field)
Input body: empty JSON object {}
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
auto_shortlink_mode | "ask" | "always" | "never" | yes | None |
Endpoint errors:scope_missing
POST/v2/shortlinks/list_providers
List configured URL shortener providers for this organisation without revealing API keys.
Request and response schemas (empty input, 2 output fields)
Input body: empty JSON object {}
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
default_provider | "dub" | "shortio" | "kutt" | "linkdrip" | null | yes | None |
items | array<object (entity.shortlink_provider_summary)> | yes | None |
Endpoint errors:scope_missing
POST/v2/shortlinks/set_preference
Update the organisation's auto-shorten-on-publish preference (ask, always, or never).
Request and response schemas (1 input field, 1 output field)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
auto_shortlink_mode | "ask" | "always" | "never" | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
auto_shortlink_mode | "ask" | "always" | "never" | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/shortlinks/shorten
Shorten a URL using the organisation's configured shortener provider.
Request and response schemas (3 input fields, 9 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
post_id | string (uuidv7) | no | None |
provider | "dub" | "shortio" | "kutt" | "linkdrip" | no | None |
url | string (uri) | yes | <= 2048 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
clicks | integer | yes | >= 0 |
created_at | string (date-time) | yes | None |
external_ref | string | null | yes | None |
id | string (uuidv7) | yes | None |
last_synced_at | string (date-time) | null | yes | None |
original_url | string (uri) | yes | <= 2048 chars |
post_id | string (uuidv7) | null | yes | None |
provider | "dub" | "shortio" | "kutt" | "linkdrip" | yes | None |
short_url | string (uri) | yes | <= 2048 chars |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/shortlinks/stats
Read click statistics for shortened links, optionally filtered by post or provider.
Request and response schemas (5 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
post_id | string (uuidv7) | no | None |
provider | "dub" | "shortio" | "kutt" | "linkdrip" | no | None |
short_link_id | string (uuidv7) | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.short_link)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
Signatures (signatures.*)
#
Manage reusable text signatures and per-channel auto-append defaults.
POST/v2/signatures/create
Create a reusable post signature.
Request and response schemas (4 input fields, 7 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
auto_add | boolean | no | default false |
channel_ids | array<string (uuidv7)> | no | <= 50 items, unique |
content | string | yes | 1..2000 chars |
name | string | yes | 1..120 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
auto_add | boolean | yes | None |
channel_ids | array<string (uuidv7)> | yes | <= 50 items, unique |
content | string | yes | 1..2000 chars |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
name | string | yes | 1..120 chars |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/signatures/delete
Delete a reusable post signature.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
signature_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
deleted | true | yes | None |
id | string (uuidv7) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/signatures/list
List reusable signatures for the organisation.
Request and response schemas (3 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_id | string (uuidv7) | no | None |
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.signature)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/signatures/update
Update a reusable post signature.
Request and response schemas (5 input fields, 7 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
auto_add | boolean | no | None |
channel_ids | array<string (uuidv7)> | no | <= 50 items, unique |
content | string | no | 1..2000 chars |
name | string | no | 1..120 chars |
signature_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
auto_add | boolean | yes | None |
channel_ids | array<string (uuidv7)> | yes | <= 50 items, unique |
content | string | yes | 1..2000 chars |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
name | string | yes | 1..120 chars |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Slots (slots.*)
#
Suggest open posting times that satisfy channel caps, quiet hours and lead times.
POST/v2/slots/suggest
Suggest times on channels that posts.schedule would accept without a refusal or a time-based diversion.
Request and response schemas (4 input fields, 1 output field)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_ids | array<string (uuidv7)> | yes | 1..20 items, unique |
count | integer | no | 1..10, default 3 |
from | string (date-time) | no | None |
until | string (date-time) | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
slots | array<object> | yes | <= 10 items |
Endpoint errors:scope_missing
System (system.*)
#
Verify credentials, principal identity, organisation binding and server version.
POST/v2/system/ping
Verify a key: who is calling, in which organisation, against which build.
Request and response schemas (empty input, 5 output fields)
Input body: empty JSON object {}
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
org_id | string (uuidv7) | yes | None |
pong | true | yes | None |
principal_id | string (uuidv7) | yes | None |
server_time | string (date-time) | yes | None |
version | string | yes | None |
Errors:Universal errors only
Tags (tags.*)
#
Create, update, list and delete colour-coded post tags for campaign filtering.
POST/v2/tags/create
Create a new colour-coded tag for the organisation.
Request and response schemas (2 input fields, 5 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
color | string | no | default "#6366f1" |
name | string | yes | 1..48 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
color | string | yes | None |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
name | string | yes | 1..48 chars |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/tags/delete
Delete an organisation tag.
Request and response schemas (1 input field, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
tag_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
deleted | true | yes | None |
id | string (uuidv7) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/tags/list
List organisation tags for categorizing posts.
Request and response schemas (3 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
query | string | no | 1..48 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.tag)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/tags/update
Rename or recolour an organisation tag.
Request and response schemas (3 input fields, 5 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
color | string | no | None |
name | string | no | 1..48 chars |
tag_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
color | string | yes | None |
created_at | string (date-time) | yes | None |
id | string (uuidv7) | yes | None |
name | string | yes | 1..48 chars |
updated_at | string (date-time) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
Webhooks (webhooks.*)
#
Register, update, rotate, test, replay and delete HMAC-SHA256 signed webhook endpoints.
POST/v2/webhooks/create
Create a webhook endpoint; returns its signing secret once.
Request and response schemas (4 input fields, 11 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_filter | array<string (uuidv7)> | no | 1..100 items, unique |
description | string | no | <= 200 chars |
event_types | array<string> | yes | 1..50 items, unique |
url | string (uri) | yes | <= 2048 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_filter | array<string (uuidv7)> | null | yes | None |
created_at | string (date-time) | yes | None |
description | string | null | yes | None |
disabled_reason | string | null | yes | None |
event_types | array<string> | yes | 1..50 items |
id | string (uuidv7) | yes | None |
secret | string | null | yes | None |
secret_hint | string | yes | 4..4 chars |
status | "pending_verification" | "active" | "disabled" | "failed" | yes | None |
url | string (uri) | yes | None |
verified_at | string (date-time) | null | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/webhooks/delete
Delete a webhook endpoint and cancel its pending deliveries.
Request and response schemas (1 input field, 3 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
endpoint_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
cancelled_deliveries | integer | yes | >= 0 |
deleted | true | yes | None |
id | string (uuidv7) | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/webhooks/list
List the organisation's webhook endpoints without exposing signing secrets.
Request and response schemas (3 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
limit | integer | no | 1..100, default 25 |
status | "pending_verification" | "active" | "disabled" | "failed" | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.webhook_endpoint)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/webhooks/list_deliveries
List webhook deliveries, newest first, filtered by endpoint, state or event type.
Request and response schemas (6 input fields, 2 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
cursor | string | no | <= 512 chars |
endpoint_id | string (uuidv7) | no | None |
event_type | string | no | None |
limit | integer | no | 1..100, default 25 |
state | "pending" | "delivering" | "succeeded" | "dead" | no | None |
states | array<"pending" | "delivering" | "succeeded" | "dead"> | no | 1..4 items, unique |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
items | array<object (entity.webhook_delivery)> | yes | None |
next_cursor | string | null | yes | None |
Endpoint errors:scope_missingcursor_invalid
POST/v2/webhooks/replay
Replay dead or succeeded webhook deliveries by id or over a time window.
Request and response schemas (5 input fields, 3 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
delivery_ids | array<string (uuidv7)> | no | 1..100 items, unique |
endpoint_id | string (uuidv7) | no | None |
from | string (date-time) | no | None |
states | array<"dead" | "succeeded"> | no | 1..2 items, unique |
to | string (date-time) | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
delivery_ids | array<string (uuidv7)> | yes | None |
is_replay | true | yes | None |
replayed | integer | yes | >= 0 |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/webhooks/rotate_secret
Rotate a webhook endpoint's signing secret with a 24-hour dual-signing overlap.
Request and response schemas (1 input field, 4 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
endpoint_id | string (uuidv7) | yes | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
id | string (uuidv7) | yes | None |
previous_secret_expires_at | string (date-time) | yes | None |
secret | string | null | yes | None |
secret_hint | string | yes | 4..4 chars |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/webhooks/test
Send one signed webhook.test event synchronously and report the delivery outcome.
Request and response schemas (3 input fields, 6 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
endpoint_id | string (uuidv7) | yes | None |
event_type | string | no | <= 64 chars |
payload | object | no | None |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
delivered | boolean | yes | None |
error | string | no | <= 200 chars |
latency_ms | integer | yes | >= 0 |
ok | boolean | yes | None |
response_body | string | no | <= 2048 chars |
status_code | integer | null | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight
POST/v2/webhooks/update
Update a webhook endpoint's URL, subscriptions, channel filter, description or status.
Request and response schemas (6 input fields, 10 output fields)
Input schema fields
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_filter | array<string (uuidv7)> | null | no | None |
description | string | null | no | None |
endpoint_id | string (uuidv7) | yes | None |
event_types | array<string> | no | 1..50 items, unique |
status | "active" | "disabled" | no | None |
url | string (uri) | no | <= 2048 chars |
Output schema fields (HTTP 200)
| Field | Type | Required | Constraints |
|---|---|---|---|
channel_filter | array<string (uuidv7)> | null | yes | None |
created_at | string (date-time) | yes | None |
description | string | null | yes | None |
disabled_reason | string | null | yes | None |
event_types | array<string> | yes | 1..50 items |
id | string (uuidv7) | yes | None |
secret_hint | string | yes | 4..4 chars |
status | "pending_verification" | "active" | "disabled" | "failed" | yes | None |
url | string (uri) | yes | None |
verified_at | string (date-time) | null | yes | None |
Endpoint errors:scope_missingidempotency_mismatchidempotency_in_flight