https://api.i10.tech/openapi.json.
Base URL
application/json payloads.
Authentication
Authenticate every request with an API key passed in theAuthorization header
using the HTTP Bearer scheme:
i10_live_ or i10_test_ so they are recognisable in your
logs and greppable in a leak scan. A live key sends real mail. A test key never
does: see Test mode.
Domain-restricted keys can send mail and retrieve messages for their allowed
domains (POST /emails, POST /emails/batch, and GET /emails/{id}), and can
read the webhook event catalog (GET /webhook-event-types), which holds no
workspace data. Every other workspace-level endpoint (domains, webhooks,
suppressions, and trusted templates) requires an unrestricted key.
Test mode
Use a test key (i10_test_) to try the API, including the interactive
playground in these docs, without sending anything.
A test send goes through the same checks as a live one: the request is
validated, the from domain must be verified and allowed by the key’s scope,
and suppressed recipients are refused. If a test send is accepted, the same
live send would be accepted too. The email is then stored and returned like a
real one, and GET /emails/{id} reports it with "mode": "test", but it is
never handed to a mail server.
Instead, i10 simulates delivery. Every test email gets an email.sent and an
email.delivered event. To simulate other outcomes, send to these addresses:
You can add a label after a
+, for example bounced+signup@sandbox.i10.tech.
Simulated bounces and complaints never add the address to your suppression
list.
Events about test emails go to your webhook endpoints like any other event,
with "test": true in their data. Check that field if your handler should
ignore test traffic.
Test sends never count toward your plan’s sending limits or your bill, and
never affect your sending reputation. They have their own daily limit of 1,000
units per workspace (resetting at midnight UTC). Each email costs one unit,
plus one more for every started 100 KB of attachments. Past the limit the API
returns 429 with name: "test_quota_exceeded".
A test key can only:
- send email (
POST /emailsandPOST /emails/batch), - read test emails (
GET /emails/{id}; a live email returns404), - list and read domains (
GET /domainsandGET /domains/{id}).
403 with name: "test_key_not_allowed". Use a
live key to change domains, webhooks, suppressions or trusted templates.
Errors
Error responses are a JSON object with three fields:
Two cases do not use this shape yet: a request body that is not valid JSON
gets a plain-text
400, and on some endpoints an invalid parameter or body
field gets a 400 with a validation report instead of 422. Treat any
400 as a bad request that will not succeed if retried unchanged.
Common error names returned by public endpoints:
Idempotency
POST /emails and POST /emails/batch accept an optional Idempotency-Key
request header so retries after a network error or timeout never send duplicate
mail:
- Replaying a request with the same
Idempotency-Keyand identical body returns200with the original message id(s) without sending again. - Reusing an
Idempotency-Keywith a different request body returns409withname: "idempotency_conflict". - Omitting
Idempotency-Keytreats every request as a distinct send.