Build on top of email
in minutes.
InboxParse is the infrastructure layer for email-native AI applications. We handle the IMAP protocols, HTML cleaning, and AI processing, so you can focus on building your product with a clean REST API.
REST API
Predictable JSON responses, standard Bearer auth, and cursor-based pagination.
AI-Ready Data
Get clean Markdown, summaries, and intent labels in every message object.
Secure by Design
AES-256 encryption at rest, TLS 1.2+ in transit, and scoped API keys.
Quickstart
Get started with InboxParse in less than 2 minutes. Follow these three steps to turn your first email into structured data.
Get your API Key
Sign up at console.inboxparse.com and grab your key from the settings tab.
Connect a Mailbox
Add your IMAP or Gmail account. We'll start syncing and processing immediately.
Run your first query
Use the /emails endpoint to retrieve processed, AI-enriched data.
Authentication
All requests require an API key via the `Authorization` header. You can manage your API keys in the developer console.
Authorization: Bearer ip_your_api_key_hereErrors
We use standard HTTP response codes to indicate the success or failure of an API request. In general: 2xx means success, 4xx means you did something wrong, and 5xx means our servers are having an issue.
| Status | Description |
|---|---|
| 400 | Bad Request — Often missing parameters. |
| 401 | Unauthorized — Invalid or missing API key. |
| 429 | Too Many Requests — Rate limit hit. |
API Reference
Complete reference for the InboxParse REST API. All requests are made to https://inboxparse.com/api/v1
Emails
List and retrieve emails with AI-enriched data
/emails—List emailsReturns a paginated list of emails with AI processing data. Use cursor-based pagination for large result sets.
Parameters
Results per page (1-100)
Pagination cursor from previous response
Email content format
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
Filter from date (ISO 8601)
Filter to date (ISO 8601)
Filter by direction
Filter by mailbox ID
/emails/{id}—Get emailReturns a single email with full content, AI data, and attachment metadata.
Parameters
Email ID
Email content format
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
/emails/send—Send emailSend a new email via SMTP. Creates a new thread. Requires admin API key.
/emails/reply—Reply to emailReply to an existing email with proper threading headers. Uses the original thread. Requires admin API key.
Threads
Email threads with participants and summaries
/threads—List threadsReturns paginated email threads with participant info, labels, and AI summaries.
Parameters
Results per page (1-100)
Pagination cursor from previous response
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
Full-text search query
Filter from date (ISO 8601)
Filter to date (ISO 8601)
/threads/{id}—Get threadReturns a thread with all its messages. Messages are ordered by sent_at ascending.
Parameters
Thread ID
Email content format for messages
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
Search
Full-text, semantic, and hybrid email search
/search—Search emailsSearch emails using full-text, semantic (vector), or hybrid search. Hybrid mode combines both for best results.
Parameters
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
Mailboxes
Connected mailboxes (IMAP and Gmail)
/mailboxes—List mailboxesReturns all connected mailboxes (IMAP and Gmail) for the workspace.
Parameters
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
/mailboxes—Create IMAP mailboxCreate a new IMAP mailbox with encrypted credentials. Passwords are encrypted at rest. Requires admin API key.
/mailboxes/{id}—Delete mailboxDelete a mailbox and all associated data. Requires admin API key.
Parameters
Mailbox ID
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
Labels
AI classification labels
/labels—List labelsReturns all labels for the workspace, ordered by display order.
Parameters
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
/labels—Create labelCreate a new AI classification label. Requires admin API key.
Parameters
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
/labels/{id}—Update labelUpdate a label's name, color, or AI classification prompt. System labels are read-only. Requires admin API key.
Parameters
Label ID
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
/labels/{id}—Delete labelDelete a custom label. System labels cannot be deleted. Cascade deletes all message-label associations. Requires admin API key.
Parameters
Label ID
Webhooks
Real-time event notifications
/webhooks—List webhooksReturns all webhook subscriptions for the workspace.
Parameters
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
/webhooks—Create webhookRegister a new webhook endpoint. Requires admin API key.
Parameters
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
/webhooks/{id}—Update webhookUpdate a webhook subscription. Re-enabling an inactive webhook resets its failure count. Requires admin API key.
Parameters
Webhook ID
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
/webhooks/{id}—Delete webhookDelete a webhook subscription. Requires admin API key.
Parameters
Webhook ID
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
/webhooks/{id}/test—Test webhookSend a test event to a webhook endpoint. Returns the delivery result including response status.
Parameters
Webhook ID
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
Usage
Billing period usage statistics
/usage—Get usageReturns usage statistics for the current billing period (calendar month).
Parameters
Token efficiency mode. When `true`, shortens JSON keys and appends a `_dict` mapping of short → full key names. Useful for LLM consumers to reduce token usage.
Need help?
Can't find what you're looking for? Our team is ready to help you build.