Supported Email Providers
Inbox Zero supports integration with:- Gmail (Google Workspace and personal accounts)
- Outlook (Microsoft 365 and personal accounts)
Getting Started
To begin using the Inbox Zero API, you’ll need to obtain an API key. Here’s how:- Log in to your Inbox Zero account
- Navigate to the Settings page and scroll down to the
API Keyssection - Click on the
Create New Secret Keybutton - Select the permissions (scopes) you need for your key
- Choose an expiry period

Permissions
A key may include more than one scope. Keys are also bound to one inbox account; they cannot read or change another inbox.
Self-Hosting
If you are self-hosting Inbox Zero, setNEXT_PUBLIC_EXTERNAL_API_ENABLED=true and API_KEY_SALT before rebuilding the app. Generate the salt with openssl rand -hex 32. Use your deployment URL as the base URL for requests (for example, https://your-domain.com/api/v1).
Base URL
All API requests should be made to the following base URL:Authentication
Include your API key in the header of each request:Errors
API errors are returned as JSON with anerror message.
The
DELETE rule action, which moves matching emails to trash, is available only when the deployment enables NEXT_PUBLIC_DELETE_EMAIL_ACTION_ENABLED. This feature flag is separate from DELETE /rules/{id}, which deletes a rule definition.