Get thread
Fetch a page of conversation messages with bounded body content.
get_thread
Fetch a page of conversation messages with bounded body content.
Permissions
Required capabilities: mail.read.
Inputs
| Name | Required | Type | Details |
|---|---|---|---|
accountId | No | string or null | Account to operate on. Optional when exactly one account is connected. Minimum length: 1. |
threadId | Yes | string | Minimum length: 1. |
pageSize | No | integer or null | Minimum: 1. Maximum: 25. |
pageToken | No | string or null | Minimum length: 1. |
bodyFormat | No | text or html or both or none or null | None |
{
"type": "object",
"properties": {
"accountId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"description": "Account to operate on. Optional when exactly one account is connected."
},
"threadId": {
"type": "string",
"minLength": 1
},
"pageSize": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 25
},
{
"type": "null"
}
]
},
"pageToken": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"bodyFormat": {
"anyOf": [
{
"type": "string",
"enum": [
"text",
"html",
"both",
"none"
]
},
{
"type": "null"
}
]
}
},
"required": [
"threadId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Last updated