> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vsyble.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get thread

Read a Vsyble conversation from search\_threads or list\_replies. Includes sent and received dates, needs-reply status, and up to 25 messages in order. Use nextBefore for older messages. Full text requires vsyble.readonly.

**Tool:** `inbox_read` · **Method:** `get_thread`

Hosted OAuth MCP, local MCP, and REST API.

Pass the exact thread reference from attention, search\_threads or list\_replies. Use nextBefore as before to read older messages. Full text requires vsyble.readonly. Read the latest incoming email before saving a reply draft.

## Example

All IDs, addresses and revisions below are illustrative. Replace them with values read from your workspace.

> [tab] MCP
>
> ```json theme={null}
> {
>   "name": "inbox_read",
>   "arguments": {
>     "method": "get_thread",
>     "thread": {
>       "account_id": "mailbox-id",
>       "thread_id": "thread-id",
>       "provider": "gmail"
>     },
>     "format": "metadata"
>   }
> }
> ```

> [tab] REST
>
> ```bash theme={null}
> curl https://api.vsyble.com/v1/outreach \
>   --request POST \
>   --header "Content-Type: application/json" \
>   --header "X-Vsyble-Api-Key: $VSYBLE_API_KEY" \
>   --data '{
>   "action": "getThread",
>   "thread": {
>     "account_id": "mailbox-id",
>     "thread_id": "thread-id",
>     "provider": "gmail"
>   },
>   "format": "metadata"
> }'
> ```

## Inputs

| Field | Type | Requirement | Details |
| - | - | - | - |
| `organizationId` | string | Optional | Workspace ID. Omit to use your current workspace. Format: uuid. |
| `thread` | object | Required | |
| `thread.account_id` | string | Required | Minimum length: 1. Maximum length: 500. |
| `thread.thread_id` | string | Required | Minimum length: 1. Maximum length: 500. |
| `thread.provider` | gmail / outlook / instantly | Required | |
| `format` | metadata / full | Optional | |
| `before` | string | Optional | Minimum length: 1. Maximum length: 500. |

For MCP, add `method: get_thread` alongside these fields. For REST, use `action: getThread` instead of method.

Fields inside an optional object are required only when that object is provided. Do not send fields from a different method.

## Result

MCP returns the following projected schema as structured content and JSON text. The REST response may contain additional fields; do not rely on undocumented fields.

> [accordion] Response schema
>
> ```json theme={null}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "type": "object",
>   "properties": {
>     "thread": {
>       "type": "object",
>       "properties": {
>         "account_id": {
>           "type": "string",
>           "minLength": 1,
>           "maxLength": 500
>         },
>         "thread_id": {
>           "type": "string",
>           "minLength": 1,
>           "maxLength": 500
>         },
>         "provider": {
>           "type": "string",
>           "enum": [
>             "gmail",
>             "outlook",
>             "instantly"
>           ]
>         }
>       },
>       "required": [
>         "account_id",
>         "thread_id",
>         "provider"
>       ],
>       "additionalProperties": false
>     },
>     "subject": {
>       "type": "string"
>     },
>     "lastActivityAt": {
>       "type": "string"
>     },
>     "needsReply": {
>       "type": [
>         "boolean",
>         "null"
>       ]
>     },
>     "done": {
>       "type": "boolean"
>     },
>     "replyStatus": {
>       "type": [
>         "string",
>         "null"
>       ]
>     },
>     "messageCount": {
>       "type": "integer",
>       "minimum": 0,
>       "maximum": 9007199254740991
>     },
>     "latestReceivedAt": {
>       "type": [
>         "string",
>         "null"
>       ]
>     },
>     "latestSentAt": {
>       "type": [
>         "string",
>         "null"
>       ]
>     },
>     "messages": {
>       "type": "array",
>       "items": {
>         "type": "object",
>         "properties": {
>           "id": {
>             "type": "string"
>           },
>           "date": {
>             "type": "string"
>           },
>           "direction": {
>             "type": "string",
>             "enum": [
>               "incoming",
>               "outgoing",
>               "unknown"
>             ]
>           },
>           "subject": {
>             "type": "string"
>           },
>           "from": {
>             "type": "object",
>             "properties": {
>               "name": {
>                 "type": "string"
>               },
>               "email": {
>                 "type": "string"
>               }
>             },
>             "required": [
>               "name",
>               "email"
>             ],
>             "additionalProperties": false
>           },
>           "to": {
>             "type": "array",
>             "items": {
>               "type": "object",
>               "properties": {
>                 "name": {
>                   "type": "string"
>                 },
>                 "email": {
>                   "type": "string"
>                 }
>               },
>               "required": [
>                 "name",
>                 "email"
>               ],
>               "additionalProperties": false
>             }
>           },
>           "labels": {
>             "type": "array",
>             "items": {
>               "type": "string"
>             }
>           },
>           "text": {
>             "type": "string"
>           },
>           "textIncomplete": {
>             "type": "boolean"
>           },
>           "attachments": {
>             "type": "array",
>             "items": {
>               "type": "object",
>               "properties": {
>                 "id": {
>                   "type": "string"
>                 },
>                 "name": {
>                   "type": "string"
>                 },
>                 "mimeType": {
>                   "type": "string"
>                 },
>                 "size": {
>                   "type": "integer",
>                   "minimum": 0,
>                   "maximum": 9007199254740991
>                 }
>               },
>               "required": [
>                 "id",
>                 "name",
>                 "mimeType",
>                 "size"
>               ],
>               "additionalProperties": false
>             }
>           }
>         },
>         "required": [
>           "id",
>           "date",
>           "direction",
>           "subject",
>           "from",
>           "to"
>         ],
>         "additionalProperties": false
>       }
>     },
>     "nextBefore": {
>       "type": [
>         "string",
>         "null"
>       ]
>     }
>   },
>   "required": [
>     "thread",
>     "subject",
>     "lastActivityAt",
>     "needsReply",
>     "done",
>     "replyStatus",
>     "messageCount",
>     "latestReceivedAt",
>     "latestSentAt",
>     "messages",
>     "nextBefore"
>   ],
>   "additionalProperties": false
> }
> ```

[Download input schema](https://docs.vsyble.com/schemas/get_thread.input.json) · [Download MCP response schema](https://docs.vsyble.com/schemas/get_thread.output.json)

See [permissions](https://docs.vsyble.com/security/permissions.md), [errors and recovery](https://docs.vsyble.com/api/errors.md), and [sending approval](https://docs.vsyble.com/security/sending.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.