[{"data":1,"prerenderedAt":216},["ShallowReactive",2],{"navigation":3,"index":50,"mdc--liy5dl-key":172,"mdc-t3ltrq-key":193},[4,23],{"title":5,"path":6,"stem":7,"children":8,"icon":22},"Getting Started","/docs/getting-started","1.docs/1.getting-started/1.index",[9,12,17],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"Installation","/docs/getting-started/installation","1.docs/1.getting-started/2.installation","i-lucide-download",{"title":18,"path":19,"stem":20,"icon":21},"Usage Guide","/docs/getting-started/usage","1.docs/1.getting-started/3.usage","i-lucide-sliders",false,{"title":24,"path":25,"stem":26,"children":27,"icon":29},"API Overview","/docs/api","1.docs/2.api/1.index",[28,30,35,40,45],{"title":24,"path":25,"stem":26,"icon":29},"i-lucide-server-cog",{"title":31,"path":32,"stem":33,"icon":34},"Agents","/docs/api/agents","1.docs/2.api/2.agents","i-lucide-bot",{"title":36,"path":37,"stem":38,"icon":39},"Messages","/docs/api/messages","1.docs/2.api/3.messages","i-lucide-mail",{"title":41,"path":42,"stem":43,"icon":44},"Threads","/docs/api/threads","1.docs/2.api/4.threads","i-lucide-git-branch",{"title":46,"path":47,"stem":48,"icon":49},"Webhooks","/docs/api/webhooks","1.docs/2.api/5.webhooks","i-lucide-webhook",{"title":51,"description":52,"seo":53,"navigation":22,"hero":56,"sections":70,"features":102,"cta":129,"id":137,"body":138,"extension":140,"meta":141,"path":169,"stem":170,"__hash__":171},"Email Infrastructure for [AI Agents]{class=\"text-gradient\"}","One API call spawns an agent with its own inbox, durable thread storage, and webhooks into n8n or Windmill. Open source, runs on Cloudflare.",{"title":54,"description":55},"Sendook — Email Infrastructure for AI Agents","Spawn an agent and it gets a working inbox. Send and receive email over one HTTP API. Threads persist in per-agent SQLite. Webhooks fire into n8n, Windmill, or anything that speaks HTTP.",{"links":57},[58,63],{"label":59,"icon":60,"trailing":61,"to":6,"size":62},"Read the docs","i-lucide-arrow-right",true,"xl",{"label":64,"icon":65,"size":62,"color":66,"variant":67,"to":68,"target":69},"Star on GitHub","i-simple-icons-github","neutral","subtle","https://github.com/StreamlinedStartup/sendook","_blank",[71,86],{"title":72,"id":73,"orientation":74,"features":75},"Core Features","why-sendook","horizontal",[76,79,83],{"name":77,"description":78,"icon":34},"One agent, one inbox","POST /agents and you get an addressable mailbox. No DNS dance, no domain handshake — just an email address you can hand to a customer or another service.",{"name":80,"description":81,"icon":82},"Durable threads","Every message — sent and received — is persisted in the agent's own SQLite. Threading is automatic from In-Reply-To and References, so /threads gives you the conversation, not a pile of messages.","i-lucide-messages-square",{"name":84,"description":85,"icon":49},"Webhooks into your stack","Register a URL per agent and receive HMAC-signed JSON on every inbound and outbound. Wire it straight into n8n, Windmill, or your own Worker.",{"title":87,"id":88,"description":89,"orientation":74,"reverse":61,"features":90},"Built on Cloudflare","built-on-cloudflare","Workers for the API surface, Durable Objects for per-agent state, Email Routing and Email Sending for the actual mail. No servers to manage, scales to zero.",[91,95,98],{"name":92,"description":93,"icon":94},"Send and reply","POST /agents/:id/messages/send takes to/cc/bcc, subject, text or html, and attachments. Replies set In-Reply-To automatically.","i-lucide-send",{"name":96,"description":97,"icon":39},"Receive over HTTP","Inbound mail lands on Cloudflare Email Routing, hits the Worker, gets parsed by postal-mime, and is fanned out to your webhooks within seconds.",{"name":99,"description":100,"icon":101},"Self-host or BYO Cloudflare","MIT licensed. Deploy to your own Cloudflare account in minutes, or wait for the hosted offering.","i-lucide-server",{"title":103,"description":104,"items":105},"What you get","A small, honest API. The pieces below are shipping today on Workers + Email Service.",[106,110,114,118,122,125],{"title":107,"description":108,"icon":109},"Spawn-an-agent API","POST /agents creates an agent, allocates an inbox at @your-domain, and returns a per-agent API key. List and delete agents the same way.","i-lucide-plus-circle",{"title":111,"description":112,"icon":113},"Per-agent API keys","Each agent has its own bearer key, scoped to its inbox. Use the master key for admin moves; hand out per-agent keys for everything else.","i-lucide-key-round",{"title":115,"description":116,"icon":117},"HTTP send + JSON inbound","Send via Cloudflare Email Sending. Receive via Email Routing. The Worker hands you structured JSON, not raw RFC-5322.","i-lucide-code",{"title":119,"description":120,"icon":121},"HMAC-signed webhooks","Subscribe a URL to message.received, message.sent, or both. Payloads are HMAC-SHA256 signed, retried with exponential backoff, and the attempt log is queryable.","i-lucide-shield-check",{"title":123,"description":124,"icon":44},"Threading out of the box","GET /agents/:id/threads/:threadId returns the conversation in send order. We do the In-Reply-To and References plumbing so you don't.",{"title":126,"description":127,"icon":128},"Open source","MIT licensed on GitHub. The code is the spec — no hidden control plane, no vendor magic, just Workers you can read.","i-lucide-git-fork",{"title":130,"description":131,"links":132},"Spin up an agent and send your first email","The Worker is on Cloudflare's free tier for typical usage. Read the getting-started guide, generate a master key, and POST /agents.",[133,135],{"label":134,"to":6,"trailingIcon":60},"Get started",{"label":136,"to":68,"target":69,"variant":67,"icon":65},"View on GitHub","index/0.index.yml",{"title":51,"description":52,"seo":139,"navigation":22,"hero":56,"sections":70,"features":102,"cta":129},{"title":54,"description":55},"yml",{"hero":142,"sections":146,"features":157,"cta":165},{"links":143},[144,145],{"label":59,"icon":60,"trailing":61,"to":6,"size":62},{"label":64,"icon":65,"size":62,"color":66,"variant":67,"to":68,"target":69},[147,152],{"title":72,"id":73,"orientation":74,"features":148},[149,150,151],{"name":77,"description":78,"icon":34},{"name":80,"description":81,"icon":82},{"name":84,"description":85,"icon":49},{"title":87,"id":88,"description":89,"orientation":74,"reverse":61,"features":153},[154,155,156],{"name":92,"description":93,"icon":94},{"name":96,"description":97,"icon":39},{"name":99,"description":100,"icon":101},{"title":103,"description":104,"items":158},[159,160,161,162,163,164],{"title":107,"description":108,"icon":109},{"title":111,"description":112,"icon":113},{"title":115,"description":116,"icon":117},{"title":119,"description":120,"icon":121},{"title":123,"description":124,"icon":44},{"title":126,"description":127,"icon":128},{"title":130,"description":131,"links":166},[167,168],{"label":134,"to":6,"trailingIcon":60},{"label":136,"to":68,"target":69,"variant":67,"icon":65},"/","0.index","jP4UJWy4syXoRYslyJhnh2OkW5Stg6n4dMiOxqcLRSM",{"data":173,"body":174},{},{"type":175,"children":176},"root",[177],{"type":178,"tag":179,"props":180,"children":181},"element","p",{},[182,185],{"type":183,"value":184},"text","Email Infrastructure for ",{"type":178,"tag":186,"props":187,"children":190},"span",{"className":188},[189],"text-gradient",[191],{"type":183,"value":192},"AI Agents",{"data":194,"body":195},{},{"type":175,"children":196},[197,211],{"type":178,"tag":198,"props":199,"children":205},"pre",{"className":200,"code":201,"language":202,"meta":203,"style":204},"language-bash","curl -X POST https://api.sendook.com/agents \\\n  -H \"Authorization: Bearer $SENDOOK_MASTER_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"name\": \"support-bot\"}'\n\n# → { \"id\": \"k4m2x9p3qa1z\",\n#     \"email\": \"k4m2x9p3qa1z@sendook.com\",\n#     \"name\": \"support-bot\",\n#     \"api_key\": \"sk_…\",\n#     \"created_at\": 1730764200 }\n","bash","","undefined",[206],{"type":178,"tag":207,"props":208,"children":209},"code",{"__ignoreMap":203},[210],{"type":183,"value":201},{"type":178,"tag":212,"props":213,"children":214},"style",{},[215],{"type":183,"value":203},1778700749792]