---
title: "Get a thread with its messages"
method: GET
path: "/inboxes/{id}/threads/{threadId}"
tags: ["Inboxes"]
---

# Get a thread with its messages

`GET /inboxes/{id}/threads/{threadId}`

## Request

- Base URL: `https://sending.dev/api/v1`
- URL: `https://sending.dev/api/v1/inboxes/{id}/threads/{threadId}`
- Auth: HTTP bearer

Required scope: `inbox:read`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).

## Path parameters

- `id` string, required: Inbox ID.
- `threadId` string, required: Thread ID.

## Response `200`

Thread and messages.

- ThreadDetail
  - `thread` Thread, required
    - `id` string, uuid, required
    - `subject` string
    - `createdAt` string, date-time
  - `messages` EmailMessage[], required
    - `id` string, uuid, required
    - `direction` string
    - `subject` string
    - `from` string
    - `to` string[]
    - `html` string
    - `createdAt` string, date-time

## Other responses

- `401`: Missing or invalid token.
- `403`: Insufficient scope.
- `404`: Resource not found.

---

[API](https://skmtc.dev/sending/apis/sending-dev-api.md) · [All operations](https://skmtc.dev/sending/apis/sending-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sending/apis/sending-dev-api/revisions/9fe78d2918a1?raw)
