Skip to content

Latest commit

 

History

History
67 lines (52 loc) · 1.79 KB

README.md

File metadata and controls

67 lines (52 loc) · 1.79 KB

📑 Temp Mail API Documentation

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. 📧✨

📝 How to Get Started?

Getting started is simple with the Temp Mail API:

😎 API Base URL: https://free-tempmail-api.vercel.app/api/

1. 📨 Get New Mail Account

  • 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 "
      }
    }

2. 📩 Get All Mail

  • 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 }]
    }

Begin your journey with the Temp Mail API today and experience the convenience of managing temporary email accounts effortlessly! 📧✨

🎉 Credits

We want to acknowledge and appreciate the hard work and creativity of our development team. They've made this API a reality. 🙌