Endpoints

Endpoint details are saved from the OpenAPI document. Authentication requirements and prices are advertised information, not a verified payment or access guarantee. The document may contain additional endpoints.Open OpenAPI document
POST/agentmail/v0/inboxes

Create a new email inbox. Inboxes cost $2/month. Inboxes with no API activity for 30+ days are automatically deleted. Any reque…

Price unavailable
DELETE/agentmail/v0/inboxes/{inbox_id}

Permanently delete an inbox and all its contents. Important: pass method: "DELETE" in your run request to distinguish from Get …

Price unavailable
GET/agentmail/v0/inboxes/{inbox_id}

Get details of a specific inbox including display name, creation date, and metadata.

Price unavailable
PATCH/agentmail/v0/inboxes/{inbox_id}

Update an existing inbox display name or client ID.

Price unavailable
GET/agentmail/v0/inboxes/{inbox_id}/drafts

List all drafts in an inbox. Returns draft metadata including subject, recipients, and timestamps.

Price unavailable
POST/agentmail/v0/inboxes/{inbox_id}/drafts

Create a new draft in an inbox. The draft can be edited later and sent with Send Draft.

Price unavailable
DELETE/agentmail/v0/inboxes/{inbox_id}/drafts/{draft_id}

Permanently delete a draft. Important: pass method: "DELETE" in your run request.

Price unavailable
GET/agentmail/v0/inboxes/{inbox_id}/drafts/{draft_id}

Get a specific draft including its full content, recipients, and attachments.

Price unavailable
PATCH/agentmail/v0/inboxes/{inbox_id}/drafts/{draft_id}

Update an existing draft. Only the fields you include will be changed; omitted fields are left unchanged.

Price unavailable
POST/agentmail/v0/inboxes/{inbox_id}/drafts/{draft_id}/send

Send an existing draft as an email. The draft is converted to a sent message and deleted from drafts. Returns the message_id an…

Price unavailable
GET/agentmail/v0/inboxes/{inbox_id}/messages

List all messages in an inbox, ordered by most recent. Supports pagination and filtering by labels or time range.

Price unavailable
POST/agentmail/v0/inboxes/{inbox_id}/messages/send

Send an email message from an inbox. At least one recipient (to, cc, or bcc) is required. Returns the message_id and thread_id.…

Price unavailable
GET/agentmail/v0/inboxes/{inbox_id}/messages/{message_id}

Get a specific message including headers, body (text and HTML), attachments, and metadata.

Price unavailable
PATCH/agentmail/v0/inboxes/{inbox_id}/messages/{message_id}

Update labels on a message (e.g., mark as read, archive, star).

Price unavailable
POST/agentmail/v0/inboxes/{inbox_id}/messages/{message_id}/forward

Forward a message to new recipients. Includes the original message content and any attachments.

Price unavailable
GET/agentmail/v0/inboxes/{inbox_id}/messages/{message_id}/raw

Get the original raw RFC 2822 email content including all headers, MIME parts, and encoded attachments.

Price unavailable
POST/agentmail/v0/inboxes/{inbox_id}/messages/{message_id}/reply

Reply to a specific message. Automatically sets In-Reply-To and References headers for proper threading.

Price unavailable
POST/agentmail/v0/inboxes/{inbox_id}/messages/{message_id}/reply-all

Reply to all recipients of a message. Includes all original To and CC recipients automatically.

Price unavailable
GET/agentmail/v0/inboxes/{inbox_id}/threads

List all email threads in an inbox, ordered by most recent. Supports pagination and filtering.

Price unavailable
DELETE/agentmail/v0/inboxes/{inbox_id}/threads/{thread_id}

Move a thread to trash, or permanently delete if already trashed. Important: pass method: "DELETE" in your run request.

Price unavailable
GET/agentmail/v0/inboxes/{inbox_id}/threads/{thread_id}

Get a thread and all its messages. Returns the full conversation including message bodies, timestamps, and metadata.

Price unavailable