# Posts API reference

The Posts API reference covers 12 endpoints of the SkedCast social media REST API. Read and compose scheduled posts.

## List posts

`GET /posts`

Scope: `posts.read`

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `cursor` | string | query | no | Keyset cursor from a previous page. |
| `limit` | integer | query | no | Page size (1–100). |
| `status` | enum: draft | scheduled | partially_published | published | failed | canceled | … | query | no | One overall post status. `canceled` is a post whose every channel was canceled. |
| `clientId` | string (uuid) | query | no |  |
| `platform` | enum: x | linkedin | instagram | facebook | tiktok | youtube | … | query | no |  |

Responses: 200, 400, 401, 403, 404, 422, 429

## Create a post

`POST /posts`

Scope: `posts.compose`

Compose a post and fan it out across the selected accounts (or save it as a draft). Requires the `posts.compose` scope and an `Idempotency-Key` header.

A channel that cannot publish right now is refused when you pick it: `409 targets_not_publishable`, with `channels` naming each one, its state, its reason and the fix (a channel that needs reconnecting keeps its `400 targets_out_of_scope`, now also carrying `channels`). A `group` selection leaves such a channel out and lists it in `skippedTargets`. Posts that already exist are unchanged: they wait until the channel recovers.

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | string | header | yes | A unique key (for example a UUID, up to 255 characters) for this request. Retry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |
| `clientId` | string (uuid) | body | yes |  |
| `content` | string | body | no | Base caption; per-platform captions live in variants[].contentOverride. LinkedIn: the caption is sent as typed. A mention token `@[Name](urn:li:person:ID)` or `@[Name](urn:li:organization:ID)` mentions that person or company; a malformed one fails validation with `mention_malformed`. |
| `mediaIds` | array of string (uuid) | body | no |  |
| `targets` | PostTargetSelection | body | yes | Which accounts to fan out to. |
| `variants` | array of PostVariantInput | body | no | Per-platform overrides — one entry per platform you want to customize. |
| `schedule` | PostScheduleInput | body | yes | When to publish. |
| `scheduleMode` | enum: managed | native | body | no | native hands Facebook/YouTube targets to the platform's own scheduler; every other target still falls back to managed. Off by default: with managed, SkedCast publishes at the time. A natively scheduled YouTube video is uploaded private and YouTube makes it public at the time; an unlisted video cannot be scheduled natively (that target fails: schedule it with managed). |
| `timezone` | string | body | no | IANA timezone the post is scheduled in. A schedule.scheduledLocal time is read in it. Omit it to use the client's default zone, then the workspace's, then UTC. |
| `aiDisclosure` | boolean | body | no | Set `true` when the post contains AI-generated content. It is applied to every variant's `aiGenerated` override when the post publishes and sets each network's AI label: TikTok, YouTube, Pinterest, Instagram, Threads, X (posts with media) and Facebook (Reels). LinkedIn, Bluesky, Google Business Profile and Telegram have no API field for it. Set `aiGenerated` on a variant only for an exception. |
| `requestApproval` | boolean | body | no | Submit into the approval workflow. A draft save (`saveDraft`, or an edit of a draft) opens a review request only when this is `true`. The post must then be publishable and have at least one destination: a post the platform rules refuse is answered 422 `validation_failed`, a post with no destination is answered 400 `no_targets_resolved`, and nothing is opened when the save is refused. A draft save without this field withdraws a pending request. Sending `true` on a draft that already has a pending request is 409 `state_conflict`. Where the post leaves the draft (scheduled or published), approval is enforced whatever this field says: for a member who may not publish on every channel, and for a client that requires approval. |
| `saveDraft` | boolean | body | no | Save as a draft instead of scheduling. A draft is not queued or paced and is not checked against every platform's rules, so it may be incomplete. |
| `campaignId` | string (uuid) | body | no | Optional campaign grouping. |
| `thread` | PostThreadInput | body | no | Thread mode (X, Bluesky, Threads): segment 0 is the head, each later segment replies to the one before it. The top-level content is ignored for thread-capable targets in favor of segments. On Threads every reply needs the account's `threads_manage_replies` permission; a connection without it publishes segment 0 only, as a normal post. |
| `mediaAltTexts` | object | body | no | Alt text per media asset: the key is the media id, the value is its alt text. |
| `coverMediaId` | string (uuid) | body | no | A separately uploaded IMAGE asset used as the video's cover/thumbnail (YouTube/Instagram/Facebook/Telegram). Omit to use the auto-extracted poster frame. YouTube takes a JPEG or PNG up to 50 MB, and only on a channel verified for custom thumbnails. Outcome is reported back on the post target as coverIssue. |
| `coverFrameMs` | integer | body | no | Cover frame offset in milliseconds, sent to TikTok as video_cover_timestamp_ms. Independent of coverMediaId. |

Responses: 201, 400, 401, 403, 404, 422, 429

## Create up to 50 posts in one request

`POST /posts/bulk`

Scope: `posts.compose`

Create up to 50 posts in one call. Each item is the body of `POST /posts`, unchanged, so a bulk item carries every override a single post does: per-platform caption, title, cover, per-asset alt text, first comment and per-platform settings.

- Items are created one after another and are independent: one failing never affects the others.
- The response is `200` even when some items failed. It lists every item's outcome in request order: `created` with its post id, or `failed` with its error.
- Plan and posting limits are checked in order, so item N sees the items before it.
- The request's `Idempotency-Key` protects the whole call. Each item also gets a key derived from it and its position (or send your own `itemKeys`), so retrying after a partial failure creates nothing twice.
- Send `validateOnly: true` to check every item without writing anything.
- The request costs one rate-limit unit per item. Client access is checked per item.

Requires the `posts.compose` scope, a verified email, and an `Idempotency-Key` header.

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | string | header | yes | A unique key (for example a UUID, up to 255 characters) for this request. Retry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |
| `items` | array of CreatePostInput | body | yes | The posts to create (1-50). Created one after another and independent: one failing never affects the others. |
| `itemKeys` | array of string | body | no | Optional idempotency key per item, parallel to `items` (same length). When omitted each item's key is derived from the request's Idempotency-Key and its position. |
| `validateOnly` | boolean | body | no | Dry run: check every item and return a verdict per item, writing nothing. Runs the shape rules, not quota or cadence. |

Responses: 200, 400, 401, 403, 404, 422, 429

## Validate a post without creating it

`POST /posts/preview`

Scope: `posts.compose`

Dry run. Takes the same body as `POST /posts`, runs the same validation against your real accounts and media, and returns the per-platform verdict. It writes nothing: no post, no draft, no idempotency record. Use it to check a post before you create it.

Requires the `posts.compose` scope, because the dry run resolves the same client, account and media ids as the real request. It checks the post's shape, not posting limits or plan limits, so `valid: true` means the post can be created, not that a later publish cannot be delayed. No `Idempotency-Key` header is needed.

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `clientId` | string (uuid) | body | yes |  |
| `content` | string | body | no | Base caption; per-platform captions live in variants[].contentOverride. LinkedIn: the caption is sent as typed. A mention token `@[Name](urn:li:person:ID)` or `@[Name](urn:li:organization:ID)` mentions that person or company; a malformed one fails validation with `mention_malformed`. |
| `mediaIds` | array of string (uuid) | body | no |  |
| `targets` | PostTargetSelection | body | yes | Which accounts to fan out to. |
| `variants` | array of PostVariantInput | body | no | Per-platform overrides — one entry per platform you want to customize. |
| `schedule` | PostScheduleInput | body | yes | When to publish. |
| `scheduleMode` | enum: managed | native | body | no | native hands Facebook/YouTube targets to the platform's own scheduler; every other target still falls back to managed. Off by default: with managed, SkedCast publishes at the time. A natively scheduled YouTube video is uploaded private and YouTube makes it public at the time; an unlisted video cannot be scheduled natively (that target fails: schedule it with managed). |
| `timezone` | string | body | no | IANA timezone the post is scheduled in. A schedule.scheduledLocal time is read in it. Omit it to use the client's default zone, then the workspace's, then UTC. |
| `aiDisclosure` | boolean | body | no | Set `true` when the post contains AI-generated content. It is applied to every variant's `aiGenerated` override when the post publishes and sets each network's AI label: TikTok, YouTube, Pinterest, Instagram, Threads, X (posts with media) and Facebook (Reels). LinkedIn, Bluesky, Google Business Profile and Telegram have no API field for it. Set `aiGenerated` on a variant only for an exception. |
| `requestApproval` | boolean | body | no | Submit into the approval workflow. A draft save (`saveDraft`, or an edit of a draft) opens a review request only when this is `true`. The post must then be publishable and have at least one destination: a post the platform rules refuse is answered 422 `validation_failed`, a post with no destination is answered 400 `no_targets_resolved`, and nothing is opened when the save is refused. A draft save without this field withdraws a pending request. Sending `true` on a draft that already has a pending request is 409 `state_conflict`. Where the post leaves the draft (scheduled or published), approval is enforced whatever this field says: for a member who may not publish on every channel, and for a client that requires approval. |
| `saveDraft` | boolean | body | no | Save as a draft instead of scheduling. A draft is not queued or paced and is not checked against every platform's rules, so it may be incomplete. |
| `campaignId` | string (uuid) | body | no | Optional campaign grouping. |
| `thread` | PostThreadInput | body | no | Thread mode (X, Bluesky, Threads): segment 0 is the head, each later segment replies to the one before it. The top-level content is ignored for thread-capable targets in favor of segments. On Threads every reply needs the account's `threads_manage_replies` permission; a connection without it publishes segment 0 only, as a normal post. |
| `mediaAltTexts` | object | body | no | Alt text per media asset: the key is the media id, the value is its alt text. |
| `coverMediaId` | string (uuid) | body | no | A separately uploaded IMAGE asset used as the video's cover/thumbnail (YouTube/Instagram/Facebook/Telegram). Omit to use the auto-extracted poster frame. YouTube takes a JPEG or PNG up to 50 MB, and only on a channel verified for custom thumbnails. Outcome is reported back on the post target as coverIssue. |
| `coverFrameMs` | integer | body | no | Cover frame offset in milliseconds, sent to TikTok as video_cover_timestamp_ms. Independent of coverMediaId. |

Responses: 200, 400, 401, 403, 404, 422, 429

## Revise a scheduled post

`POST /posts/{id}/revise`

Scope: `posts.compose`

Change an already-scheduled post: caption, media, cover, alt text and per-platform overrides, and its destinations through `accountIds` (the full list wanted: a new account is added, a missing one is cancelled; a channel that cannot publish now is refused with `409 targets_not_publishable` or `400 targets_out_of_scope`). Send only the fields you are changing; an omitted field is left alone, and `variants` are merged by platform. Every destination picks up the change at its own publish time.

The schedule is not editable here; use the `/post-targets` routes. The request is refused with `409` when any destination has already published (`post_already_published`) or is already being published (`target_claimed`), and the error names the ones that blocked it.

If the post was already approved, the edit returns the whole post to review and nothing publishes until it is approved again. The response's `reGated` says so.

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | string | header | yes | A unique key (for example a UUID, up to 255 characters) for this request. Retry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |
| `id` | string (uuid) | path | yes |  |
| `content` | string | body | no |  |
| `mediaIds` | array of string (uuid) | body | no |  |
| `mediaAltTexts` | object | body | no |  |
| `coverMediaId` | string (uuid) | body | no |  |
| `coverFrameMs` | integer | body | no |  |
| `aiDisclosure` | boolean | body | no |  |
| `variants` | array of object | body | no |  |
| `accountIds` | array of string (uuid) | body | no | The destinations this post should have. An account that is not yet a destination is added, a destination that is not listed is canceled, and the others are left untouched. Send explicit account ids, not a group selector. |

Responses: 200, 400, 401, 403, 404, 422, 429

## Edit a published YouTube video or the text of a published post

`POST /posts/{id}/targets/{targetId}/edit-published`

Scope: `posts.compose`

Change a post that is already published, without republishing it. Send only the fields you are changing; at least one is required. An omitted field is left as the platform holds it.

`targetId` is the destination's id (from `GET /post-targets` or the compose result).

What each platform takes:

- YouTube: a video that is live or scheduled. You can change the title, description, tags, category, privacy, kids, embedding and statistics settings, default language and translations, thumbnail and subtitle tracks.
- Text: the post's `text` and nothing else, on LinkedIn (an account connected through LinkedIn's Community Management app), Facebook Pages (a live post, or one Facebook's own scheduler holds), Pinterest (a Pin's description; Pinterest offers Pin update to apps as a beta), Telegram (a message's text or caption) and Google Business Profile (a post's summary). The post must be `published` (on Facebook also `native_scheduled`). Any other LinkedIn account, and TikTok, Instagram, X, Threads and Bluesky (they do not let an app change a published post), are `422 edit_not_supported`.

How the edit applies:

- `localizations` and `captions` are merged by language into what the video holds and never remove anything. A subtitle track replaces the track of the same language and name, otherwise it is added.
- The response lists what the platform accepted in `applied`. A thumbnail or subtitle track that YouTube refuses does not fail the edit; it is explained in `coverIssue`, `captions` and `captionIssue`. The post keeps what the platform now holds.

Errors:

- `422 validation_failed`: a YouTube field on a LinkedIn post, or `text` on a YouTube video.
- `422 edit_not_supported`: a YouTube destination that is not `published` or `native_scheduled`; a LinkedIn account that cannot edit; a LinkedIn text shared with another live LinkedIn account on the same post.
- `422 edit_privacy_scheduled`: `privacyStatus` sent for a natively scheduled video, whose privacy is set by its schedule.
- `403 posting_restricted`: posting is restricted for the workspace. The edit writes to the platform at once.
- `429 rate_limited`: LinkedIn's own rate limit applies.
- `429 youtube_units_exhausted`: YouTube cannot take the edit now. Wait the `Retry-After` seconds. The whole edit is refused before anything is sent.

Requires the `posts.compose` scope, a verified email and an `Idempotency-Key` header.

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | string | header | yes | A unique key (for example a UUID, up to 255 characters) for this request. Retry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |
| `id` | string (uuid) | path | yes |  |
| `targetId` | string (uuid) | path | yes |  |
| `title` | string | body | no | The new title, no angle brackets. |
| `description` | string | body | no | The new description, up to 5,000 bytes, no angle brackets. An empty string clears it. |
| `tags` | array of string | body | no | The tags, replacing the current list. Up to 500 characters in total: the commas between tags count, and a tag with a space counts two more for the quotation marks YouTube adds. An empty list clears them. |
| `categoryId` | string | body | no | The YouTube category id, digits, e.g. "22". |
| `privacyStatus` | enum: public | unlisted | private | body | no | Refused with `edit_privacy_scheduled` while YouTube is still scheduling the video. |
| `madeForKids` | boolean | body | no | The COPPA declaration. |
| `embeddable` | boolean | body | no | Whether the video may be embedded on other sites. |
| `publicStatsViewable` | boolean | body | no | Whether the like count and view statistics show on the watch page. |
| `defaultLanguage` | string | body | no | The language of the title and description, a BCP-47 tag. |
| `localizations` | object | body | no | Translations keyed by BCP-47 language (up to 50), merged by language into the video's own. The video needs a default language, sent here or already set. |
| `coverMediaId` | string (uuid) | body | no | An uploaded image (JPEG or PNG, up to 50 MB) to use as the thumbnail. The channel must be verified for custom thumbnails. |
| `captions` | array of object | body | no | Subtitle tracks to add or replace by language and name. Timed SRT or WebVTT only. |
| `text` | string | body | no | The post's new text, and the only field these platforms take: LinkedIn (an account connected through LinkedIn's Community Management app), Facebook Pages (a live post, or one Facebook's own scheduler holds), Pinterest (a Pin's description; Pinterest offers Pin update to apps as a beta), Telegram (a message's text or caption) and Google Business Profile (a post's summary). Not empty and within the platform's own limit (LinkedIn 3,000 characters, a mention counting as its name). A mention token `@[Name](urn:li:person:ID)` or `@[Name](urn:li:organization:ID)` mentions that person or company; a malformed one fails validation with `mention_malformed`. Refused on a YouTube video. |

Responses: 200, 400, 401, 403, 404, 409, 422, 429

## Publish or schedule a draft

`POST /posts/{id}/publish`

Scope: `posts.compose`

Publish or schedule an existing draft post in place. `PATCH /posts/{id}` only re-saves a draft; this is how a draft goes out. Send the complete post body (the same schema as `POST /posts`); `schedule` decides now or later.

It runs the same checks as creating a post (platform validation, the client's approval policy, plan and posting limits) on the existing post, so the id you already hold stays the id of what publishes. A client that requires approval returns the post submitted for review (`status: "draft"`) instead of publishing it.

Refuses with `409 post_not_draft` when the post has already been scheduled or published, and `409 state_conflict` when it is waiting for review. `422` platform validation errors leave the draft unchanged. Retrying with the same `Idempotency-Key` replays the original result.

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | string (uuid) | path | yes |  |
| `Idempotency-Key` | string | header | yes | A unique key (for example a UUID, up to 255 characters) for this request. Retry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |
| `clientId` | string (uuid) | body | yes |  |
| `content` | string | body | no | Base caption; per-platform captions live in variants[].contentOverride. LinkedIn: the caption is sent as typed. A mention token `@[Name](urn:li:person:ID)` or `@[Name](urn:li:organization:ID)` mentions that person or company; a malformed one fails validation with `mention_malformed`. |
| `mediaIds` | array of string (uuid) | body | no |  |
| `targets` | PostTargetSelection | body | yes | Which accounts to fan out to. |
| `variants` | array of PostVariantInput | body | no | Per-platform overrides — one entry per platform you want to customize. |
| `schedule` | PostScheduleInput | body | yes | When to publish. |
| `scheduleMode` | enum: managed | native | body | no | native hands Facebook/YouTube targets to the platform's own scheduler; every other target still falls back to managed. Off by default: with managed, SkedCast publishes at the time. A natively scheduled YouTube video is uploaded private and YouTube makes it public at the time; an unlisted video cannot be scheduled natively (that target fails: schedule it with managed). |
| `timezone` | string | body | no | IANA timezone the post is scheduled in. A schedule.scheduledLocal time is read in it. Omit it to use the client's default zone, then the workspace's, then UTC. |
| `aiDisclosure` | boolean | body | no | Set `true` when the post contains AI-generated content. It is applied to every variant's `aiGenerated` override when the post publishes and sets each network's AI label: TikTok, YouTube, Pinterest, Instagram, Threads, X (posts with media) and Facebook (Reels). LinkedIn, Bluesky, Google Business Profile and Telegram have no API field for it. Set `aiGenerated` on a variant only for an exception. |
| `requestApproval` | boolean | body | no | Submit into the approval workflow. A draft save (`saveDraft`, or an edit of a draft) opens a review request only when this is `true`. The post must then be publishable and have at least one destination: a post the platform rules refuse is answered 422 `validation_failed`, a post with no destination is answered 400 `no_targets_resolved`, and nothing is opened when the save is refused. A draft save without this field withdraws a pending request. Sending `true` on a draft that already has a pending request is 409 `state_conflict`. Where the post leaves the draft (scheduled or published), approval is enforced whatever this field says: for a member who may not publish on every channel, and for a client that requires approval. |
| `saveDraft` | boolean | body | no | Save as a draft instead of scheduling. A draft is not queued or paced and is not checked against every platform's rules, so it may be incomplete. |
| `campaignId` | string (uuid) | body | no | Optional campaign grouping. |
| `thread` | PostThreadInput | body | no | Thread mode (X, Bluesky, Threads): segment 0 is the head, each later segment replies to the one before it. The top-level content is ignored for thread-capable targets in favor of segments. On Threads every reply needs the account's `threads_manage_replies` permission; a connection without it publishes segment 0 only, as a normal post. |
| `mediaAltTexts` | object | body | no | Alt text per media asset: the key is the media id, the value is its alt text. |
| `coverMediaId` | string (uuid) | body | no | A separately uploaded IMAGE asset used as the video's cover/thumbnail (YouTube/Instagram/Facebook/Telegram). Omit to use the auto-extracted poster frame. YouTube takes a JPEG or PNG up to 50 MB, and only on a channel verified for custom thumbnails. Outcome is reported back on the post target as coverIssue. |
| `coverFrameMs` | integer | body | no | Cover frame offset in milliseconds, sent to TikTok as video_cover_timestamp_ms. Independent of coverMediaId. |

Responses: 200, 400, 401, 403, 404, 409, 422, 429

## Get a post

`GET /posts/{id}`

Scope: `posts.read`

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | string (uuid) | path | yes |  |

Responses: 200, 400, 401, 403, 404, 422, 429

## Update a draft post

`PATCH /posts/{id}`

Scope: `posts.compose`

Replace a draft post in place — content, media, targets, and schedule. Restricted to draft posts (`409` if the post is no longer a draft). Requires the `posts.compose` scope and an `Idempotency-Key` header.

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | string (uuid) | path | yes |  |
| `Idempotency-Key` | string | header | yes | A unique key (for example a UUID, up to 255 characters) for this request. Retry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |
| `clientId` | string (uuid) | body | yes |  |
| `content` | string | body | no | Base caption; per-platform captions live in variants[].contentOverride. LinkedIn: the caption is sent as typed. A mention token `@[Name](urn:li:person:ID)` or `@[Name](urn:li:organization:ID)` mentions that person or company; a malformed one fails validation with `mention_malformed`. |
| `mediaIds` | array of string (uuid) | body | no |  |
| `targets` | PostTargetSelection | body | yes | Which accounts to fan out to. |
| `variants` | array of PostVariantInput | body | no | Per-platform overrides — one entry per platform you want to customize. |
| `schedule` | PostScheduleInput | body | yes | When to publish. |
| `scheduleMode` | enum: managed | native | body | no | native hands Facebook/YouTube targets to the platform's own scheduler; every other target still falls back to managed. Off by default: with managed, SkedCast publishes at the time. A natively scheduled YouTube video is uploaded private and YouTube makes it public at the time; an unlisted video cannot be scheduled natively (that target fails: schedule it with managed). |
| `timezone` | string | body | no | IANA timezone the post is scheduled in. A schedule.scheduledLocal time is read in it. Omit it to use the client's default zone, then the workspace's, then UTC. |
| `aiDisclosure` | boolean | body | no | Set `true` when the post contains AI-generated content. It is applied to every variant's `aiGenerated` override when the post publishes and sets each network's AI label: TikTok, YouTube, Pinterest, Instagram, Threads, X (posts with media) and Facebook (Reels). LinkedIn, Bluesky, Google Business Profile and Telegram have no API field for it. Set `aiGenerated` on a variant only for an exception. |
| `requestApproval` | boolean | body | no | Submit into the approval workflow. A draft save (`saveDraft`, or an edit of a draft) opens a review request only when this is `true`. The post must then be publishable and have at least one destination: a post the platform rules refuse is answered 422 `validation_failed`, a post with no destination is answered 400 `no_targets_resolved`, and nothing is opened when the save is refused. A draft save without this field withdraws a pending request. Sending `true` on a draft that already has a pending request is 409 `state_conflict`. Where the post leaves the draft (scheduled or published), approval is enforced whatever this field says: for a member who may not publish on every channel, and for a client that requires approval. |
| `saveDraft` | boolean | body | no | Save as a draft instead of scheduling. A draft is not queued or paced and is not checked against every platform's rules, so it may be incomplete. |
| `campaignId` | string (uuid) | body | no | Optional campaign grouping. |
| `thread` | PostThreadInput | body | no | Thread mode (X, Bluesky, Threads): segment 0 is the head, each later segment replies to the one before it. The top-level content is ignored for thread-capable targets in favor of segments. On Threads every reply needs the account's `threads_manage_replies` permission; a connection without it publishes segment 0 only, as a normal post. |
| `mediaAltTexts` | object | body | no | Alt text per media asset: the key is the media id, the value is its alt text. |
| `coverMediaId` | string (uuid) | body | no | A separately uploaded IMAGE asset used as the video's cover/thumbnail (YouTube/Instagram/Facebook/Telegram). Omit to use the auto-extracted poster frame. YouTube takes a JPEG or PNG up to 50 MB, and only on a channel verified for custom thumbnails. Outcome is reported back on the post target as coverIssue. |
| `coverFrameMs` | integer | body | no | Cover frame offset in milliseconds, sent to TikTok as video_cover_timestamp_ms. Independent of coverMediaId. |

Responses: 200, 400, 401, 403, 404, 409, 422, 429

## Get a post's recycle settings

`GET /posts/{id}/recycle`

Scope: `posts.read`

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | string (uuid) | path | yes |  |

Responses: 200, 400, 401, 403, 404, 422, 429

## Set a post's recycle settings

`PUT /posts/{id}/recycle`

Scope: `posts.compose`

Set or replace a post's evergreen recycle settings (interval, times, end date, maximum recycles). SkedCast then republishes the post on that schedule. `lastRecycledAt` and `recycleCount` are kept across edits. Requires the `posts.compose` scope (Owner, Manager, or an Editor where the post goes) and an `Idempotency-Key` header.

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | string (uuid) | path | yes |  |
| `Idempotency-Key` | string | header | yes | A unique key (for example a UUID, up to 255 characters) for this request. Retry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |
| `enabled` | boolean | body | no | Master on/off; a disabled config is kept but never recycles. |
| `intervalDays` | integer | body | yes | Re-publish at most once per this many days. |
| `times` | array of string | body | no | Optional HH:MM slots (post timezone) to pin the republish minute. |
| `endDate` | string (date) | body | no | Optional stop date (YYYY-MM-DD). |
| `maxRecycles` | integer | body | no | Optional hard cap on total recycles. |

Responses: 200, 400, 401, 403, 404, 409, 422, 429

## Clear a post's recycle settings

`DELETE /posts/{id}/recycle`

Scope: `posts.compose`

Stop recycling: clear the post's recycle settings. Idempotent — clearing an already-cleared post still succeeds. Requires the `posts.compose` scope (Owner, Manager, or an Editor where the post goes) and an `Idempotency-Key` header.

| Field | Type | In | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | string (uuid) | path | yes |  |
| `Idempotency-Key` | string | header | yes | A unique key (for example a UUID, up to 255 characters) for this request. Retry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again. |

Responses: 200, 400, 401, 403, 404, 409, 422, 429
