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

API

Post targets API reference

Updated

The Post targets API reference covers 7 endpoints of the SkedCast social media REST API. A post target is one post on one connected account: list them, read their tries, and reschedule, retry or cancel each one.

Post targets 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: Posts endpoints reference, clients reference, Accounts, Workspace endpoints reference, Approvals API reference, campaigns reference, Analytics, Reports endpoints reference, Media API reference, webhooks reference, Inbox.

List post targets

GET/post-targets

Requires the scope posts.read

Parameters
FieldDescription
cursorstringin queryKeyset cursor from a previous page.See pagination.
limitintegerin queryPage size (1–100).
statusenum: draft | scheduled | native_scheduled | published | failed | canceled | …in queryOne destination status (the values statuses lists).
statusesstringin queryComma-separated destination statuses (e.g.
Morefailed,on_hold): draft, scheduled, native_scheduled, published, failed, canceled, on_hold, missed. An unknown value is refused (422).
clientIdstring (uuid)in query
accountIdstring (uuid)in query
platformenum: x | linkedin | instagram | facebook | tiktok | youtube | …in query
fromstring (date-time)in queryLower bound on scheduledAt (inclusive).
tostring (date-time)in queryUpper bound on scheduledAt (inclusive).
sortenum: created_at | scheduled_atin querySort key.
MoreDefaults to created_at; use scheduled_at for a publishing timeline. A cursor is bound to the ordering it was issued for — changing this mid-pagination answers 400 cursor_sort_mismatch, so restart from the first page.
orderenum: asc | descin query
qstringin queryFree-text search over the post's caption, per-platform variant overrides, client name, and destination account label/handle.
MoreMatched post-wise, so a match returns the post's full fan-out.

Responses

200
A page of post targets (one per destination), each with externalId and its derived permalink, plus thumbnailUrl and thumbnailPlaceholderColor (the thumbnail's dominant colour as #rrggbb to paint while it loads; null when none).
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/post-targets" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

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

Get a post target

GET/post-targets/{id}

Requires the scope posts.read

Parameters
FieldDescription
idstring (uuid)in pathRequired

Responses

200
The post target, including externalId (the platform's own post id) and permalink (its public URL, or null when unpublished or not available for that platform).
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/post-targets/{id}" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

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

List the tries on a post target

GET/post-targets/{id}/attempts

Requires the scope posts.read

Parameters
FieldDescription
idstring (uuid)in pathRequired
cursorstringin queryKeyset cursor from a previous page.See pagination.
limitintegerin queryPage size (1–100).

Responses

200
Every try SkedCast made to publish (or edit, or remove) the post on this destination, newest first: when it ran (startedAt, finishedAt, durationMs), why (trigger: schedule, retry, member_retry, ...), how it ended (outcome: succeeded, failed, deferred when a platform limit held it back, indeterminate when the platform may have acted, ...), why it did not succeed (errorCategory and the platform's own errorCode) and the platform's request id (providerTraceId) to quote to the platform's support.
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/post-targets/{id}/attempts" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

json
{
  "data": [
    {
      "id": "0196b0a0-0000-7000-8000-000000000001",
      "attemptNo": 1,
      "operation": "string",
      "trigger": "schedule",
      "startedAt": "2026-12-01T09:00:00Z",
      "finishedAt": "2026-12-01T09:00:00Z",
      "durationMs": 0,
      "outcome": "running",
      "errorCategory": "refresh-token",
      "errorCode": "string",
      "providerTraceId": "string"
    }
  ],
  "page": {
    "hasMore": true,
    "cursor": "string",
    "nextCursor": "string"
  },
  "meta": {
    "correlationId": "string"
  }
}

Reschedule a post target

POST/post-targets/{id}/reschedule

Requires the scope posts.compose

Move a pending post target to a new time — an absolute scheduledAt (ISO-8601 UTC, ending in Z, e.g. 2026-11-05T09:00:00Z) OR a relative shiftMinutes, not both. 409 for a published/canceled target; 400 for a non-future time. Requires the posts.compose scope.

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
scheduledAtstring (date-time)ISO-8601 UTC instant ending in Z, e.g. 2026-11-05T09:00:00Z.
shiftMinutesinteger
respectCadenceboolean

Responses

201
The rescheduled target.
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/post-targets/{id}/reschedule" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json"

Response 201

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

Retry a post target

POST/post-targets/{id}/retry

Requires the scope posts.compose

Re-queue a post target so it publishes again: a failed one, or one on_hold whose holdReason may be cut short: platform_rate_limit, platform_outage, shared_capacity, quota_unconfirmed, channel_blocked (on channel_blocked the post is sent at once, and if it goes through the platform's block is lifted). 409 not_retryable for any other status or reason; a missed target is rescheduled, not retried. No request body. Requires the posts.compose scope.

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

201
The re-queued target.
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/post-targets/{id}/retry" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 201

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

Cancel a post target

POST/post-targets/{id}/cancel

Requires the scope posts.compose

Cancel a still-pending post target before it publishes (idempotent — an already-canceled target is a no-op success). 409 already_published for a published target. No request body. Requires the posts.compose scope.

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

201
The canceled target.
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/post-targets/{id}/cancel" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 201

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

Bulk post-target action

POST/post-targets/bulk

Requires the scope posts.compose

Apply one action (reschedule, retry, cancel or delete) across a selection of post-target ids (1 to 5,000). Each is processed independently.

More about this endpoint
  • cancel stops a target and keeps its row, which stays in the list as Canceled.
  • delete removes a row only when the target was never attempted. Every other target (published, held on the platform’s own scheduler, or attempted, which includes most failed posts) is skipped and named in skippedReasons. delete is never turned into cancel.

Returns the accepted and skipped counts (accepted: 0 means nothing changed) and a reason code for each skipped id. Requires the posts.compose scope.

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
actionenum: reschedule | retry | cancel | deleteRequired
targetIdsarray of string (uuid)Required
paramsobjectOptions for reschedule only: scheduledAt (an absolute ISO-8601 UTC time ending in Z) or shiftMinutes (a relative move), plus an optional respectCadence.

Responses

201
The bulk action result.
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/post-targets/bulk" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "reschedule",
  "targetIds": [
    "0196b0a0-0000-7000-8000-000000000001"
  ]
}'

Response 201

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