Messages

Get an archived message

Changed on

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

Request

  • Base URL
    https://api.customer.io
  • URL
    https://api.customer.io/v1/messages/{message_id}/archived_message
  • Auth
    HTTP bearer

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