🎉 Limited Time Offer: 30% OFF First Month!

Use code at checkout - Valid on all plans

View Plans

🌐 Custom Domains Now Available!

Receive emails at [email protected] — available on all paid plans

Learn More

API Documentation

Integrate OpenInbox.io into your applications with our powerful REST API. Create inboxes, fetch emails, and set up webhooks programmatically.

API access requires Pro, Business, or 7-Day PassUpgrade Now →

Quick Start

1. Get API Key

Upgrade to Pro/Business/7-Day Pass and generate your API key in Settings.

2. Make Requests

Include your API key in the X-API-Key header with each request.

3. Handle Responses

All responses are JSON formatted with consistent structure.

Base URL

https://api.openinbox.io/api

Authentication

All API requests require authentication via the X-API-Key header.

curl -X GET "https://api.openinbox.io/api/v1/inboxes" \
  -H "X-API-Key: tmp_your_api_key_here"

Rate Limits & Tiers

TierPriceAPI AccessDaily Limit
Free$0✗ No
Starter$3/mo✗ No
7-Day Pass$2 one-time✓ Yes3,000 req/day
Pro$7/mo✓ Yes3,000 req/day
Business$15/mo✓ Yes10,000 req/day

Rate Limit Headers

Each response includes rate limit headers:X-RateLimit-Limit: 100
X-RateLimit-Remaining: 85
X-RateLimit-Reset: 1704153600

Error Handling

All errors follow a consistent format with appropriate HTTP status codes:

{
  "statusCode": 401,
  "error": "Unauthorized",
  "message": "Invalid or missing API key"
}
400Bad Request - Invalid parameters
401Unauthorized - Invalid or missing API key
403Forbidden - API access not available on your plan
404Not Found - Resource does not exist
429Too Many Requests - Rate limit exceeded
500Internal Server Error

Webhook Events

Subscribe to the following events to receive real-time notifications:

email.receivedTriggered when a new email arrives in an inbox
inbox.createdTriggered when a new inbox is created
inbox.expiredTriggered when an inbox expires

Webhook Payload Example

{
  "event": "email.received",
  "timestamp": "2024-01-01T12:00:00Z",
  "data": {
    "emailId": "uuid",
    "inboxId": "uuid",
    "from": "[email protected]",
    "subject": "Hello!"
  }
}

API Endpoints

Inboxes

Emails

Webhooks

Account

Ready to Get Started?

Upgrade to Pro, Business, or get a 7-Day Pass to unlock API access and integrate OpenInbox.io into your applications.

View Pricing Plans