InboxIQ

API Reference

Complete API endpoint documentation for the platform.

Base URL: http://localhost:8000

Standard Error Response

All API endpoints return errors in a consistent format:

Error Responsejson
{
  "success": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Human-readable error description",
    "details": {"field": "to_emails", "reason": "field required"},
    "request_id": "req_xyz"
  },
  "timestamp": "2026-07-13T12:00:00Z",
  "version": "v1"
}

HTTP Status Codes

CodeDescription
200Success
201Created
400Bad Request — invalid parameters
401Unauthorized — missing or invalid API key
404Not Found
409Conflict — duplicate resource
422Unprocessable Entity — validation error
429Too Many Requests — rate limit exceeded
500Internal Server Error

Rate Limiting

The platform applies rate limits per API key. Limits are configurable per product.

LimitDefault
Requests per second10
Emails per hour1000
OTP per minute3 per email

Rate limit headers are returned in all responses:

X-RateLimit-Limit: 10
X-RateLimit-Remaining: 7
X-RateLimit-Reset: 1720800000