Campaigns 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 API reference, post targets reference, Clients, Accounts endpoints reference, Workspace API reference, approvals reference, Analytics endpoints reference, Reports API reference, media reference, Webhooks, Inbox endpoints reference.
| Field | Description |
|---|---|
clientIdstring (uuid)in query | Include this client's campaigns alongside the workspace-wide ones. |
statusenum: active | archivedin query | |
cursorstringin query | Keyset cursor from a previous page.See pagination. |
limitintegerin query | Page size (1–100).MoreDefault 100. |
Responses
- 200
- One page of the campaigns, alphabetically.
- 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).
curl -X GET "https://api.skedcast.com/v1/campaigns" \
-H "Authorization: Bearer $SKEDCAST_API_KEY"Response 200
{
"data": [
{}
],
"page": {
"hasMore": true,
"cursor": "string",
"nextCursor": "string"
},
"meta": {
"correlationId": "string"
}
}Create a campaign (a named grouping of posts; omit clientId for a workspace-wide one). 409 campaign_exists on a duplicate (client, name). Requires the campaigns.manage scope (Owner, Manager, or an Editor on the campaign's client) and an Idempotency-Key header.
| Field | Description |
|---|---|
Idempotency-Keystringin headerRequired | A 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. |
| Field | Description |
|---|---|
namestringRequired | |
descriptionstring | |
statusenum: active | archived | |
colorstring | Hex color (#RRGGBB) for calendar/queue tinting. |
startsAtstring (date-time) | |
endsAtstring (date-time) | |
clientIdstring (uuid) | Optional client scope; omit for a workspace-wide campaign. |
Responses
- 201
- The created campaign.
- 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).
curl -X POST "https://api.skedcast.com/v1/campaigns" \
-H "Authorization: Bearer $SKEDCAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'Response 201
{
"data": {},
"meta": {
"correlationId": "string"
}
}| Field | Description |
|---|---|
idstring (uuid)in pathRequired |
Responses
- 200
- The campaign + a live
postCount. - 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).
curl -X GET "https://api.skedcast.com/v1/campaigns/{id}" \
-H "Authorization: Bearer $SKEDCAST_API_KEY"Response 200
{
"data": {},
"meta": {
"correlationId": "string"
}
}Partial update (name / description / status / color / planning window; ≥1 field). The client scope is immutable. Requires the campaigns.manage scope (Owner, Manager, or an Editor on the campaign's client) and an Idempotency-Key header.
| Field | Description |
|---|---|
idstring (uuid)in pathRequired | |
Idempotency-Keystringin headerRequired | A 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. |
| Field | Description |
|---|---|
namestring | |
descriptionstring | |
statusenum: active | archived | |
colorstring | |
startsAtstring (date-time) | |
endsAtstring (date-time) |
Responses
- 200
- The updated campaign.
- 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).
curl -X PATCH "https://api.skedcast.com/v1/campaigns/{id}" \
-H "Authorization: Bearer $SKEDCAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{}'Response 200
{
"data": {},
"meta": {
"correlationId": "string"
}
}Delete a campaign. Its posts are ungrouped, never deleted. Idempotent. Requires the campaigns.manage scope (Owner, Manager, or an Editor on the campaign's client) and an Idempotency-Key header.
| Field | Description |
|---|---|
idstring (uuid)in pathRequired | |
Idempotency-Keystringin headerRequired | A 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 delete acknowledgement (
{ ok: 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).
curl -X DELETE "https://api.skedcast.com/v1/campaigns/{id}" \
-H "Authorization: Bearer $SKEDCAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"Response 200
{
"data": {},
"meta": {
"correlationId": "string"
}
}Group the given posts into the campaign. On a client-scoped campaign, cross-client posts are silently skipped. Returns { assigned }. Requires the campaigns.manage scope (Owner, Manager, or an Editor on the campaign's client) and an Idempotency-Key header.
| Field | Description |
|---|---|
idstring (uuid)in pathRequired | |
Idempotency-Keystringin headerRequired | A 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. |
| Field | Description |
|---|---|
postIdsarray of string (uuid)Required |
Responses
- 200
- The assignment count (
{ assigned }). - 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).
curl -X POST "https://api.skedcast.com/v1/campaigns/{id}/assign" \
-H "Authorization: Bearer $SKEDCAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"postIds": [
"0196b0a0-0000-7000-8000-000000000001"
]
}'Response 200
{
"data": {},
"meta": {
"correlationId": "string"
}
}Un-group the given posts from the campaign. Returns { unassigned }. Requires the campaigns.manage scope (Owner, Manager, or an Editor on the campaign's client) and an Idempotency-Key header.
| Field | Description |
|---|---|
idstring (uuid)in pathRequired | |
Idempotency-Keystringin headerRequired | A 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. |
| Field | Description |
|---|---|
postIdsarray of string (uuid)Required |
Responses
- 200
- The unassignment count (
{ unassigned }). - 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).
curl -X POST "https://api.skedcast.com/v1/campaigns/{id}/unassign" \
-H "Authorization: Bearer $SKEDCAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"postIds": [
"0196b0a0-0000-7000-8000-000000000001"
]
}'Response 200
{
"data": {},
"meta": {
"correlationId": "string"
}
}Move the whole campaign's still-pending schedule by a relative shiftMinutes (non-zero, ±1 year). Each target moves on its own, so one failure does not stop the rest. Returns the bulk { accepted, skipped, skippedReasons } result. Requires the campaigns.manage scope (Owner, Manager, or an Editor on the campaign's client) and an Idempotency-Key header.
| Field | Description |
|---|---|
idstring (uuid)in pathRequired | |
Idempotency-Keystringin headerRequired | A 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. |
| Field | Description |
|---|---|
shiftMinutesintegerRequired | Non-zero relative shift in minutes. |
respectCadenceboolean | Advisory: asks SkedCast to keep each account's spacing between posts when it moves them. |
Responses
- 200
- The bulk shift 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).
curl -X POST "https://api.skedcast.com/v1/campaigns/{id}/shift" \
-H "Authorization: Bearer $SKEDCAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"shiftMinutes": -525600
}'Response 200
{
"data": {},
"meta": {
"correlationId": "string"
}
}