{"success":true,"data":[{"domain":"ditapi.info","tier":"free","tags":[]},{"domain":"ditcloud.info","tier":"free","tags":[]},{"domain":"ditdrive.info","tier":"free","tags":[]},{"domain":"ditgame.info","tier":"free","tags":[]},{"domain":"ditlearn.info","tier":"free","tags":[]},{"domain":"ditpay.info","tier":"free","tags":[]},{"domain":"ditplay.info","tier":"free","tags":["popular"]},{"domain":"ditube.info","tier":"free","tags":["popular"]},{"domain":"junkstopper.info","tier":"free","tags":[]},{"domain":"areueally.info","tier":"free","tags":[]},{"domain":"addmy.space","tier":"free","tags":["new"]},{"domain":"attachmy.site","tier":"free","tags":["new"]}],"count":12,"note":"Upgrade to Growth plan to access additional pro domains."}
curl --location --request GET 'https://zylalabs.com/api/12454/temp+email+and+otp+api/23575/get+domains' --header 'Authorization: Bearer YOUR_API_KEY'
{"success":true,"message":"Mailbox retrieved successfully.","data":[{"id":"F7LpBSaAuG","from":"\"xAI\" <[email protected]>","to":"[email protected]","subject":"S3G-9PC xAI confirmation code","date":"2026-04-27T16:03:32.078Z","hasAttachment":false,"wasAttachmentStripped":false,"otp":"__DETECTED__","verificationLink":null},{"id":"B49mzFMnvx","from":"\"SendTestEmail\" <[email protected]>","to":"[email protected]","subject":"SendTestEmail.com - Testing Email ID: 808e9ed8a9d764cf7e918e536f7a8836","date":"2026-04-27T16:03:11.625Z","hasAttachment":false,"wasAttachmentStripped":false,"otp":null,"verificationLink":null}],"encryptedMailbox":"D-6ffejiz1jxh13cxkur"}
curl --location --request GET 'https://zylalabs.com/api/12454/temp+email+and+otp+api/23576/get+mailbox+messages&email=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{"success":false,"message":"Message not found."}
curl --location --request GET 'https://zylalabs.com/api/12454/temp+email+and+otp+api/23577/get+full+message&email=Required&/message/=Required&id=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{"success":false,"message":"Message not found or already deleted."}
curl --location --request DELETE 'https://zylalabs.com/api/12454/temp+email+and+otp+api/23578/delete+a+message&email=Required&/message/=Required&id=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{"success":true,"message":"Stats retrieved successfully.","data":{"queued":2997900,"denied":122209}}
curl --location --request GET 'https://zylalabs.com/api/12454/temp+email+and+otp+api/23579/get+health+and+stats' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Temp Email and OTP API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
Optimize your CI/CD pipeline with our email testing solutions—lightning-fast and robust!
Each endpoint returns JSON data. For example, the "Get Domains" endpoint provides a list of available free domains, while "Get Mailbox Messages" returns messages in a user's mailbox, including fields like sender, recipient, subject, and date.
Key fields include "success" (indicating request status), "data" (containing relevant information), and "message" (providing additional context). For mailbox messages, fields like "from," "to," "subject," "otp," and "verificationLink" are crucial.
The response data is structured in a JSON format with a top-level object containing "success," "message," and "data." The "data" field varies by endpoint, containing arrays or objects relevant to the specific request, such as mailbox messages or domain lists.
The "Get Domains" endpoint provides a list of free domains, while "Get Mailbox Messages" retrieves emails for a specific user. The "Get Full Message" allows access to individual messages, and "Get Health and Stats" offers statistics on mailboxes.
The "Get Mailbox Messages" endpoint typically requires a user identifier to specify which mailbox to retrieve messages from. Other endpoints may not require parameters but can include optional filters for more specific data retrieval.
Users can extract relevant information from the returned JSON, such as verification codes from the "otp" field in mailbox messages. This data can be used to automate testing of signup and authentication processes in CI/CD pipelines.
Data accuracy is maintained through real-time email processing and validation checks. The API ensures that incoming messages are correctly parsed and that fields like "otp" are accurately detected and returned.
Typical use cases include testing user signup and login flows, automating OTP-based authentication, verifying password reset emails, and conducting end-to-end tests with frameworks like Playwright or Cypress.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund