Logo

VWH Email API

REST API Documentation

Get email messages

GET

Retrieve all messages for a specific email address

Endpoint

https://email.vwh.sh/api/email/recipient@vwh.sh

Parameters

  • email (string): The email address to fetch messages for

Example response

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

Get inbox message

GET

Retrieve a specific message by its ID

Endpoint

https://email.vwh.sh/api/inbox/cm3sqher40005276o336z4fvw

Parameters

  • inboxId (string): The unique identifier of the message

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@vwh.sh"
}

Delete inbox message

GET

Delete a specific message by its ID

Endpoint

https://email.vwh.sh/api/delete/cm3sqher40005276o336z4fvw

Parameters

  • inboxId (string): The unique identifier of the message

Example response

true