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

Guides

SkedCast API partner onboarding: connect a client's accounts

Updated

Partner onboarding with the SkedCast API takes four calls: create a client, mint a connect link, let the customer authorize their own accounts, and publish through the API. If you run your own product on top of SkedCast (an agency tool, a creator platform, a vertical SaaS), the customer never sees a SkedCast login. This is the exact flow, start to finish.

Browse docs

What it does#

Your customer connects their own social accounts from a link you send, with no SkedCast account, and your code publishes to them with your own API key (or an OAuth token). Each customer becomes a client in your workspace.

Prerequisites#

  • API keys and the REST API are included from Studio, and MCP access for AI clients from Solo. See the pricing page for the current plans.
  • A key with clients.manage, accounts.connect, accounts.read and posts.compose, created by an Owner or Manager: a key's power is scopes ∩ access. See scopes and authentication.

SkedCast API partner onboarding flow#

SkedCast API partner onboarding flow
StepCallScopeWho acts
Create the clientPOST /clientsclients.manageYour code
Mint a connect linkPOST /clients/<clientId>/connect-invitesaccounts.connectYour code
Connect the accountsOpen the linkNoneYour customer
PublishPOST /postsposts.composeYour code

Every call uses your own API key. Read from the SkedCast API contract, 20 November 2026.

Diagram: create the client, mint the connect link, the customer connects their own accounts, then publish on their behalf.
From a new customer to a published post, with no SkedCast login for the customer.
bash
curl -X POST https://api.skedcast.com/v1/clients \
  -H "Authorization: Bearer sked_live_YOUR_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Riverside Coffee Co.", "type": "brand" }'
Creating a client is idempotent on the workspace and client name. Keep the returned `id`: every later step is scoped to it.
bash
curl -X POST https://api.skedcast.com/v1/clients/<clientId>/connect-invites \
  -H "Authorization: Bearer sked_live_YOUR_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{ "platforms": ["instagram", "tiktok"], "expiresInHours": 72 }'
Mint the link for the platforms to connect. It is valid until `expiresAt` (`expiresInHours`, 1–168, default 48) and is multi-use within that window.
json
{
  "data": {
    "inviteId": "3f9a…",
    "url": "https://app.skedcast.com/invite/inv_9f3a2b…",
    "token": "inv_9f3a2b…",
    "platformsRequested": ["instagram", "tiktok"],
    "expiresAt": "2026-07-06T15:00:00Z"
  },
  "meta": { "correlationId": "c-…" }
}
Response: hand data.url to the customer.

The customer opens the url, sees your workspace name, their client name and the platforms you requested, and connects each through the platform's own OAuth.

A re-sent link only asks for what is missing.

3. Detect that the customer connected#

Subscribe to account.connected (a new account) and account.reconnected (an existing one connected again), or read GET /accounts?clientId=<clientId>. See webhooks and the webhook payload examples to test your handler.

4. Post on the client's behalf#

bash
# see what connected
curl "https://api.skedcast.com/v1/accounts?clientId=<clientId>" \
  -H "Authorization: Bearer sked_live_YOUR_KEY"

# publish on their behalf
curl -X POST https://api.skedcast.com/v1/posts \
  -H "Authorization: Bearer sked_live_YOUR_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{ "clientId": "<clientId>", "content": "New drop is live 🚗", "targets": { "mode": "selection", "accountIds": ["<accountId>"] }, "schedule": { "type": "at", "scheduledAt": "2030-01-15T15:00:00Z" } }'
List the client's connected accounts, then publish. Media: see [media uploads](/developers/media-uploads).

Verify#

  • Open the link in a private window, connect a test account, and confirm your product receives account.connected.
  • Publish a test post and confirm target.published arrives.
  • Let a link expire and confirm your product mints a new one; disconnect a test account and confirm it reacts to account.reauth_required.

Troubleshoot#

Troubleshoot
SituationWhat to do
A connection expires laterSkedCast sends account.token_expiring ahead and account.reauth_required when the account must be authorized again. Mint a fresh connect link for the same client; it only asks for what is missing.
The link expired before the customer finishedMint a new link for the same client.
A call failed or timed outRetry 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.
A call is refusedThe error body names the reason: a missing scope, a role that cannot create clients, or a platform the plan does not include. See the error catalogue.

Data to store#

Data to store
ValueWhenWhy
Client idWhen you create the clientScopes every later request
inviteId and expiresAtWhen you mint a linkResend a link before it expires
Account idWhen the customer connectsPublish to the right accounts
Link tokenDo not keep itAnyone holding it can connect accounts to that client until it expires

Concepts#

  • Partial connections: a customer can connect Instagram now and TikTok later from the same link. Listen for account.connected and update your checklist.
  • Several brands: create one client per brand, each with its own accounts. Brands that share accounts stay in one client, which is the unit that owns accounts.
  • Approvals: set an approval policy on each client at creation, or with PATCH /v1/clients/{id}. You receive approval.requested and approval.decided; list waiting items with GET /v1/approvals and decide with POST /v1/approvals/{id}/approve, /reject or /request-changes.
  • Time zones: store the customer's time zone on their client and send publish times in ISO 8601 with an offset, so a post booked for 9:00 local stays at 9:00 local.

Onboard many customers at once#

Create the clients in a loop with an Idempotency-Key on each call and mint one link per client. POST /v1/posts/bulk takes up to 50 posts per request.

Each plan has its own client limit, listed on the pricing page; request budgets are in conventions.

Offboard a customer#

Cancel the posts still scheduled, then archive the client with DELETE /v1/clients/{id}. Archiving is a soft delete that an Owner performs, and you receive client.deleted.

Sources