This API allows you to create temporary email addresses and manage messages.
This documentation provides details on how to use the API endpoints.
GET api/domains/{apiKey}/{type}
GET api/domains/your-api-key/all
{
"status": true,
"data": {
"domains": [
{
"domain": "free.com",
"type": "Free"
},
{
"domain": "lobage.com",
"type": "Free"
},
{
"domain": "premium.com",
"type": "Premium"
}
]
}
}POST api/emails/{apiKey}
POST api/emails/your-api-key
{
"status": true,
"data": {
"email": "[email protected]",
"domain": "example.com",
"ip": "127.0.0.1",
"fingerprint": "eef780ab2ec7535e66c1405c0bff1c64",
"expire_at": "2025-01-01T00:00:00.000000Z",
"created_at": "2025-01-01T00:00:00.000000Z",
"id": 1,
"email_token": "email_token"
}
}POST api/emails/{apiKey}/{email}/{username}/{domain}
POST api/emails/your-api-key/[email protected]/newuser/newexample.com
{
"status": true,
"data": {
"email": "[email protected]",
"domain": "newexample.com",
"ip": "127.0.0.1",
"fingerprint": "eef780ab2ec7535e66c1405c0bff1c64",
"expire_at": "2025-01-01T00:00:00.000000Z",
"created_at": "2025-01-01T00:00:00.000000Z",
"id": 2,
"email_token": "email_token"
}
}POST api/emails/{apiKey}/{email}
POST api/emails/your-api-key/[email protected]
{
"status": true,
"message": "Email has been successfully deleted."
}GET api/messages/{apiKey}/{email}
GET api/messages/your-api-key/[email protected]
{
"status": true,
"mailbox": "[email protected]",
"messages": [
{
"is_seen": true,
"subject": "Test Subject",
"from": "John Doe",
"from_email": "[email protected]",
"to": "[email protected]",
"receivedAt": "2025-01-01 00:00:38",
"id": "ap94AWDg123ELQz07vrVB9dLXlbqZM5NGwYxOJKko8n6m1",
"html": true,
"content": "Test content",
"attachments": [
{
"name": "file.txt",
"extension": "txt",
"size": 91,
"url": "http://yoursite.com/api/d/ap94AWDg123ELQz07vrVB9dLXlbqZM5NGwYxOJKko8n6m1/file.txt"
}
]
}
]
}GET api/messages/{apiKey}/message/{messageId}
GET api/messages/your-api-key/message/ap94AWDg123ELQz07vrVB9dLXlbqZM5NGwYxOJKko8n6m1
{
"status": true,
"data": {
"is_seen": true,
"subject": "Test Subject",
"from": "John Doe",
"from_email": "[email protected]",
"to": "[email protected]",
"receivedAt": "2024-12-28 00:00:38",
"id": "ap94AWDg123ELQz07vrVB9dLXlbqZM5NGwYxOJKko8n6m1",
"html": true,
"content": "Test content",
"attachments": [
{
"name": "file.txt",
"extension": "txt",
"size": 91,
"url": "http://yoursite.com/api/d/ap94AWDg123ELQz07vrVB9dLXlbqZM5NGwYxOJKko8n6m1/file.txt"
}
]
}
}POST api/messages/{apiKey}/message/{messageId}
POST api/messages/your-api-key/message/ap94AWDg123ELQz07vrVB9dLXlbqZM5NGwYxOJKko8n6m1
{
"status": true,
"message": "Message was deleted successfully."
}GET api/d/{hash_id}/{file?}
GET api/d/abc123/filename.pdf
The file will be downloaded directly.
GET /token/{email_token}
Send your visitors to a site with a token to create the same email.
The user will be redirected to a page where the email associated with the token is created or displayed.
Contact us to get your free API Key and start integrating today!