Dashboard

Messages

Auth Required

Retrieve Message

GEThttps://api.inboxjot.com/v1/messages/{message_id}

Retrieves one message with its body, headers, attachments and webhook deliveries. Needs a Full key. A key limited to one domain answers 403.

GET/v1/messages/{message_id}
curl -X GET https://api.inboxjot.com/v1/messages/msg_06d2mfk8r4tq9xv2bnc7s \
  -H "Authorization: Bearer $INBOXJOT_API_KEY"
{
  "id": "msg_06d2mfk8r4tq9xv2bnc7s",
  "inbox_id": "inb_06d2mfk8r6pn2tc8yw3hd",
  "inbox_name": "Support",
  "thread_id": "thr_06d2mfk8r5xc3vb7nq2kd",
  "recipient": "support@inbound.acme.dev",
  "from": {
    "email": "riti@example.com",
    "name": "Riti Shah"
  },
  "subject": "Order 4821 arrived damaged",
  "preview": "Hi, the box was crushed and the mug inside is broken.",
  "status": "delivered",
  "status_reason": null,
  "tags": [
    "billing"
  ],
  "attachment_count": 1,
  "size": 48213,
  "received_at": "2026-11-20T09:14:02.000Z",
  "to": [
    "support@inbound.acme.dev"
  ],
  "cc": [],
  "reply_to": [],
  "message_id": "<CAF4mN2x7Qp@mail.example.com>",
  "in_reply_to": null,
  "references": [],
  "text": "Hi, the box was crushed and the mug inside is broken.\n\nRiti",
  "html": "<p>Hi, the box was crushed and the mug inside is broken.</p><p>Riti</p>",
  "reply_text": "Hi, the box was crushed and the mug inside is broken.\n\nRiti",
  "headers": [
    {
      "name": "From",
      "value": "Riti Shah <riti@example.com>"
    },
    {
      "name": "To",
      "value": "support@inbound.acme.dev"
    },
    {
      "name": "Subject",
      "value": "Order 4821 arrived damaged"
    }
  ],
  "authentication": {
    "spf": "pass",
    "dkim": "pass",
    "dmarc": "pass"
  },
  "spam": "pass",
  "virus": "pass",
  "attachments": [
    {
      "id": "att_06d2mfk8r3hv8kc6pq1nd",
      "filename": "photo.jpg",
      "content_type": "image/jpeg",
      "size": 41820,
      "content_id": null,
      "disposition": "attachment",
      "blocked": false
    }
  ],
  "deliveries": [
    {
      "endpoint_id": "whk_06d2mfk8r2bc5yn1qz8gh",
      "endpoint_name": "Helpdesk",
      "url": "https://acme.dev/hooks/mail",
      "status": "succeeded",
      "response_status": 200,
      "duration_ms": 182,
      "attempts": 1,
      "next_attempt_at": null,
      "last_attempt_at": "2026-11-20T09:14:03.000Z"
    }
  ],
  "previous_id": "msg_06d2mfk8r9wq3zh5ka2pe",
  "next_id": "msg_06d2mfk8r2kd7fq4mx9ab"
}

Returns the message with its body, headers, files and webhook deliveries.

Path Parameters

message_idstringrequired

The message id, such as msg_06d2mfk8r4tq9xv2bnc7s.

Response

idstring

The message id.

inbox_idstring | null

The inbox that matched the recipient, or null.

inbox_namestring | null

The inbox name, or null.

recipientstring

The envelope recipient that reached this workspace.

fromobject

The sender.

subjectstring

The subject.

previewstring

The start of the reply text.

statusstring

One of stored, delivered, retrying, failed, held or rejected.

status_reasonstring | null

Why it was held, rejected or failed: spam, virus, too_large, too_many_attachments, a forward reason, or endpoint_removed when its webhook endpoint was deleted or turned off.

tagsstring[]

The tags on the message, in the order they were added.

thread_idstring | null

The thread of the message, or null for a message received before threads.

attachment_countinteger

How many files are attached.

sizeinteger

The raw size in bytes.

received_atstring

When it arrived.

tostring[]

The To header addresses.

ccstring[]

The Cc header addresses.

reply_tostring[]

The Reply-To header addresses.

message_idstring | null

The Message-ID header.

in_reply_tostring | null

The In-Reply-To header.

referencesstring[]

The References header, oldest first.

textstring | null

The plain text body.

htmlstring | null

The HTML body.

reply_textstring | null

The text body without the quoted history.

headersobject[]

Every header, in order.

authenticationobject

The SPF, DKIM and DMARC verdicts.

spamstring | null

The spam verdict.

virusstring | null

The virus verdict.

attachmentsobject[]

The attached files.

deliveriesobject[]

The webhook deliveries of this message.

forwardobject | null

The email Inboxjot sent when the inbox forwarded this message, or null.

previous_idstring | null

The newer message next to it, or null.

next_idstring | null

The older message next to it, or null.

Responses

GET/v1/messages/{message_id}
curl -X GET https://api.inboxjot.com/v1/messages/msg_06d2mfk8r4tq9xv2bnc7s \
  -H "Authorization: Bearer $INBOXJOT_API_KEY"
{
  "id": "msg_06d2mfk8r4tq9xv2bnc7s",
  "inbox_id": "inb_06d2mfk8r6pn2tc8yw3hd",
  "inbox_name": "Support",
  "thread_id": "thr_06d2mfk8r5xc3vb7nq2kd",
  "recipient": "support@inbound.acme.dev",
  "from": {
    "email": "riti@example.com",
    "name": "Riti Shah"
  },
  "subject": "Order 4821 arrived damaged",
  "preview": "Hi, the box was crushed and the mug inside is broken.",
  "status": "delivered",
  "status_reason": null,
  "tags": [
    "billing"
  ],
  "attachment_count": 1,
  "size": 48213,
  "received_at": "2026-11-20T09:14:02.000Z",
  "to": [
    "support@inbound.acme.dev"
  ],
  "cc": [],
  "reply_to": [],
  "message_id": "<CAF4mN2x7Qp@mail.example.com>",
  "in_reply_to": null,
  "references": [],
  "text": "Hi, the box was crushed and the mug inside is broken.\n\nRiti",
  "html": "<p>Hi, the box was crushed and the mug inside is broken.</p><p>Riti</p>",
  "reply_text": "Hi, the box was crushed and the mug inside is broken.\n\nRiti",
  "headers": [
    {
      "name": "From",
      "value": "Riti Shah <riti@example.com>"
    },
    {
      "name": "To",
      "value": "support@inbound.acme.dev"
    },
    {
      "name": "Subject",
      "value": "Order 4821 arrived damaged"
    }
  ],
  "authentication": {
    "spf": "pass",
    "dkim": "pass",
    "dmarc": "pass"
  },
  "spam": "pass",
  "virus": "pass",
  "attachments": [
    {
      "id": "att_06d2mfk8r3hv8kc6pq1nd",
      "filename": "photo.jpg",
      "content_type": "image/jpeg",
      "size": 41820,
      "content_id": null,
      "disposition": "attachment",
      "blocked": false
    }
  ],
  "deliveries": [
    {
      "endpoint_id": "whk_06d2mfk8r2bc5yn1qz8gh",
      "endpoint_name": "Helpdesk",
      "url": "https://acme.dev/hooks/mail",
      "status": "succeeded",
      "response_status": 200,
      "duration_ms": 182,
      "attempts": 1,
      "next_attempt_at": null,
      "last_attempt_at": "2026-11-20T09:14:03.000Z"
    }
  ],
  "previous_id": "msg_06d2mfk8r9wq3zh5ka2pe",
  "next_id": "msg_06d2mfk8r2kd7fq4mx9ab"
}

Returns the message with its body, headers, files and webhook deliveries.