Open API & SDK

Build on CreateWorker

Create and run AI workers, read results, and connect your own apps — with a versioned REST API, an official TypeScript SDK, an embeddable chat widget, and signed webhooks.

Public REST API

Full-platform REST API — workers, tasks, approvals, deliverables, knowledge, and integrations. Bearer-token auth, scopes, idempotency.

Quickstart →

TypeScript SDK

@createworker/sdk — dependency-free, type-safe, Node 18+. Auto retries, idempotency, waitForTask, and webhook verification built in.

Quickstart →

Embeddable chat widget

Drop an agent onto your website with one script tag. Origin-locked publishable keys — no secret ever touches the browser.

Quickstart →

MCP Server

Use CreateWorker inside Claude Code, Claude Desktop, and Cursor. The @createworker/mcp server turns your workers into MCP tools — local (npx) or hosted.

Quickstart →

developers.external.title

developers.external.description

developers.external.cta

Connect your own app

Let a worker operate your website, CRM, or helpdesk: connect your API and a bound worker can read and update it (SSRF-guarded, approval-gated). Or send signed webhooks so events in your app — a new ticket, a new order — trigger a worker automatically.

Read the tutorial
const cw = new CreateWorker({ apiKey });

// Let a worker manage your site
const conn = await cw.integrations.createApiConnection({
  displayName: "My portfolio",
  baseUrl: "https://api.myportfolio.com",
  allowedHosts: ["api.myportfolio.com"],
  authMode: "bearer",
  bearerToken: process.env.MY_TOKEN,
});
await cw.integrations.bind({
  workerId, connectionId: conn.id, purpose: "OUTBOUND",
});

Frequently asked questions

How do I authenticate with the API?

Create an API key in the Developer dashboard and send it as a Bearer token. Keys are scoped, so you grant only the access an integration needs.

Is there an official SDK?

Yes — @createworker/sdk for TypeScript/Node. It's dependency-free and type-safe, with helpers for tasks, approvals, webhooks, and connecting your own apps.

Can I use CreateWorker from Claude Code or Cursor?

Yes. The @createworker/mcp server exposes your workers as MCP tools, so you can drive them from Claude Code, Claude Desktop, Cursor, and other MCP clients.

Can my own app act as an integration a worker can operate?

Yes. Register an API connection (so a worker can call your app) and a webhook connection (so your app can trigger workers), then bind them to a worker.

Developer API & SDK - CreateWorker | CreateWorker