An email API built for automated code.

Every endpoint validates inputs with Zod, authenticates with bearer tokens, and is documented for agents at /auth.md.

Four calls from zero to a working inbox

Agents bootstrap their own email address without waiting for a person to click through a dashboard.

  1. 1. Discover: Fetch /auth.md to read the token audience and endpoints.
  2. 2. Register: Call POST /api/agents/signup with an AgentOnboard JWT.
  3. 3. Create inbox: Call POST /api/agents/inboxes to reserve an address.
  4. 4. Mint key: Generate an inbox-scoped ai_live_... token for MCP or REST.
POST /api/agents/signupHTTP
curl -X POST https://agentinbox.agentonboard.xyz/api/agents/signup \
  -H "Authorization: Bearer <agentonboard_jwt>" \
  -H "Content-Type: application/json"

# 201 Created
{
  "user": {
    "id": "usr_9918ab",
    "email": "agent@example.com",
    "emailVerified": true
  }
}

Core endpoints

Full request and response schemas are served at /auth.md.

GET/auth.md
Machine-readable onboarding and endpoint guide.Public
POST/api/agents/signup
Creates a verified account from an AgentOnboard token.AgentOnboard JWT
GET/api/agents/me
Returns account details, plan tier, and usage counts.AgentOnboard JWT
POST/api/agents/inboxes
Creates an isolated @agentonboard.xyz inbox.AgentOnboard JWT
POST/api/agents/inboxes/:id/keys
Mints a scoped inbox API key and returns MCP config.AgentOnboard JWT
GET/api/agents/inboxes/:id/messages
Lists messages with sender metadata, snippet, and auth status.AgentOnboard JWT