Effortlessly manage temporary email accounts and messages with the Temp Mail API. This user-friendly and efficient solution is ideal for applications, websites, or new projects with temporary email services. π§β¨
Getting started is simple with the Temp Mail API:
π API Base URL: https://free-tempmail-api.vercel.app/api/
- Endpoint:
/newmail
- Method: GET
- Description: Create a new temporary email account.
- Query Parameters: None
- Example Request:
GET /newmail
- Example Response:
{ "success": true, "newmail": { "email": "[email protected]", "token": " your token hare " } }
- Endpoint:
/mails
- Method: GET
- Description: Retrieve all emails in the temporary mailbox.
- Query Parameters: None
- Headers:
mailtoken
(string, required): The authentication token for accessing the mailbox.
- Example Request:
GET /mails Headers: mailtoken: your_token_here
- Example Response:
{ "success": true, "mails": [{ get all mails here }] }
- Endpoint:
/read/{mail_id}
- Method: GET
- Description: Read a specific email in the temporary mailbox by its ID.
- Path Parameters:
mail_id
(string, required): The unique identifier of the email.
- Example Request:
GET /read/658839bc9995d8263956db24
- Example Response:
{ "success": true, "mail": { "id": "658839bc9995d8263956db24", "seen": true, "from": { "address": "[email protected]", "name": "Nina Mejia" }, "to": [ { "address": "[email protected]", "name": "" } ], "cc": [], "bcc": [], "subject": "", "text": "your mail text here", "html": [ "<div>your mail text here</div>" ], "date": "2023-12-24T14:01:24+00:00" } }
Begin your journey with the Temp Mail API today and experience the convenience of managing temporary email accounts effortlessly! π§β¨
We want to acknowledge and appreciate the hard work and creativity of our development team. They've made this API a reality. π
- Lead Developer: Dev. Gaurav Jatt π¨βπ»
- Backend Developer: Dev. Gaurav Jatt π¨βπ»