Docs
Developer docs
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
- llms.txt and llms-full.txt
- pricing.json and pricing.md
- Every page has a Markdown version: add
.mdto its path (/pricing.md,/index.mdfor the home page) or sendAccept: text/markdown. - security.txt