Dashboard

Messages

Auth Required

Update Message

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

Adds and removes tags. A tag is 1 to 64 letters, digits, -, _, . or :, saved in lowercase. A message has at most 20 tags. Needs a Full key. A key limited to one domain answers 403. Send an optional Idempotency-Key header to retry safely. See Idempotency.

Filter a list by one tag with tag on List Messages.

PATCH/v1/messages/{message_id}
curl -X PATCH https://api.inboxjot.com/v1/messages/msg_06d2mfk8r4tq9xv2bnc7s \
  -H "Authorization: Bearer $INBOXJOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "add_tags": [
      "billing",
      "plan-change"
    ],
    "remove_tags": [
      "urgent"
    ]
  }'
{
  "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": "Can I change my plan?",
  "preview": "Hi! Can I move from yearly to monthly?",
  "status": "delivered",
  "status_reason": null,
  "tags": [
    "billing",
    "plan-change"
  ],
  "attachment_count": 0,
  "size": 4213,
  "received_at": "2026-11-20T09:14:02.000Z"
}

Returns the message with its new tags.

Path Parameters

message_idstringrequired

The message id.

Body Parameters

add_tagsstring[]

Tags to add. A tag is 1 to 64 letters, digits, -, _, . or :. It is saved in lowercase.

remove_tagsstring[]

Tags to remove. A tag in both lists is removed.

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

PATCH/v1/messages/{message_id}
curl -X PATCH https://api.inboxjot.com/v1/messages/msg_06d2mfk8r4tq9xv2bnc7s \
  -H "Authorization: Bearer $INBOXJOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "add_tags": [
      "billing",
      "plan-change"
    ],
    "remove_tags": [
      "urgent"
    ]
  }'
{
  "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": "Can I change my plan?",
  "preview": "Hi! Can I move from yearly to monthly?",
  "status": "delivered",
  "status_reason": null,
  "tags": [
    "billing",
    "plan-change"
  ],
  "attachment_count": 0,
  "size": 4213,
  "received_at": "2026-11-20T09:14:02.000Z"
}

Returns the message with its new tags.