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

API

Accounts API reference

Updated

The Accounts API reference covers 8 endpoints of the SkedCast social media REST API. Connected social accounts and posting limits.

Accounts 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 reference, Post targets, Clients endpoints reference, workspace reference, Approvals, Campaigns endpoints reference, Analytics API reference, reports reference, Media, Webhooks endpoints reference, Inbox API reference.

List connected accounts

GET/accounts

Requires the scope accounts.read

Parameters
FieldDescription
cursorstringin queryKeyset cursor from a previous page.See pagination.
limitintegerin queryPage size (1–100).
clientIdstring (uuid)in query
platformenum: x | linkedin | instagram | facebook | tiktok | youtube | …in query
publishablebooleanin querytrue returns only the channels a post can go out on right now (the channel's publish capability is allowed).
MoreOmitted or false returns every channel.
statusenum: active | reauth_required | disconnectedin queryFilter by channel status.
MoreA row's status can also read rate_limited or expiring; those are not filter values and are refused with 422.

Responses

200
A page of connected accounts. - An account that needs reconnecting carries reconnectReason: token_refresh_rejected, no_refresh_token, app_removed, missing_permission, security_change, credential_unreadable, repeated_auth_failures, moved_to_new_app, reconnect_requested, platform_checkpoint, asset_unavailable, account_restricted or unknown.
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/accounts" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

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

Posting-limits overview

GET/accounts/cadence

Requires the scope accounts.read

Responses

200
Every active channel's posting-limits view, plus tenantBypassed (true when per-account posting limits do not apply to the workspace).
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/accounts/cadence" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

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

Get a connected account

GET/accounts/{id}

Requires the scope accounts.read

Parameters
FieldDescription
idstring (uuid)in pathRequired

Responses

200
The connected account. - When it needs reconnecting, reconnectReason says why: token_refresh_rejected, no_refresh_token, app_removed, missing_permission, security_change, credential_unreadable, repeated_auth_failures, moved_to_new_app, reconnect_requested, platform_checkpoint, asset_unavailable, account_restricted or unknown (the cause could not be proven).
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/accounts/{id}" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

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

Get an account's posting limits

GET/accounts/{id}/cadence

Requires the scope accounts.read

Parameters
FieldDescription
idstring (uuid)in pathRequired

Responses

200
The account's posting-limits view: effective daily cap and minimum spacing (your override, else the platform default; the cap is a positive number, or null for no cap), whether SkedCast support paused the account (paused), used today, reset time and tenantBypassed.
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/accounts/{id}/cadence" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

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

List a Pinterest account's boards

GET/accounts/{id}/boards

Requires the scope accounts.read

Parameters
FieldDescription
idstring (uuid)in pathRequired

Responses

200
The boards this Pinterest account can pin to: its own boards and the group boards it collaborates on.
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/accounts/{id}/boards" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

json
{
  "data": {
    "boards": [
      {
        "id": "string",
        "name": "string"
      }
    ]
  },
  "meta": {
    "correlationId": "string"
  }
}

Create a Pinterest board

POST/accounts/{id}/boards

Requires the scope posts.compose

Create a board on a connected Pinterest account and return its id and name, ready to use as a Pin's boardId. privacy is PUBLIC (the default) or SECRET (only the account and its collaborators see it). Requires the posts.compose scope, a role that can create boards on that channel (a Publisher or Editor access role on it, a Manager or the Owner; a Viewer, Contributor or Community manager gets 403 rbac_permission_denied), a verified email, 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
namestringRequired
descriptionstring
privacyenum: PUBLIC | SECRET

Responses

201
The created board.
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/accounts/{id}/boards" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string"
}'

Response 201

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

List a Pinterest board's sections

GET/accounts/{id}/boards/{boardId}/sections

Requires the scope accounts.read

Parameters
FieldDescription
idstring (uuid)in pathRequired
boardIdstringin pathRequiredA Pinterest board id (digits), from GET /accounts/{id}/boards.

Responses

200
The sections of one board.
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/accounts/{id}/boards/{boardId}/sections" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

json
{
  "data": {
    "sections": [
      {
        "id": "string",
        "name": "string"
      }
    ]
  },
  "meta": {
    "correlationId": "string"
  }
}

Create a Pinterest board section

POST/accounts/{id}/boards/{boardId}/sections

Requires the scope posts.compose

Create a section on one board of a connected Pinterest account and return its id and name. Requires the posts.compose scope, a role that can create boards on that channel (a Publisher or Editor access role on it, a Manager or the Owner; a Viewer, Contributor or Community manager gets 403 rbac_permission_denied), a verified email, and an Idempotency-Key header.

Parameters
FieldDescription
idstring (uuid)in pathRequired
boardIdstringin pathRequiredA Pinterest board id (digits), from GET /accounts/{id}/boards.
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
namestringRequired

Responses

201
The created section.
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/accounts/{id}/boards/{boardId}/sections" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string"
}'

Response 201

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