Skip to content

Docs

Developer docs

Markdown version

Tendbrook is built to be used by programs and AI agents as well as people. Everything below works with an account on any plan, including Free.

REST API

  • Spec: OpenAPI 3.1 at https://www.tendbrook.com/openapi.json. It lists every route, the scope each one needs, request and response schemas, and the rate limits.
  • Base URL: https://api.tendbrook.com/v1
  • Authentication: Authorization: Bearer ec_live_…. An owner creates keys in Settings → API keys and chooses their scopes. A key never has more access than the person who made it, and it stops working when they leave. Details: Authentication.
  • IDs are opaque and prefixed (ck_site_…, ck_vis_…, ck_hh_…). Lists use cursor pagination.
  • Errors say what went wrong and what to do next: { "error": { "code": "…", "message": "…" } }.
  • Writes that reach outside (a message to a family, a card checkout, a file sent to a state) go through the same policy as the app, and each kind of family message stays off until the organization turns it on.

MCP server

Connect Claude, ChatGPT, Cursor or any MCP client to https://api.tendbrook.com/mcp (Streamable HTTP). Clients sign in with OAuth, registering themselves, or send an API key. Details: MCP server.

CLI

The ec command line covers every resource, signs in with OAuth profiles or a key, prints JSON, and has a built-in --jq. ec install claude-code writes a project's .mcp.json and a skill for Claude Code; it references ${EC_API_KEY}, never the key itself. Install and every command: CLI.

Webhooks

  • Outbound: subscribe to agent and platform events. Every delivery is signed per Standard Webhooks (webhook-id, webhook-timestamp, webhook-signature).
  • Inbound: start an agent from any system with a webhook trigger, authenticated by the trigger's secret (Authorization: Bearer …). Any tool that can send an HTTP request (Zapier, Make, n8n and others) can call the webhook.

Signing, retries and the event list: Webhooks.

Machine-readable files

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.
Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.