Developers
Queue API
Inspect upcoming work and change only the job you intend to change.
List and inspect jobs
GET /api/publish-jobs?status=scheduled&account_id=123&sort=scheduled_at:asc&limit=50&offset=0
Authorization: Bearer smm_REPLACE_MERead access follows the key’s current membership, channel access and enabled module. Results are {items, total, limit, offset}. Filters include repeated status, platform and account_id parameters, scheduled_after and scheduled_before. Sorts are scheduled_at:asc, published_at:desc or created_at:desc.
GET /api/publish-jobs/{id} reads a single job. Inspect status, schedule_source, target_results, outcome, links, errors and first_comment_status. Use the public queue ID returned for a post, story or reel.
Mutation contract
All actions below need a Public API Bearer key, editor (member) or higher role, the publishing module and ownership/access to the job. MCP scopes do not apply to /api/*. These routes do not implement the create-publication Idempotency-Key contract: inspect the current state before repeating a request.
| Method & path | Purpose |
|---|---|
POST /api/publish-jobs/{id}/cancel | Cancel an eligible queued or scheduled job. |
POST /api/publish-jobs/{id}/retry | Retry an eligible failed or canceled job. Inspect successful target results first. |
POST /api/publish-jobs/{id}/retry-first-comment | Retry only the failed first comment on an already published post. |
PATCH /api/publish-jobs/{id} | Update editable text or schedule fields. |
POST /api/publish-jobs/{id}/move | Move using position and schedule_policy. |
POST /api/publish-jobs/bulk/cancel | Body: {"ids":[123,124]}; up to 500 IDs. Check per-item results. |
POST /api/publish-jobs/bulk/retry | Same ID body. Choose failed targets deliberately. |
Handle 401/403 for access, 404 for unavailable jobs, 409 invalid_status_transition, 400/422 for date/body errors and 429 for rate limits. First-comment retry may also return entitlement or temporary-service errors. Never retry an entire successful publication to repair a comment.
Pin a future time
PATCH /api/publish-jobs/123
Authorization: Bearer smm_REPLACE_ME
Content-Type: application/json
{"scheduled_at":"2027-01-12T18:00:00+01:00"}This uses the mutation contract above and marks the schedule manual. Replace the date with your intended future time. Do not combine schedule_source: "auto" with a non-null explicit date. Setting schedule_source: "auto" returns the item to the channel schedule.
Understand movement policies
shift_schedule recalculates the automatic queue’s matching dates. keep_time changes list order while keeping time and making the moved item manual. Review the effects on other automatic jobs before changing schedule order.