Agent Inbox provides disposable email addresses for AI agents via a simple REST API.
All API requests require a Bearer token. You can create API keys from the Settings page in your dashboard. Keys are prefixed with ak_.
Authorization: Bearer ak_your_api_key_herePOST /api/v1/inboxes
Creates a new disposable email inbox. Optionally attach a note or tags.
{
"note": "optional description",
"tags": ["signup", "testing"]
}{
"id": "inbox_abc123",
"address": "abc123@agents-inbox.com",
"note": "optional description",
"tags": ["signup", "testing"],
"createdAt": "2026-01-15T10:30:00.000Z"
}curl -X POST https://agents-inbox.com/api/v1/inboxes \
-H "Authorization: Bearer ak_your_api_key" \
-H "Content-Type: application/json" \
-d '{"note": "signup test", "tags": ["testing"]}'GET /api/v1/inboxes
Returns all inboxes for your account. Optionally filter by tag.
tag — Filter inboxes by tagcurl https://agents-inbox.com/api/v1/inboxes?tag=testing \
-H "Authorization: Bearer ak_your_api_key"GET /api/v1/inboxes/:id
Returns a single inbox by ID.
curl https://agents-inbox.com/api/v1/inboxes/inbox_abc123 \
-H "Authorization: Bearer ak_your_api_key"DELETE /api/v1/inboxes/:id
Deletes an inbox and all its messages permanently.
curl -X DELETE https://agents-inbox.com/api/v1/inboxes/inbox_abc123 \
-H "Authorization: Bearer ak_your_api_key"GET /api/v1/inboxes/:id/messages
Returns messages for a specific inbox.
since — ISO 8601 timestamp to filter messages afterunseen — Set to true to only return unseen messagescurl "https://agents-inbox.com/api/v1/inboxes/inbox_abc123/messages?unseen=true" \
-H "Authorization: Bearer ak_your_api_key"GET /api/v1/messages
Query messages across multiple inboxes at once.
inbox_ids — Comma-separated list of inbox IDssince — ISO 8601 timestamp to filter messages aftercurl "https://agents-inbox.com/api/v1/messages?inbox_ids=inbox_abc,inbox_def&since=2026-01-15T00:00:00Z" \
-H "Authorization: Bearer ak_your_api_key"