temp mail API Documentation
Integrate our temporary email generator directly into your applications. The API is free to use and provides access to our premium domains.
Base URL: https://api.temp-mail.agency/api
Initialize a client session. You must call this endpoint first to obtain a unique UUID to use in all subsequent requests.
Parameters (x-www-form-urlencoded):
app_uuid(string) - Set to"a5x-cj6a-ka1q".
Response Example:
Retrieve a list of all currently active premium domains that can be used to generate custom emails.
Parameters (x-www-form-urlencoded):
uuid(string) - The UUID obtained from /client/create.
Response Example:
Generate a new temporary email address with a custom username on a specific domain.
Parameters (x-www-form-urlencoded):
uuid(string) - The UUID obtained from /client/create.alias(string) - The requested username prefix.domain_id(integer) - The ID of the domain fetched from /domains.
Response Example:
Fetch the inbox contents for a specific email address.
Parameters (x-www-form-urlencoded):
uuid(string) - The UUID obtained from /client/create.selected_email_id(integer) - The email ID returned from /email/custom or /client/create.
Response Example:
Why Use Our Disposable Email Service?
temp-mail.agency provides the best free temp mail, temp email, and disposable email services online. Whether you need a fake email generator to avoid spam, a temporary email for signing up to online platforms, or a throwaway email for free trials, our email generator has you covered. Get your secure tempmail instantly with no registration required.