Skip to content

Guides

OpenAPI 3.1 social media API SDK: spec and quickstart

The machine-readable contract for SkedCast's /v1 API is a full OpenAPI 3.1 document at https://skedcast.com/openapi.json, covering every operation, security scheme, and the error model. A typed TypeScript SDK (@skedcast/sdk) already powers the SkedCast console itself; a public npm release is planned.

Browse docs

5 min read

OpenAPI 3.1 social media API SDK: what's available today#

ResourceStatusURL
OpenAPI 3.1 specLivehttps://skedcast.com/openapi.json
TypeScript SDK (@skedcast/sdk)First-party today; public npm package plannedImport from the REST API + spec meanwhile
REST API (any language)Livehttps://api.skedcast.com/v1

Generating a client from the spec#

Import the OpenAPI document into Postman or Insomnia to explore the API interactively, or point any standard OpenAPI code generator (openapi-generator, openapi-typescript, kiota) at it to produce a typed client in Python, Go, Java, or any other supported language. Because the spec covers the security schemes too, most generators wire up the Bearer auth header automatically.

bash
openapi-generator-cli generate \
  -i https://skedcast.com/openapi.json \
  -g python \
  -o ./skedcast-client
Generate a Python client with openapi-generator (as one example).

The TypeScript SDK#

@skedcast/sdk is a typed, fetch-based client — the same one the SkedCast console itself runs on. It's first-party today (not yet on npm); build against the REST API or the generated client in the meantime, and switch to the published package once it ships.

ts
import { createSkedcast } from "@skedcast/sdk";

const sk = createSkedcast({
  baseUrl: "https://api.skedcast.com/v1",
  apiKey: process.env.SKEDCAST_API_KEY,
});

const { data } = await sk.posts.create({ clientId, content, targets, schedule });
openapisdkcodegen

FAQ

Is the OpenAPI spec kept in sync with the real API?
Yes — it's the machine-readable version of the same /v1 surface documented at /developers/api-reference. Import it into Postman, Insomnia, or a codegen tool for a client that matches the live API.
When will @skedcast/sdk be published to npm?
It's currently a first-party package used internally by SkedCast's own apps. A public npm release is planned; build against the REST API or a generated OpenAPI client until then.

Ready to broadcast everywhere?

Sign up free — no credit card. You land on the Free plan, and you can start a one-time 7-day Studio trial from your workspace whenever you are ready. Connect your first accounts, import a batch, and watch one post fan out across every platform.