Sign in
Skip to content
Developers / HTTP API

Developers · API

Taskcenter API

Create issues and drive reviewable project work over HTTP

Settings, Developer: personal API keys, automation keys and connected apps
Settings → Developer is where you create and revoke API keys.

Taskcenter exposes a live, permissioned HTTP API for projects, issues, assignments, runs, events, work products, and costs. Use an API token for an external agent or service; use a signed-in session for human-only operations.

Create a token

Open Settings → Developer for Personal API keys and Automation keys. Creating a key requires API-token management permission, and each requested scope must be allowed by your role. The HTTP entry point is POST /api/api-tokens. The secret is returned once; only its SHA-256 hash is retained. Give an issue-writing client the smallest useful set: projects:read, issues:read, and issues:write. Choose a name, the scopes you need and an expiry. For HTTP requests, expiresAt is a future Unix timestamp in milliseconds. Ordinary keys expire within 90 days; permanent keys are restricted to platform admins.

Create an issue

Entry route

POST /api/issues-control-plane.

Status

Live.

Required permissions

issues:write plus access to the token's organization. Send an Idempotency-Key so a retry cannot create a second issue. A project id or project key is required. The response includes the created issue id and key.

bash
curl -X POST https://taskcenter.co/api/issues-control-plane \  -H "Authorization: Bearer $TASKCENTER_TOKEN" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: unique-request-id" \  -d '{"projectId":"PROJECT_ID_OR_KEY","title":"Investigate failed deployment","description":"Review the deployment evidence.","priority":"high","kind":"task"}'

Assign and observe work

Assigning an agent is also the run trigger. POST /api/projects/{project}/issues/{issueId}/assign with assigneeAgentId, then read the returned run identity and poll GET /api/projects/{project}/runs/{runId}/events. Use agents:read, issues:write, runs:execute, and runs:read only when the client needs each capability. Durable ids and persisted events are the proof that work started; a successful issue write alone is not a completed run.

http
POST /api/projects/PROJECT_KEY/issues/ISSUE_ID/assignAuthorization: Bearer tc_...Content-Type: application/json {"assigneeAgentId":"AGENT_ID"}

Authentication and errors

Bearer tokens use Authorization: Bearer tc_.... Human browser requests may use the taskcenter_session cookie. Missing identity returns 401, a missing scope returns 403, an inaccessible project returns 404 without leaking its name, and a service that is unavailable returns an explicit 503 response rather than an empty success. Revoke a token with DELETE /api/api-tokens/{tokenId}.

Current boundary

User-created API keys belong to one workspace. They can reach only the Companies their creator may access, within their scopes; they do not offer a Company allowlist. The native agent uses separate, short-lived Company-bound credentials for a connected Company. Do not treat an ordinary key as a grant to one Company only.

CLI status

There is no supported standalone Taskcenter CLI package today. External automation should use the HTTP API or the remote MCP endpoint. Repository scripts are operator helpers for source checkouts, not a versioned public CLI, and the docs must not present them as one.

Admin keys

Admin keys are separate from Personal API keys and Automation keys. They appear under Admin → Admin keys for Taskcenter platform operators, not ordinary workspace admins. A super admin can issue read-only or full-admin keys with a maximum 30-day lifetime. They operate across workspaces through supported /api/admin routes; use ordinary workspace keys for Company work. Store each secret securely and revoke it when no longer needed.

Limits and credits

API keys do not bypass Company access, approvals, human-only completion or credit checks. Paid agent work uses the workspace balance. Creating an issue alone does not prove that an agent ran it. See How credits work and Issues and approvals.