Error reference
The API uses standard HTTP status codes. Every error response has the same JSON shape, so you can branch on the machine-readable error code rather than parsing the human-readable message.
Response format
success— alwaysfalseon errorserror— stable, snake_case code (the values in the table below)message— explanation for humans; wording may change, so don't match on it- Optional:
hint,upgrade_url,upgrade_requiredandrecommended_planwhen an upgrade would resolve the error
403Feature not in your plan
json
{
"success": false,
"error": "plan_required",
"message": "OTP extraction requires Startup plan ($29/mo) or above.",
"upgrade_url": "https://freecustom.email/api/pricing"
}Error codes
| HTTP | error | When |
|---|---|---|
| 400 | missing_field / missing_fields | A required body field is missing (e.g. inbox, domain, url) |
| 400 | invalid_inbox | The inbox is not a valid email address |
| 400 | invalid_domain | The domain is not a valid domain name |
| 400 | invalid_token | OTP token URL called without a valid fceotp_ token |
| 400 | batch_limit_exceeded | Bulk generation asked for more inboxes than your plan allows per call |
| 400 | limit_reached | Custom-domain limit for your plan reached |
| 400 | not_verified | MX upgrade requested on a domain that isn't verified yet |
| 401 | unauthorized | No API key sent (use the Authorization header or ?api_key=) |
| 401 | invalid_api_key | The key is unknown or has been revoked |
| 401 | invalid_ext_token | Browser-extension token is invalid or expired; sign in again |
| 401 | user_not_found | The account that owned this key no longer exists |
| 403 | plan_required / plan_restriction | Feature not included in your plan (OTP extraction, WebSocket, testing inboxes, IMAP...) |
| 403 | inbox_not_owned | Inbox isn't registered to your account; register it with POST /v1/inboxes first |
| 403 | inbox_limit_reached | Your plan's maximum number of registered inboxes is reached |
| 403 | domain_not_allowed | The inbox uses a domain that isn't a platform or custom domain |
| 403 | domain_not_verified | The inbox uses a custom domain you haven't verified |
| 403 | limit_reached | Webhook limit reached (20 per account) |
| 403 | trial_expired | Your trial ended; upgrade to keep using the feature |
| 403 | disposable_email_blocked | Trial access isn't available to accounts registered with a disposable email |
| 404 | inbox_not_found | Inbox not registered under this account |
| 404 | domain_not_found | Custom domain not added to this account |
| 404 | token_not_found | OTP token URL is unknown or expired |
| 409 | test_already_waiting | A testing session is already waiting for email on this inbox |
| 422 | verification_failed | Custom-domain DNS check failed (TXT or MX record not found yet) |
| 429 | rate_limit_exceeded | Per-second limit hit; retry after the Retry-After header |
| 429 | monthly_quota_exceeded | Monthly quota used up and no credits left |
| 429 | daily_limit_exceeded | Daily inbox-generation limit reached (resets at midnight UTC) |
| 429 | mcp_rate_limit_exceeded | MCP operations-per-minute limit for your plan exceeded |
| 429 | trial_concurrency_limit | Too many concurrent Wait/MCP calls during a trial (max 3) |
| 500 | server_error / internal_error | Something failed on our side; safe to retry with backoff |
Handling errors
- 400, 401, 403, 404, 409, 422 — fix the request or account state; retrying the same request won't help.
- 429 rate_limit_exceeded — wait for the number of seconds in the
Retry-Afterheader, then retry. - 429 monthly_quota_exceeded — buy credits or upgrade; access is restored as soon as either completes.
- 500 — retry with exponential backoff (for example 1s, 2s, 4s), then contact support if it persists.
See rate limits for per-plan limits and the rate-limit headers returned on every response.