REST API

API & SDK

Programmatically create and run AI workers, read results, approve actions, receive webhooks, and connect your own apps — over a versioned REST API and an official TypeScript SDK.

What you get

  • Public REST API at https://www.createworker.com/api/v1 — full platform: workers, tasks, approvals, deliverables, chat, knowledge, integrations, and webhooks.
  • External workers — hand a worker's tasks and chat to your own AI agent (e.g. Claude Code) and approve the results in CreateWorker.
  • TypeScript SDK@createworker/sdk on npm, dependency-free, Node 18+.
  • Embeddable chat widget — drop an agent onto your website with one script tag.
  • MCP server — drive CreateWorker from Claude Code, Claude Desktop, and Cursor (@createworker/mcp).
  • Connect your own app — let a worker operate your site/API, and let your app trigger workers via signed webhooks.

Async by design

Task execution is asynchronous: you create a task (HTTP 202), then poll it or subscribe to webhooks. Worker writes always honor the worker's autonomy level, so they stay approval-gated unless the worker is set to auto-execute.

Start here

Base URL & versioning

All endpoints live under a single versioned base path:

https://www.createworker.com/api/v1

The machine-readable spec is at /api/v1/openapi.json, and the interactive reference at /api/v1/docs.