List the Organization's publish requests, newest first
List the Organization's publish requests, newest first. profileId and status narrow the list.
Authorization
bearerAuth An API key from the Koil admin console, sent as Authorization: Bearer <key>. A live key starts koil_live_ and a sandbox key koil_sandbox_; the key alone selects the Organization and mode. See https://docs.koil.co/concepts/authentication.
In: header
Query Parameters
1 <= value <= 100Opaque cursor for fetching the next result page.
1 <= lengthoutcome_unknown: The call that creates the content failed ambiguously (a timeout, a dropped connection, a platform 5xx), so the platform may have published it. Koil does not retry it. Check the platform before submitting again, or the content may be published twice.
"created" | "scheduled" | "cancelled" | "started" | "succeeded" | "failed" | "outcome_unknown"1 <= lengthHeader Parameters
The dated API version the request is written against; it fixes the request and response shapes. Every response echoes the version it is rendered in.
"2026-12-08"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/publish-requests" \ -H "Koil-Version: 2026-12-08"{ "data": [ { "kind": "publish_request", "mode": "sandbox", "id": "sandbox_pub_7GhQ2dLkP0aZ1xYc9VwN", "status": "succeeded", "collection": "youtube.videos.comments", "profileId": "sandbox_prof_4T2cgH9gnSqEb9DrntKA", "externalId": "sandbox_comment_1", "metadata": {}, "createdAt": "2026-05-01T10:00:00.000Z", "updatedAt": "2026-05-01T10:00:04.000Z", "startedAt": "2026-05-01T10:00:01.000Z", "succeededAt": "2026-05-01T10:00:04.000Z" } ], "hasMore": false}{ "error": { "code": "validation_error", "message": "string", "meta": { "violations": [ { "code": "string", "path": "string", "message": "string" } ], "budgets": [ "string" ], "profileIds": [ "string" ], "required": [ "string" ], "limit": 0, "resourceType": "string", "resourceId": "string", "reason": "string", "refusalReason": "messaging_window_closed", "property1": null, "property2": null }, "requestId": "string" }}{ "error": { "code": "validation_error", "message": "string", "meta": { "violations": [ { "code": "string", "path": "string", "message": "string" } ], "budgets": [ "string" ], "profileIds": [ "string" ], "required": [ "string" ], "limit": 0, "resourceType": "string", "resourceId": "string", "reason": "string", "refusalReason": "messaging_window_closed", "property1": null, "property2": null }, "requestId": "string" }}{ "error": { "code": "validation_error", "message": "string", "meta": { "violations": [ { "code": "string", "path": "string", "message": "string" } ], "budgets": [ "string" ], "profileIds": [ "string" ], "required": [ "string" ], "limit": 0, "resourceType": "string", "resourceId": "string", "reason": "string", "refusalReason": "messaging_window_closed", "property1": null, "property2": null }, "requestId": "string" }}{ "error": { "code": "validation_error", "message": "string", "meta": { "violations": [ { "code": "string", "path": "string", "message": "string" } ], "budgets": [ "string" ], "profileIds": [ "string" ], "required": [ "string" ], "limit": 0, "resourceType": "string", "resourceId": "string", "reason": "string", "refusalReason": "messaging_window_closed", "property1": null, "property2": null }, "requestId": "string" }}{ "error": { "code": "validation_error", "message": "string", "meta": { "violations": [ { "code": "string", "path": "string", "message": "string" } ], "budgets": [ "string" ], "profileIds": [ "string" ], "required": [ "string" ], "limit": 0, "resourceType": "string", "resourceId": "string", "reason": "string", "refusalReason": "messaging_window_closed", "property1": null, "property2": null }, "requestId": "string" }}{ "error": { "code": "validation_error", "message": "string", "meta": { "violations": [ { "code": "string", "path": "string", "message": "string" } ], "budgets": [ "string" ], "profileIds": [ "string" ], "required": [ "string" ], "limit": 0, "resourceType": "string", "resourceId": "string", "reason": "string", "refusalReason": "messaging_window_closed", "property1": null, "property2": null }, "requestId": "string" }}Get a platform available through Koil and its operations GET
Previous Page
Submit one or more publish requests POST
Submit one or more publish requests. Each item creates platform content — a post, a comment, a reply, a message — through a Profile. Every item's `args` is validated against its collection's publish input first and the submission is rejected whole if any item fails; each item then runs independently with its own `pub_*` ledger entry. Requires an `Idempotency-Key`. Answers `202` with each item as it stands. Sent with `Prefer: wait=<seconds>`, it waits up to that long (at most 10 seconds) for every item's outcome, and answers `200` if every item then has one.