NEW
API Documentation

destroy.network API

Build integrations with disposable email inboxes. Create temporary addresses, receive messages in real-time, and manage custom domains programmatically.

Base URL
https://destroy.network/api

Get started in seconds. No authentication required for basic operations.

1

Create an Inbox

Generate a temporary email address with a single API call.

curl -X POST \
  https://destroy.network/api/inbox
2

Check for Messages

Poll the inbox to retrieve any received emails.

curl https://destroy.network/api/\
  inbox/{id}/messages
3

Stream Real-Time

Subscribe to live updates via Server-Sent Events. New messages are pushed instantly.

Business plan
curl -N https://destroy.network/api/inbox/{id}/stream

Choose the authentication method that fits your needs.

No Auth Required

Create inboxes, read messages, stream updates

API Key

Higher rate limits, custom domains, attachments

Pro/Business

Unlimited inboxes, webhooks, priority support

Using API Keys

Include your API key in the Authorization header:

curl https://destroy.network/api/inbox \
  -H "Authorization: Bearer sk_live_your_api_key_here"
PlanInboxes/HourMax ActiveExtensions
Anonymous211
Free (signed in)531
Pro2510Unlimited
BusinessUnlimited50Unlimited

Anonymous limits apply per IP address. Sign in for a free account to unlock the higher Free tier instantly.

The API uses standard HTTP status codes. Errors return JSON with a message field.

Error Responsejson
{
  "message": "Inbox not found"
}
StatusDescription
200Success
201Created
400Bad Request - Invalid parameters
401Unauthorized - Authentication required
403Forbidden - Permission denied or limit exceeded
404Not Found - Resource doesn't exist
410Gone - Inbox has expired
429Too Many Requests - Rate limit exceeded