Dashboard

Threads

Auth Required

Retrieve Thread

GEThttps://api.inboxjot.com/v1/threads/{thread_id}

Retrieves one thread with up to 100 of its newest messages, oldest first. A received message has the kind received and a msg_ id. A reply sent with Reply to Message has the kind sent and an eml_ id. Needs a Full key. A key limited to one domain answers 403.

GET/v1/threads/{thread_id}
curl -X GET https://api.inboxjot.com/v1/threads/thr_06d2mfk8r5xc3vb7nq2kd \
  -H "Authorization: Bearer $INBOXJOT_API_KEY"
{
  "id": "thr_06d2mfk8r5xc3vb7nq2kd",
  "inbox_id": "inb_06d2mfk8r6pn2tc8yw3hd",
  "subject": "Can I change my plan?",
  "message_count": 3,
  "last_message_at": "2026-11-20T12:04:12.000Z",
  "created_at": "2026-11-20T11:40:02.000Z",
  "messages": [
    {
      "kind": "received",
      "id": "msg_06d2mfk8r9wq3zh5ka2pe",
      "from": {
        "email": "riti@example.com",
        "name": "Riti"
      },
      "to": [
        "support@inbound.acme.dev"
      ],
      "subject": "Can I change my plan?",
      "text": "Hi! Can I move from yearly to monthly? We are a small team now.",
      "status": "delivered",
      "at": "2026-11-20T11:40:02.000Z"
    },
    {
      "kind": "sent",
      "id": "eml_06d2mfk8r4tq9xv2bnc7s",
      "from": {
        "email": "support@inbound.acme.dev",
        "name": "Support agent"
      },
      "to": [
        "riti@example.com"
      ],
      "subject": "Re: Can I change my plan?",
      "text": "Sure. Monthly is $24, and we refund the rest of your year as credit. Want me to switch it?",
      "status": "delivered",
      "at": "2026-11-20T11:51:30.000Z"
    },
    {
      "kind": "received",
      "id": "msg_06d2mfk8r4tq9xv2bnc7s",
      "from": {
        "email": "riti@example.com",
        "name": "Riti"
      },
      "to": [
        "support@inbound.acme.dev"
      ],
      "subject": "Re: Can I change my plan?",
      "text": "Yes, monthly is fine. Can you switch it today?",
      "status": "delivered",
      "at": "2026-11-20T12:04:12.000Z"
    }
  ]
}

Returns the thread with its received messages and sent replies, oldest first.

Path Parameters

thread_idstringrequired

The thread id, such as thr_06d2mfk8r5xc3vb7nq2kd.

Response

idstring

The thread id.

inbox_idstring | null

The inbox of the first message, or null.

subjectstring

The subject of the first message, without Re: and Fwd:.

message_countinteger

How many messages are in the thread, received and sent.

last_message_atstring

When the newest message arrived or was sent.

created_atstring

When the thread started.

messagesobject[]

Up to 100 newest messages of the thread, oldest first.

Responses

GET/v1/threads/{thread_id}
curl -X GET https://api.inboxjot.com/v1/threads/thr_06d2mfk8r5xc3vb7nq2kd \
  -H "Authorization: Bearer $INBOXJOT_API_KEY"
{
  "id": "thr_06d2mfk8r5xc3vb7nq2kd",
  "inbox_id": "inb_06d2mfk8r6pn2tc8yw3hd",
  "subject": "Can I change my plan?",
  "message_count": 3,
  "last_message_at": "2026-11-20T12:04:12.000Z",
  "created_at": "2026-11-20T11:40:02.000Z",
  "messages": [
    {
      "kind": "received",
      "id": "msg_06d2mfk8r9wq3zh5ka2pe",
      "from": {
        "email": "riti@example.com",
        "name": "Riti"
      },
      "to": [
        "support@inbound.acme.dev"
      ],
      "subject": "Can I change my plan?",
      "text": "Hi! Can I move from yearly to monthly? We are a small team now.",
      "status": "delivered",
      "at": "2026-11-20T11:40:02.000Z"
    },
    {
      "kind": "sent",
      "id": "eml_06d2mfk8r4tq9xv2bnc7s",
      "from": {
        "email": "support@inbound.acme.dev",
        "name": "Support agent"
      },
      "to": [
        "riti@example.com"
      ],
      "subject": "Re: Can I change my plan?",
      "text": "Sure. Monthly is $24, and we refund the rest of your year as credit. Want me to switch it?",
      "status": "delivered",
      "at": "2026-11-20T11:51:30.000Z"
    },
    {
      "kind": "received",
      "id": "msg_06d2mfk8r4tq9xv2bnc7s",
      "from": {
        "email": "riti@example.com",
        "name": "Riti"
      },
      "to": [
        "support@inbound.acme.dev"
      ],
      "subject": "Re: Can I change my plan?",
      "text": "Yes, monthly is fine. Can you switch it today?",
      "status": "delivered",
      "at": "2026-11-20T12:04:12.000Z"
    }
  ]
}

Returns the thread with its received messages and sent replies, oldest first.