Public API Docs for DropMail

The DropMail API is a simple and easy-to-use interface that allows developers to integrate email functionality into their applications. It provides a fast and reliable service, making it ideal for use in various web applications and websites.

API Overview

The DropMail API allows you to create temporary email addresses, receive emails and attachments, and check email history. You can create up to 10 email addresses per second per account, with no limit on the number of emails that can be received or stored.

API Endpoints

  1. Create a temporary email address
POST https://dropmail.me/api/v1/create

This endpoint allows you to create a temporary email address.

// Example code in JavaScript
fetch('https://dropmail.me/api/v1/create', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  body: 'source=<your-source>'
})
.then(response => response.json())
.then(data => console.log(data));
  1. Get email messages
GET https://dropmail.me/api/v1/messages?address=<address>&source=<source>

This endpoint allows you to retrieve email messages for a specific temporary email address.

// Example code in JavaScript
fetch('https://dropmail.me/api/v1/messages?address=<address>&source=<source>')
.then(response => response.json())
.then(data => console.log(data));
  1. Get message details
GET https://dropmail.me/api/v1/message/<id>?source=<source>

This endpoint allows you to retrieve details for a specific email message by ID.

// Example code in JavaScript
fetch('https://dropmail.me/api/v1/message/<id>?source=<source>')
.then(response => response.json())
.then(data => console.log(data));
  1. Delete a message
DELETE https://dropmail.me/api/v1/message/<id>?source=<source>

This endpoint allows you to delete a specific email message by ID.

// Example code in JavaScript
fetch('https://dropmail.me/api/v1/message/<id>?source=<source>', {
  method: 'DELETE',
  headers: {
    'Content-Type': 'application/x-www-form-urlencoded'
  }
})
.then(response => response.json())
.then(data => console.log(data));
  1. Get email attachments
GET https://dropmail.me/api/v1/attachments/<id>?source=<source>

This endpoint allows you to retrieve email attachments for a specific email message by ID.

// Example code in JavaScript
fetch('https://dropmail.me/api/v1/attachments/<id>?source=<source>')
.then(response => response.json())
.then(data => console.log(data));

Conclusion

With the DropMail API, it is easy to integrate temporary email functionality into your applications. From creating temporary email addresses to retrieving email messages and attachments, the API provides the tools you need to build a robust email service.

Related APIs