Messages

Get an archived message

Returns the archived copy of a delivery, including the message body, recipient, and metrics. This endpoint is limited to 100 requests per day.

get/v1/messages/{message_id}/archived_message

Response

Returns the archived message object.

Example response

{
  "archived_message": {
    "id": "dgOq6QWq6QUBAAF4_CGoeVX7mFkDbRFu7ek=",
    "body": "<!DOCTYPE html><html><head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=UTF-8\\\"/><h1>Hello World</h1>\\n\\n</body></html>",
    "from": "sentFrom@example.com",
    "reply_to": "replyto@example.com",
    "recipient": "person@example.com",
    "subject": "Did you get that thing I sent you?",
    "url": "https://example.com/webhook",
    "request_method": "POST",
    "headers": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.