The Temporary Gmail API allows you to create completely new, never-before-used email addresses with Gmail, providing a convenient solution for avoiding spam. Whether you need them for OTP confirmations, signing up on untrustworthy sites, or any other purpose, this service empowers you with the flexibility to manage your online privacy effortlessly.
{
"email": "[email protected]"
}
curl --location --request GET 'https://zylalabs.com/api/8382/temporary+gmail+api/14645/generate+gmail' --header 'Authorization: Bearer YOUR_API_KEY'
{
"count": 10,
"emails": [
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]"
]
}
curl --location --request GET 'https://zylalabs.com/api/8382/temporary+gmail+api/14647/bulk+gmail' --header 'Authorization: Bearer YOUR_API_KEY'
{
"email": "[email protected]",
"queried_at": "2025-04-23 03:06:35",
"response_time": "2s",
"count": 1,
"messages": [
{
"id": 5,
"from": "Steam <[email protected]>",
"subject": "New Steam Account Email Verification",
"date": "Tue, 22 Apr 2025 20:06:29 -0700"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/8382/temporary+gmail+api/14648/[email protected]' --header 'Authorization: Bearer YOUR_API_KEY'
{
"id": 5,
"from": "Steam <[email protected]>",
"subject": "New Steam Account Email Verification",
"date": "Tue, 22 Apr 2025 20:06:29 -0700",
"body": "...",
"content": "...",
"links": [
"https://store.steampowered.com/account/newaccountverification?stoken=f5ba89308c69f3b15a03d09c86d141c148dedfdbaa0365bc4f1....",
"https://help.steampowered.com",
"https://store.steampowered.com/email/AccountCreationEmailVerification?sparams=eJxtUNtKxDAQ_Zc--CTbpMm06c...."
],
"images": [
"https://store.fastly.steamstatic.com/public/shared/images/email/logo.png",
"https://store.fastly.steamstatic.com/public/shared/images/email/logo_footer.png",
"https://store.fastly.steamstatic.com/public/shared/images/email/logo_valve.jpg"
],
"attachments": [
{
"id": "1",
"name": "ClickHereToSign.pdf",
"type": "PDF",
"size": "277.7 KB",
"delivery": "download"
},
{
"id": "2",
"name": "image.jpg",
"type": "JPG",
"size": "16.7 KB",
"delivery": "download"
},
{
"id": "3",
"name": "file.rar",
"type": "RAR",
"size": "12.2 KB",
"delivery": "base64"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/8382/temporary+gmail+api/14649/[email protected]&id=5' --header 'Authorization: Bearer YOUR_API_KEY'
{
"filename": "test.zip",
"type": "ZIP",
"size": "1 MB",
"content_base64": "..."
}
curl --location --request GET 'https://zylalabs.com/api/8382/temporary+gmail+api/14651/attachment+download?email=Required&id=Required&file_id=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"status": "deleted",
"id": 1,
"email": "[email protected]"
}
curl --location --request GET 'https://zylalabs.com/api/8382/temporary+gmail+api/14652/[email protected]&id=44' --header 'Authorization: Bearer YOUR_API_KEY'
| 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.
Each endpoint returns specific data related to temporary Gmail addresses. The "Generate Gmail" endpoint provides a single email address, "Bulk Gmail" returns multiple addresses, "Inbox" lists recent emails, "Message" delivers full email content, "Attachment Download" provides downloadable files, and "Delete Message" confirms the deletion status of a specific email.
Key fields include "email" for the generated address, "count" for the number of emails, "messages" containing email details (id, from, subject, date), and "status" for deletion confirmation. Each endpoint's response is tailored to its function, providing relevant data.
The Bulk Gmail endpoint allows optional parameters for dot, plus, and domain filters to customize the generated email addresses. Users can specify these filters to create unique addresses that meet their specific needs, enhancing privacy and organization.
Response data is structured in JSON format, with clear key-value pairs. For example, the "Inbox" endpoint organizes emails in an array under "messages," each containing fields like "id," "from," "subject," and "date," making it easy to parse and utilize.
The Inbox endpoint provides information on recent emails received by a temporary Gmail address, including the sender's details, subject line, date received, and a count of messages. This allows users to quickly assess incoming communications.
Typical use cases include creating temporary email addresses for signing up on untrustworthy sites, receiving OTP confirmations, and managing online privacy. Users can generate multiple addresses for various purposes, reducing spam and enhancing security.
Users can utilize returned data by parsing the JSON responses to extract relevant information. For instance, they can retrieve email subjects and senders from the "Inbox" response to prioritize important messages or automate actions based on email content.
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
Service Level:
100%
Response Time:
264ms
Service Level:
100%
Response Time:
764ms
Service Level:
100%
Response Time:
1,472ms
Service Level:
100%
Response Time:
2,205ms
Service Level:
100%
Response Time:
99ms
Service Level:
100%
Response Time:
331ms
Service Level:
100%
Response Time:
768ms
Service Level:
100%
Response Time:
1,416ms
Service Level:
100%
Response Time:
309ms
Service Level:
100%
Response Time:
1,017ms
Service Level:
100%
Response Time:
178ms
Service Level:
100%
Response Time:
819ms
Service Level:
100%
Response Time:
355ms
Service Level:
100%
Response Time:
798ms
Service Level:
100%
Response Time:
37ms
Service Level:
100%
Response Time:
3,408ms
Service Level:
100%
Response Time:
935ms
Service Level:
100%
Response Time:
636ms
Service Level:
100%
Response Time:
605ms