Agent Mailbox API Reference
Build AI-powered email workflows with our APIs. Send emails, receive messages, manage mailboxes, and track analytics programmatically.
https://api.agentmail.compostable.ai
Portal API
JWT + HMACSelf-service API for managing your email infrastructure. Create subdomains, configure mailboxes, generate API credentials, and monitor usage. Supports both web portal (JWT) and programmatic (HMAC) access.
Domain Operations
Manage custom domains, DNS verification, and email routing configuration.
Subdomain Operations
Create and manage subdomains for your email infrastructure.
Mailbox Operations
Create, configure, and manage email mailboxes for receiving messages.
Credential Operations
Generate and manage API keys for programmatic access.
Analytics Operations
Track email metrics, delivery rates, and engagement statistics.
Mailbox API (System)
HMAC-SHA256Core API for AI agents and automated systems. Send emails, retrieve messages, manage attachments, and track usage. All operations authenticated via HMAC signatures.
Sending Operations
Send emails with attachments, templates, and tracking options.
Receiving Operations
Retrieve incoming emails, list messages, and manage inbox.
Attachment Operations
Upload attachments and generate presigned URLs for file access.
Mailbox Operations
Query and manage mailbox configurations and settings.
Domain Operations
Query domain configurations and DNS verification status.
Usage Operations
Track API usage, quotas, and rate limits.