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.
Generates a single temporary Gmail address.
Generate Gmail - Endpoint Features
| Object | Description |
|---|
{
"email": "[email protected]"
}
curl --location --request GET 'https://zylalabs.com/api/8382/temporary+gmail+api/14645/generate+gmail' --header 'Authorization: Bearer YOUR_API_KEY'
Generates up to 500 unique temporary emails with optional dot/plus/domain filters.
Bulk GMail - Endpoint Features
| Object | Description |
|---|
{
"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'
Lists recent emails (last 1 hour) received by a temporary gmail address.
Inbox - Endpoint Features
| Object | Description |
|---|---|
email |
[Required] Returns the list of messages in the inbox. |
{
"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'
Returns the full content of a specific email by its ID.
Message - Endpoint Features
| Object | Description |
|---|---|
email |
[Required] |
id |
[Required] |
{
"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'
Download attachment from temporary Gmail address.
Attachment Download - Endpoint Features
| Object | Description |
|---|---|
email |
[Required] |
id |
[Required] |
file_id |
[Required] |
{
"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'
Deletes a specific message by ID
Delete Message - Endpoint Features
| Object | Description |
|---|---|
email |
[Required] |
id |
[Required] |
{
"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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
264ms
Service Level:
100%
Response Time:
764ms
Service Level:
100%
Response Time:
1,472ms
Service Level:
100%
Response Time:
819ms
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:
111ms
Service Level:
100%
Response Time:
568ms
Service Level:
100%
Response Time:
798ms
Service Level:
100%
Response Time:
5,058ms
Service Level:
100%
Response Time:
494ms
Service Level:
100%
Response Time:
573ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
432ms
Service Level:
100%
Response Time:
5,878ms
Service Level:
100%
Response Time:
2,702ms
Service Level:
100%
Response Time:
360ms