API Documentation

Integrate our temporary email service into your applications with our simple REST API.

Getting Started

Our API is free to use without authentication. All endpoints return JSON data and follow standard HTTP status codes.

No API Key RequiredJSON ResponsesCORS Enabled

Endpoints

Get Email Messages

GET

Description

Retrieve all messages for a specific email address

Endpoint

https://tmail.ckvn.io.vn/api/email/recipient@tmail.ckvn.io.vn

Parameters

email
The email address to fetch messages for (string)

Example Response

[
  {
    "id": "cm3sqher40005276o336z4fvw",
    "subject": "Test Email",
    "createdAt": 1732279492000,
    "expiresAt": 1732538692335,
    "fromAddress": "sender@example.com",
    "toAddress": "recipient@antdev.org"
  }
]

Get Inbox Message

GET

Description

Retrieve a specific message by its ID

Endpoint

https://tmail.ckvn.io.vn/api/inbox/cm3sqher40005276o336z4fvw

Parameters

inboxId
The unique identifier of the message (string)

Example Response

{
  "id": "cm3sqher40005276o336z4fvw",
  "textContent": "This is a test email body.",
  "htmlContent": null,
  "subject": "Test Email",
  "expiresAt": 1732538692335,
  "createdAt": 1732279492000,
  "fromAddress": "sender@example.com",
  "toAddress": "recipient@antdev.org"
}

Delete Inbox Message

GET

Description

Delete a specific message by its ID

Endpoint

https://tmail.ckvn.io.vn/api/delete/cm3sqher40005276o336z4fvw

Parameters

inboxId
The unique identifier of the message (string)

Example Response

true