Developers

Everything an agent or a developer needs to read ScopedPost before writing a line of code — the contract, the limits, and the auth model, all machine-readable.

Machine-readable docs

AssetWhat it is
OpenAPI 3.0The full machine-readable contract — every route, its scope, and its responses. Generated from the implementation, so the spec and the server cannot drift apart.
llms.txtThe short index: what ScopedPost is, where the docs live, the concepts, and the core API.
llms-full.txtThe complete API reference in Markdown, generated from the same OpenAPI object as the spec.
Capability manifestCapabilities, limits, plans, auth, SDKs, MCP tools, and trust facts as one versioned JSON document.
Trust feedThe trust centre as JSON — control matrix, sub-processors, policies, and what does not exist yet.

Authentication

One header for everything: Authorization: Bearer <key>. Three key types, each with its own scope:

KeyScope
sk_live_…Human key — sends for real.
sk_test_…Human key — test lane, never delivers.
sk_agent_…Per-agent key — bound to one agent, one recipient-domain allowlist, and one cap set.

Keys are stored as hashes, never in plain text, and each one revokes on its own. A key that leaks is a revoked key, not a breach. Read what a scoped key is.

Core endpoints

EndpointWhat it does
POST /api/emailsSend email
POST /api/emails/batchSend email
GET /api/emailsSend email
GET /api/emails/{id}Send email
POST /api/emails/{id}/cancelSend email
GET /api/domainsSending domains
POST /api/domainsSending domains
GET /api/domains/{id}Sending domains
POST /api/domains/{id}/verifySending domains
GET /api/logsLogs and events
GET /api/usageUsage and billing
GET /api/webhooksWebhooks
POST /api/webhooksWebhooks
POST /api/test-send/previewTest send
POST /api/test-send/sendTest send

The full list — agents, approvals, exports, templates, and the operator surface — is in the OpenAPI document.

Limits and reliability

What are the sending limits?

Webhooks

Outbound event webhooks are Svix-signed (HMAC-SHA256 over svix_id.timestamp.body, timestamps older than 5 minutes rejected). Both SDKs ship a verifyWebhookSignature helper that verifies against the raw body bytes. Growth includes 10 endpoints; Scale is unlimited.

Next steps

Start in minutes — signup, scoped key, first send. Integrations — SDKs, samples, migration, MCP. Answers — the direct answers.

Developers — ScopedPost