Documentation
Temporary Mail API
Thank you for using our services
If you have any questions that are beyond the scope of this help file, please tell us.
API
Temporary Mail offers API interface to facilitate you to use our services quickly.
To use the API, you need to apply for an API key. There is a temporary KEY below, which will expire in the next few days.
API: bHnBNUX2RJwqd8zscm3O
List Domains
Get the current list of available domains.
GET
https://youxiang.dev/api/domains/[apikey]
Demo
https://youxiang.dev/api/domains/bHnBNUX2RJwqd8zscm3O
Parameters
[apikey] - you need to apply for an API key.
Create Email
Validate the Email ID and provides a sanitized one.
GET
https://youxiang.dev/api/email/[email]/[apikey]
Parameters
[apikey] - you need to apply for an API key.
[email] - Email ID that you want to create.
Fetch Messages
Get email messages of the provided Email ID.
GET
https://youxiang.dev/api/messages/[email]/[apikey]
Demo
https://youxiang.dev/api/messages/[email protected]/bHnBNUX2RJwqd8zscm3O
Parameters
[apikey] - you need to apply for an API key.
[email] - Email ID that you want to create.
Delete Message
Delete a specific email message with the given ID.
DELETE
https://youxiang.dev/api/message/[message_id]/[apikey]
Parameters
[apikey] - you need to apply for an API key.
[message_id] - Unique identifier for the specific message to delete.