Skip to content
Inkbox

Inkbox

BlogContactDocs
GuidesAPI Reference

Ctrl K

GuidesAPI Reference

Jump to

Mail API

API-first email service for AI agents. Provision mailboxes, send and receive messages, manage threads, search by full-text, and subscribe to events via webhooks.

API base URL:

https://inkbox.ai/api/v1/mail

Quick start

Create an account and get your API key from the Inkbox console:

Get API key

All API requests require authentication using a API key:

X-API-Key: YOUR_API_KEY

Mailboxes

Mailboxes are owned 1:1 by an agent identity — they're created and destroyed atomically with the identity. To provision a mailbox, create an identity; to remove one, delete the identity.

List mailboxes

GET

List all mailboxes for your organization

/api/v1/mail/mailboxes

Get mailbox

GET

Get a single mailbox by email address

/api/v1/mail/mailboxes/{email_address}

Update mailbox

PATCH

Update webhook URL or filter mode

/api/v1/mail/mailboxes/{email_address}

Messages

List messages

GET

List messages in a mailbox with cursor pagination

/api/v1/mail/mailboxes/{email_address}/messages

Get message

GET

Get a message with full body content

/api/v1/mail/mailboxes/{email_address}/messages/{message_id}

Send message

POST

Compose and send an email

/api/v1/mail/mailboxes/{email_address}/messages

Forward message

POST

Forward a stored message (inline or wrapped) — creates a new thread

/api/v1/mail/mailboxes/{email_address}/messages/{message_id}/forward

Update message flags

PATCH

Update is_read or is_starred on a message

/api/v1/mail/mailboxes/{email_address}/messages/{message_id}

Delete message

DELETE

Delete a message

/api/v1/mail/mailboxes/{email_address}/messages/{message_id}

Download attachment

GET

Download a message attachment

/api/v1/mail/mailboxes/{email_address}/messages/{message_id}/attachments/{filename}

Threads

Contact rules

Per-mailbox allow and block rules interpreted against the mailbox's filter_mode (blacklist by default, whitelist on demand). See the Contact rules reference and the Email guide for semantics.

Webhooks

Mail event delivery is configured via the Webhook Subscriptions API — attach one or more subscriptions to the mailbox with the subset of message.* events you want. See the Webhooks guide for event types, payload format, and signature verification.

Additional resources

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Y CombinatorBacked by Y Combinator
Mail API