v1

latestOpenAPI 3.1.02026-07-24700259.3 KB
EMAIL ARCHIVE

View an archived email

Fetch an archived email using the email_id

post/archive/email

Request body

email_idstring required

The unique email_id of the archived email you wish to retrieve

Example request

{
  "email_id": "1u0SwL-B9zBpi9ffUq-JAB2"
}

Response

Archived email

request_idstring required

Example response

{
  "request_id": "13dd3376-40fa-11ec-9fc6-f23c9216bf47",
  "data": {
    "byte_count": 1428,
    "email_id": "1u0SwL-B9zBpi9ffUq-JAB2",
    "envelope_from": "test@test.com",
    "headers": "...",
    "recipient": "test@test.com",
    "sender": "test@test.com",
    "sent": "2021-10-19T21:35:40Z",
    "subject": "test",
    "to": "test@test.com",
    "url": "...",
    "username": "api-12345678"
  }
}