Prerequisites
You need a Temp Mail Lab Premium account, an active API entitlement, and a scoped API key created in the dashboard. Production credentials will become available only after the approved public launch. Call the API only from a trusted backend. Do not embed a key in browser JavaScript, a mobile binary, desktop client, public repository, URL, or analytics event.Recommended first workflow
- Create a key with
domains:read,emails:write,emails:read, andmessages:read. - Call
GET /v1/domainsand select an active domain with creation and receiving enabled. - Call
POST /v1/emailsonce with a uniqueIdempotency-Key. - Store the returned opaque email ID and address.
- Send mail to that address from the system you are testing.
- List messages at a conservative interval and stop after a fixed deadline.
- Fetch only the message body, source, or attachment your workflow needs.
Run the quickstart
Follow a minimal cURL flow.
Review authentication
Choose scopes and handle keys safely.
The API never waits in the background for a message. Your integration owns its
retry cadence, jitter, and final deadline.