Documentation

Everything you need to integrate AgentFox into your AI agents.

Quickstart

Go from zero to sending emails in under 5 minutes.

5 min read
📖

API Reference

Complete REST API documentation with examples for every endpoint.

Reference
📦

TypeScript SDK

Install @agentfox/sdk and start building with type-safe methods.

npm
🔔

Webhooks

Receive inbound emails via signed webhooks with guaranteed delivery.

Guide
🛡

Security

Encryption, prompt injection guard, spam detection, and attachment scanning.

Guide
🤖

MCP Server

Connect AgentFox to Claude Desktop, Cursor, or Windsurf via MCP.

Coming soon
🌐

Custom Domains

Set up your own domain with DKIM, SPF, and DMARC for sending.

Guide
🇪🇺

GDPR Compliance

Data export, deletion, retention policies, and sub-processor list.

Guide

Quick Install

# Install the SDK
npm install @agentfox/sdk

# Or use the API directly
curl -X POST https://api.agentfox.email/v1/inboxes \
  -H "Authorization: Bearer afx_your_key" \
  -H "Content-Type: application/json" \
  -d '{"name": "my-agent"}'

✓ 201 Created
{"data": {"id": "inb_...", "address": "my-agent@agentfox.email", "ready": true}}