Skip to content
Reading with an AI assistant?View as MarkdownOpen in ClaudeOpen in ChatGPT

API

Posts API reference

Updated

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

Posts API reference: endpoints

Every endpoint below uses the same authentication, conventions and error codes. New to the API? Start with the quickstart or the developer docs.

Prefer a typed client? Call these endpoints through the TypeScript SDK or the MCP server, and receive changes as webhook events.

Other resources: Post targets endpoints reference, Clients API reference, accounts reference, Workspace, Approvals endpoints reference, Campaigns API reference, analytics reference, Reports, Media endpoints reference, Webhooks API reference, inbox reference.

List posts

GET/posts

Requires the scope posts.read

Parameters
FieldDescription
cursorstringin queryKeyset cursor from a previous page.See pagination.
limitintegerin queryPage size (1–100).
statusenum: draft | scheduled | partially_published | published | failed | canceled | …in queryOne overall post status.
Morecanceled is a post whose every channel was canceled.
clientIdstring (uuid)in query
platformenum: x | linkedin | instagram | facebook | tiktok | youtube | …in query

Responses

200
A page of posts.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X GET "https://api.skedcast.com/v1/posts" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

json
{
  "data": [
    {}
  ],
  "page": {
    "hasMore": true,
    "cursor": "string",
    "nextCursor": "string"
  },
  "meta": {
    "correlationId": "string"
  }
}

Create a post

POST/posts

Requires the 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.

More about this endpoint

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.

Parameters
FieldDescription
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry 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.
Body
FieldDescription
clientIdstring (uuid)Required
contentstringBase caption; per-platform captions live in variants[].contentOverride.See each platform's caption limits.
MoreLinkedIn: 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.
mediaIdsarray of string (uuid)See uploading media.
targetsPostTargetSelectionRequiredWhich accounts to fan out to.See what each platform supports.
variantsarray of PostVariantInputPer-platform overrides — one entry per platform you want to customize.
schedulePostScheduleInputRequiredWhen to publish.
scheduleModeenum: managed | nativenative hands Facebook/YouTube targets to the platform's own scheduler; every other target still falls back to managed.
MoreOff 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).
timezonestringIANA timezone the post is scheduled in.
MoreA schedule.scheduledLocal time is read in it. Omit it to use the client's default zone, then the workspace's, then UTC.
aiDisclosurebooleanSet true when the post contains AI-generated content.
MoreIt 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.
requestApprovalbooleanSubmit into the approval workflow.
MoreA 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.
saveDraftbooleanSave as a draft instead of scheduling.
MoreA draft is not queued or paced and is not checked against every platform's rules, so it may be incomplete.
campaignIdstring (uuid)Optional campaign grouping.
threadPostThreadInputThread mode (X, Bluesky, Threads): segment 0 is the head, each later segment replies to the one before it.
MoreThe 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.
mediaAltTextsobjectAlt text per media asset: the key is the media id, the value is its alt text.
coverMediaIdstring (uuid)A separately uploaded IMAGE asset used as the video's cover/thumbnail (YouTube/Instagram/Facebook/Telegram).See setting a video cover.
MoreOmit 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.
coverFrameMsintegerCover frame offset in milliseconds, sent to TikTok as video_cover_timestamp_ms.
MoreIndependent of coverMediaId.

Responses

201
What the compose did: the new post's postId, its status, one row per destination in targets, and replayed when the Idempotency-Key replayed an earlier identical request.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X POST "https://api.skedcast.com/v1/posts" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "clientId": "0196b0a0-0000-7000-8000-000000000001",
  "targets": {
    "mode": "group",
    "clientId": "0196b0a0-0000-7000-8000-000000000001",
    "accountIds": [
      "0196b0a0-0000-7000-8000-000000000001"
    ],
    "platforms": [
      "x"
    ]
  },
  "schedule": {
    "type": "now",
    "scheduledAt": "2026-12-01T09:00:00Z",
    "scheduledLocal": "string",
    "from": "2026-12-01T09:00:00Z",
    "to": "2026-12-01T09:00:00Z",
    "spreadMinutes": 0
  }
}'

Response 201

json
{
  "data": {
    "postId": "0196b0a0-0000-7000-8000-000000000001",
    "status": "draft",
    "targetCount": 0,
    "targets": [
      {
        "targetId": "0196b0a0-0000-7000-8000-000000000001",
        "socialAccountId": "0196b0a0-0000-7000-8000-000000000001",
        "platform": "string",
        "status": "draft",
        "scheduledAt": "2026-12-01T09:00:00Z"
      }
    ],
    "replayed": true,
    "skippedTargets": [
      {
        "socialAccountId": "0196b0a0-0000-7000-8000-000000000001",
        "platform": "x",
        "reason": "string",
        "state": "string",
        "stateReason": {
          "code": "string",
          "label": "string",
          "explanation": "string"
        },
        "action": "reconnect"
      }
    ],
    "thread": {
      "threadGroupId": "0196b0a0-0000-7000-8000-000000000001",
      "segments": [
        {
          "seq": 0,
          "postId": "0196b0a0-0000-7000-8000-000000000001",
          "targetIds": []
        }
      ],
      "nonThreadTargetIds": [
        "0196b0a0-0000-7000-8000-000000000001"
      ]
    },
    "quota": {},
    "verdicts": [
      {
        "platform": "x",
        "status": "ok",
        "failedRules": [
          {}
        ],
        "chars": 0,
        "maxChars": 0
      }
    ],
    "warnings": [
      {
        "code": "override_key_unknown",
        "path": "string",
        "message": "string"
      }
    ]
  },
  "meta": {
    "correlationId": "string"
  }
}

Create up to 50 posts in one request

POST/posts/bulk

Requires the 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.

More about this endpoint
  • 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.

Parameters
FieldDescription
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry 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.
Body
FieldDescription
itemsarray of CreatePostInputRequiredThe posts to create (1-50).
MoreCreated one after another and independent: one failing never affects the others.
itemKeysarray of stringOptional idempotency key per item, parallel to items (same length).
MoreWhen omitted each item's key is derived from the request's Idempotency-Key and its position.
validateOnlybooleanDry run: check every item and return a verdict per item, writing nothing.
MoreRuns the shape rules, not quota or cadence.

Responses

200
One outcome per item, plus totals.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X POST "https://api.skedcast.com/v1/posts/bulk" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "items": [
    {
      "clientId": "0196b0a0-0000-7000-8000-000000000001",
      "targets": {
        "mode": "group",
        "clientId": "0196b0a0-0000-7000-8000-000000000001",
        "accountIds": [
          "0196b0a0-0000-7000-8000-000000000001"
        ],
        "platforms": [
          "x"
        ]
      },
      "schedule": {
        "type": "now",
        "scheduledAt": "2026-12-01T09:00:00Z",
        "scheduledLocal": "string",
        "from": "2026-12-01T09:00:00Z",
        "to": "2026-12-01T09:00:00Z",
        "spreadMinutes": 0
      },
      "content": "string",
      "mediaIds": [
        "0196b0a0-0000-7000-8000-000000000001"
      ],
      "variants": [
        {
          "platform": "x",
          "contentOverride": "string",
          "mediaIdsOverride": [],
          "overrides": {}
        }
      ],
      "scheduleMode": "managed",
      "timezone": "string",
      "aiDisclosure": true,
      "requestApproval": true,
      "saveDraft": true,
      "campaignId": "0196b0a0-0000-7000-8000-000000000001",
      "thread": {
        "segments": [
          {}
        ]
      },
      "mediaAltTexts": {},
      "coverMediaId": "0196b0a0-0000-7000-8000-000000000001",
      "coverFrameMs": 0
    }
  ]
}'

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

Validate a post without creating it

POST/posts/preview

Requires the 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.

More about this endpoint

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.

Body
FieldDescription
clientIdstring (uuid)Required
contentstringBase caption; per-platform captions live in variants[].contentOverride.See each platform's caption limits.
MoreLinkedIn: 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.
mediaIdsarray of string (uuid)See uploading media.
targetsPostTargetSelectionRequiredWhich accounts to fan out to.See what each platform supports.
variantsarray of PostVariantInputPer-platform overrides — one entry per platform you want to customize.
schedulePostScheduleInputRequiredWhen to publish.
scheduleModeenum: managed | nativenative hands Facebook/YouTube targets to the platform's own scheduler; every other target still falls back to managed.
MoreOff 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).
timezonestringIANA timezone the post is scheduled in.
MoreA schedule.scheduledLocal time is read in it. Omit it to use the client's default zone, then the workspace's, then UTC.
aiDisclosurebooleanSet true when the post contains AI-generated content.
MoreIt 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.
requestApprovalbooleanSubmit into the approval workflow.
MoreA 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.
saveDraftbooleanSave as a draft instead of scheduling.
MoreA draft is not queued or paced and is not checked against every platform's rules, so it may be incomplete.
campaignIdstring (uuid)Optional campaign grouping.
threadPostThreadInputThread mode (X, Bluesky, Threads): segment 0 is the head, each later segment replies to the one before it.
MoreThe 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.
mediaAltTextsobjectAlt text per media asset: the key is the media id, the value is its alt text.
coverMediaIdstring (uuid)A separately uploaded IMAGE asset used as the video's cover/thumbnail (YouTube/Instagram/Facebook/Telegram).See setting a video cover.
MoreOmit 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.
coverFrameMsintegerCover frame offset in milliseconds, sent to TikTok as video_cover_timestamp_ms.
MoreIndependent of coverMediaId.

Responses

200
The validation verdict.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X POST "https://api.skedcast.com/v1/posts/preview" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "clientId": "0196b0a0-0000-7000-8000-000000000001",
  "targets": {
    "mode": "group",
    "clientId": "0196b0a0-0000-7000-8000-000000000001",
    "accountIds": [
      "0196b0a0-0000-7000-8000-000000000001"
    ],
    "platforms": [
      "x"
    ]
  },
  "schedule": {
    "type": "now",
    "scheduledAt": "2026-12-01T09:00:00Z",
    "scheduledLocal": "string",
    "from": "2026-12-01T09:00:00Z",
    "to": "2026-12-01T09:00:00Z",
    "spreadMinutes": 0
  }
}'

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

Revise a scheduled post

POST/posts/{id}/revise

Requires the 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.

More about this endpoint

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.

Parameters
FieldDescription
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry 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.
idstring (uuid)in pathRequired
Body
FieldDescription
contentstringSee each platform's caption limits.
mediaIdsarray of string (uuid)See uploading media.
mediaAltTextsobject
coverMediaIdstring (uuid)See setting a video cover.
coverFrameMsinteger
aiDisclosureboolean
variantsarray of object
accountIdsarray of string (uuid)The destinations this post should have.
MoreAn 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
The revision report.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X POST "https://api.skedcast.com/v1/posts/{id}/revise" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

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

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

Requires the 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.

More about this endpoint

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.

Parameters
FieldDescription
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry 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.
idstring (uuid)in pathRequired
targetIdstring (uuid)in pathRequired
Body
FieldDescription
titlestringThe new title, no angle brackets.
descriptionstringThe new description, up to 5,000 bytes, no angle brackets.
MoreAn empty string clears it.
tagsarray of stringThe tags, replacing the current list.
MoreUp 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.
categoryIdstringThe YouTube category id, digits, e.g. "22".
privacyStatusenum: public | unlisted | privateRefused with edit_privacy_scheduled while YouTube is still scheduling the video.
madeForKidsbooleanThe COPPA declaration.
embeddablebooleanWhether the video may be embedded on other sites.
publicStatsViewablebooleanWhether the like count and view statistics show on the watch page.
defaultLanguagestringThe language of the title and description, a BCP-47 tag.
localizationsobjectTranslations keyed by BCP-47 language (up to 50), merged by language into the video's own.
MoreThe video needs a default language, sent here or already set.
coverMediaIdstring (uuid)An uploaded image (JPEG or PNG, up to 50 MB) to use as the thumbnail.See setting a video cover.
MoreThe channel must be verified for custom thumbnails.
captionsarray of objectSubtitle tracks to add or replace by language and name.
MoreTimed SRT or WebVTT only.
textstringThe 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).
MoreNot 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
What the platform accepted, and for YouTube the outcome of the thumbnail and subtitle steps.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
409
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X POST "https://api.skedcast.com/v1/posts/{id}/targets/{targetId}/edit-published" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

Response 200

json
{
  "data": {
    "object": "published_edit",
    "postId": "0196b0a0-0000-7000-8000-000000000001",
    "targetId": "0196b0a0-0000-7000-8000-000000000001",
    "applied": [
      "title"
    ],
    "coverIssue": "string",
    "captionIssue": "string",
    "warnings": [
      {
        "code": "override_key_unknown",
        "path": "string",
        "message": "string"
      }
    ],
    "captions": [
      {
        "language": "string",
        "status": "uploaded",
        "reason": "string",
        "platformStatus": 0,
        "trackId": "string"
      }
    ]
  },
  "meta": {
    "correlationId": "string"
  }
}

Publish or schedule a draft

POST/posts/{id}/publish

Requires the 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.

More about this endpoint

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.

Parameters
FieldDescription
idstring (uuid)in pathRequired
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry 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.
Body
FieldDescription
clientIdstring (uuid)Required
contentstringBase caption; per-platform captions live in variants[].contentOverride.See each platform's caption limits.
MoreLinkedIn: 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.
mediaIdsarray of string (uuid)See uploading media.
targetsPostTargetSelectionRequiredWhich accounts to fan out to.See what each platform supports.
variantsarray of PostVariantInputPer-platform overrides — one entry per platform you want to customize.
schedulePostScheduleInputRequiredWhen to publish.
scheduleModeenum: managed | nativenative hands Facebook/YouTube targets to the platform's own scheduler; every other target still falls back to managed.
MoreOff 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).
timezonestringIANA timezone the post is scheduled in.
MoreA schedule.scheduledLocal time is read in it. Omit it to use the client's default zone, then the workspace's, then UTC.
aiDisclosurebooleanSet true when the post contains AI-generated content.
MoreIt 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.
requestApprovalbooleanSubmit into the approval workflow.
MoreA 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.
saveDraftbooleanSave as a draft instead of scheduling.
MoreA draft is not queued or paced and is not checked against every platform's rules, so it may be incomplete.
campaignIdstring (uuid)Optional campaign grouping.
threadPostThreadInputThread mode (X, Bluesky, Threads): segment 0 is the head, each later segment replies to the one before it.
MoreThe 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.
mediaAltTextsobjectAlt text per media asset: the key is the media id, the value is its alt text.
coverMediaIdstring (uuid)A separately uploaded IMAGE asset used as the video's cover/thumbnail (YouTube/Instagram/Facebook/Telegram).See setting a video cover.
MoreOmit 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.
coverFrameMsintegerCover frame offset in milliseconds, sent to TikTok as video_cover_timestamp_ms.
MoreIndependent of coverMediaId.

Responses

200
The compose result, as returned by POST /posts (the draft's id stays the post's id).
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
409
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X POST "https://api.skedcast.com/v1/posts/{id}/publish" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "clientId": "0196b0a0-0000-7000-8000-000000000001",
  "targets": {
    "mode": "group",
    "clientId": "0196b0a0-0000-7000-8000-000000000001",
    "accountIds": [
      "0196b0a0-0000-7000-8000-000000000001"
    ],
    "platforms": [
      "x"
    ]
  },
  "schedule": {
    "type": "now",
    "scheduledAt": "2026-12-01T09:00:00Z",
    "scheduledLocal": "string",
    "from": "2026-12-01T09:00:00Z",
    "to": "2026-12-01T09:00:00Z",
    "spreadMinutes": 0
  }
}'

Response 200

json
{
  "data": {
    "postId": "0196b0a0-0000-7000-8000-000000000001",
    "status": "draft",
    "targetCount": 0,
    "targets": [
      {
        "targetId": "0196b0a0-0000-7000-8000-000000000001",
        "socialAccountId": "0196b0a0-0000-7000-8000-000000000001",
        "platform": "string",
        "status": "draft",
        "scheduledAt": "2026-12-01T09:00:00Z"
      }
    ],
    "replayed": true,
    "skippedTargets": [
      {
        "socialAccountId": "0196b0a0-0000-7000-8000-000000000001",
        "platform": "x",
        "reason": "string",
        "state": "string",
        "stateReason": {
          "code": "string",
          "label": "string",
          "explanation": "string"
        },
        "action": "reconnect"
      }
    ],
    "thread": {
      "threadGroupId": "0196b0a0-0000-7000-8000-000000000001",
      "segments": [
        {
          "seq": 0,
          "postId": "0196b0a0-0000-7000-8000-000000000001",
          "targetIds": []
        }
      ],
      "nonThreadTargetIds": [
        "0196b0a0-0000-7000-8000-000000000001"
      ]
    },
    "quota": {},
    "verdicts": [
      {
        "platform": "x",
        "status": "ok",
        "failedRules": [
          {}
        ],
        "chars": 0,
        "maxChars": 0
      }
    ],
    "warnings": [
      {
        "code": "override_key_unknown",
        "path": "string",
        "message": "string"
      }
    ]
  },
  "meta": {
    "correlationId": "string"
  }
}

Get a post

GET/posts/{id}

Requires the scope posts.read

Parameters
FieldDescription
idstring (uuid)in pathRequired

Responses

200
The post with its variants and targets.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X GET "https://api.skedcast.com/v1/posts/{id}" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

Update a draft post

PATCH/posts/{id}

Requires the 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.

Parameters
FieldDescription
idstring (uuid)in pathRequired
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry 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.
Body
FieldDescription
clientIdstring (uuid)Required
contentstringBase caption; per-platform captions live in variants[].contentOverride.See each platform's caption limits.
MoreLinkedIn: 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.
mediaIdsarray of string (uuid)See uploading media.
targetsPostTargetSelectionRequiredWhich accounts to fan out to.See what each platform supports.
variantsarray of PostVariantInputPer-platform overrides — one entry per platform you want to customize.
schedulePostScheduleInputRequiredWhen to publish.
scheduleModeenum: managed | nativenative hands Facebook/YouTube targets to the platform's own scheduler; every other target still falls back to managed.
MoreOff 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).
timezonestringIANA timezone the post is scheduled in.
MoreA schedule.scheduledLocal time is read in it. Omit it to use the client's default zone, then the workspace's, then UTC.
aiDisclosurebooleanSet true when the post contains AI-generated content.
MoreIt 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.
requestApprovalbooleanSubmit into the approval workflow.
MoreA 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.
saveDraftbooleanSave as a draft instead of scheduling.
MoreA draft is not queued or paced and is not checked against every platform's rules, so it may be incomplete.
campaignIdstring (uuid)Optional campaign grouping.
threadPostThreadInputThread mode (X, Bluesky, Threads): segment 0 is the head, each later segment replies to the one before it.
MoreThe 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.
mediaAltTextsobjectAlt text per media asset: the key is the media id, the value is its alt text.
coverMediaIdstring (uuid)A separately uploaded IMAGE asset used as the video's cover/thumbnail (YouTube/Instagram/Facebook/Telegram).See setting a video cover.
MoreOmit 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.
coverFrameMsintegerCover frame offset in milliseconds, sent to TikTok as video_cover_timestamp_ms.
MoreIndependent of coverMediaId.

Responses

200
The updated post.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
409
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X PATCH "https://api.skedcast.com/v1/posts/{id}" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "clientId": "0196b0a0-0000-7000-8000-000000000001",
  "targets": {
    "mode": "group",
    "clientId": "0196b0a0-0000-7000-8000-000000000001",
    "accountIds": [
      "0196b0a0-0000-7000-8000-000000000001"
    ],
    "platforms": [
      "x"
    ]
  },
  "schedule": {
    "type": "now",
    "scheduledAt": "2026-12-01T09:00:00Z",
    "scheduledLocal": "string",
    "from": "2026-12-01T09:00:00Z",
    "to": "2026-12-01T09:00:00Z",
    "spreadMinutes": 0
  }
}'

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

Get a post's recycle settings

GET/posts/{id}/recycle

Requires the scope posts.read

Parameters
FieldDescription
idstring (uuid)in pathRequired

Responses

200
The evergreen recycle config view, or null when the post is not recycling.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X GET "https://api.skedcast.com/v1/posts/{id}/recycle" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

Set a post's recycle settings

PUT/posts/{id}/recycle

Requires the 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.

Parameters
FieldDescription
idstring (uuid)in pathRequired
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry 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.
Body
FieldDescription
enabledbooleanMaster on/off; a disabled config is kept but never recycles.
intervalDaysintegerRequiredRe-publish at most once per this many days.
timesarray of stringOptional HH:MM slots (post timezone) to pin the republish minute.
endDatestring (date)Optional stop date (YYYY-MM-DD).
maxRecyclesintegerOptional hard cap on total recycles.

Responses

200
The resulting recycle config view.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
409
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X PUT "https://api.skedcast.com/v1/posts/{id}/recycle" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "intervalDays": 1
}'

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

Clear a post's recycle settings

DELETE/posts/{id}/recycle

Requires the 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.

Parameters
FieldDescription
idstring (uuid)in pathRequired
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry 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
The clear acknowledgement ({ postId, cleared: true }).
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
409
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X DELETE "https://api.skedcast.com/v1/posts/{id}/recycle" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}