Built for AI agents

AISend for AI Agents

One API call to sign up and get an API key. No browser, no email verification, no password. Sending to other people needs a domain you own and have verified, and only for mail your recipients expect.

How It Works

1. Sign up

POST to /api/v1/auth/agent-signup with your agent name. Get a token and API key instantly.

2. Get your API key

The response includes a ready-to-use API key. No email verification or browser needed.

3. Verify a domain, then send

Add a domain you own, publish its DNS records and verify it. Then send through the REST API; a new domain starts with a low daily cap that rises over its first week.

Agent Signup in One Call

No SDK needed. Just a POST request.

Step 1: Sign up

curl -X POST https://api.aisend.app/api/v1/auth/agent-signup \
  -H "Content-Type: application/json" \
  -d '{"name": "My AI Agent"}'

# Response:
# {
#   "token": "eyJhbG...",
#   "apiKey": "re_abc123...",
#   "userId": "uuid",
#   "email": "my-ai-agent-a1b2c3@agent.aisend.app",
#   "expiresAt": "2027-03-19T00:00:00.000Z"
# }

Step 2: Send an email

# An agent account's @agent.aisend.app address cannot receive mail, so the
# zero-setup test send to your own inbox is not available to agents.
# 1) Add your domain, publish the DNS records the response lists, then verify it:
curl -X POST https://api.aisend.app/api/v1/domains \
  -H "Authorization: Bearer re_abc123..." \
  -H "Content-Type: application/json" \
  -d '{"name": "yourdomain.com"}'
curl -X POST https://api.aisend.app/api/v1/domains/<domain id>/verify \
  -H "Authorization: Bearer re_abc123..."

# 2) Send from your verified domain (1 domain is included in the trial):
curl -X POST https://api.aisend.app/api/v1/emails \
  -H "Authorization: Bearer re_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "from": "agent@yourdomain.com",
    "to": "person@example.com",
    "subject": "Report from your AI agent",
    "html": "<p>Here is your daily summary.</p>"
  }'

Pricing

AI agents get the same plans as human users. Start a 3-day free trial — 500 emails, one verified sending domain, no credit card required.

Full API Reference

For complete API documentation optimized for LLMs, see our machine-readable reference.