This API purpose is help developers to automate email tasks like website registration process or to simply add email receiving functionality to your own apps.
Using a simple GET request you can create a valid disposable mailbox and start receiving email immediately.
Mailbox is deleted after one hour (configurable TTL).
Available GET requests provide mailbox contents (messages list, message file) and advanced functionalities like “Click on links”.
#NEW! ATTACHMENTS ENDPOINT!
Very useful endpoint to directly download email attachments.
#NEW! WEBHOOK NOTIFICATIONS!
Save API requests: you don’t need to poll API to check incoming emails. It’s now possible to set a webhook URL to be notified on new email events for a specific address.
Webhook endpoint should accepts HTTP/S POST request with application/json body contents.
#NEW! PRIVATE MAILBOXES!
In PRO, ULTRA and MEGA plans, all created mailboxes are now private!
Only you can read emails from your private mailbox. Protect your data!
If you need webmail access you can still create a public mailbox calling Create Mailbox endpoint with public parameter set to true.
In FREE plan all created mailboxes are still public
#EMAIL CONTENTS PREVIEW! SCREENSHOT!
A new very useful feature in API: call Screenshot endpoint to get an email preview (image/png).
HTML emails are correctly rendered and supported.
This is the only API with screenshot functionality! Full height screenshot!
Yes, this API allows to enable disposable mail functionality to your own custom domain. Subscribe to MEGA plan!
Domain “my24h.email” is included in all plans.
Using your own custom domain is the only way to avoid being blocked by disposable/fake email detectors.
A very useful domain management endpoint is available to list, add or delete custom domains for your account.
This is the only API with auto click functionality!
call Click on links endpoint to automatically use API server to perform a GET request to links in the email. List of links and GET reply code is provided in the API response.
This function is very useful to automate registration and email validation processes.
It’s really simple:
In Create Mailbox call you can specify:
address=anyword@my24h.email (all plans)
address=random (all plans, a random mailbox is created and address is returned in response)
address=anyword@yourdomain.com (MEGA plan only!)
ttl=600 (mailbox expiration in seconds. Valid range is 600-86400. This is optional, the default value is 3600.)
Every API response is in JSON.
Email content is provided in “message/rfc822” format.
You can create as many email addresses as you want!
You can receive as many emails as you need!
You can set mailbox expiration in 10 minutes-24 hours range.
Totally managed and reliable SMTP service.
curl -H "x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com"
-H "x-rapidapi-key: place-your_rapidapi_key_here"
https://easy-fast-temp-mail.p.rapidapi.com/create?address=random
JSON Response:
{"message": "email address created", "address": "passionately.unshammed@my24h.email"}
curl -H "x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com"
-H "x-rapidapi-key: place-your_rapidapi_key_here"
https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email
JSON Response:
{"Items":
[
{"isNew": "true",
"messageId": "n2hekqdpg9peph1ncbiivokuh1ki9qr4fqn3s001",
"timestamp": "2020-04-03T13:38:53.205Z",
"commonHeaders":
{
"date": "Fri, 3 Apr 2020 15:38:40 +0200",
"messageId": "",
"from": ["Sender "],
"to": ["passionately.unshammed@my24h.email"],
"returnPath": "blabla.blabla@gmail.com",
"subject": "This is a sample email"
},
"destination": "passionately.unshammed@my24h.email",
"source": "blabla.blabla@gmail.com"}
],
"Count": 1}
curl -H "x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com"
-H "x-rapidapi-key: place-your_rapidapi_key_here"
https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email/n2hekqdpg9peph1ncbiivokuh1ki9qr4fqn3s001
The response is email content in rfc822 format.
curl -H "x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com"
-H "x-rapidapi-key: place-your_rapidapi_key_here"
https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email/n2hekqdpg9peph1ncbiivokuh1ki9qr4fqn3s001/click
JSON Response includes all “clicked” links found in the email body and HTTP response:
{"links": [
{
"url": "https://www.vittorionardone.it/blog",
"status_code": 200
}
]}
curl -H "x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com"
-H "x-rapidapi-key: place-your_rapidapi_key_here"
-H 'accept: image/png'
-o screenshot.png
https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email/n2hekqdpg9peph1ncbiivokuh1ki9qr4fqn3s001/screenshot
Response is a PNG image with rendered email contents (or a JSON in case of error)
curl -H "x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com"
-H "x-rapidapi-key: place-your_rapidapi_key_here"
--request POST
--data '{"webhook":"https://a.very.fast.endpoint.com"}'
https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email/webhook
JSON Response:
{"webhook":"https://a.very.fast.endpoint.com"}
curl -H "x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com"
-H "x-rapidapi-key: place-your_rapidapi_key_here"
--request DELETE
https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email/webhook
JSON Response:
{"webhook":""}
curl -H "x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com"
-H "x-rapidapi-key: place-your_rapidapi_key_here"
https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email/n2hekqdpg9peph1ncbiivokuh1ki9qr4fqn3s001/attachments
JSON Response includes all attachments found in the email body:
{"attachments": [
{"idx": 0, "filename": "ronaldo.png", "size": 99663, "content-type": "image/png; name=\"ronaldo.png\""},
{"idx": 1, "filename": "README.md", "size": 18876, "content-type": "text/markdown; charset=\"US-ASCII\"; name=\"README.md\""}
]
}
To download a specific attachment, add idx query parameter.
curl -H "x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com"
-H "x-rapidapi-key: place-your_rapidapi_key_here"
https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email/n2hekqdpg9peph1ncbiivokuh1ki9qr4fqn3s001/attachments?idx=0