Skip to main content
GET
Get clean thread content

Authorizations

Authorization
string
header
required

Sendmux API key. Use a root API key for Management API routes, or a mailbox credential for Mailbox API routes. Obtain keys from the dashboard under API Keys.

Headers

If-None-Match
string

Path Parameters

thread_id
string
required

Query Parameters

part
enum<string>

Body part to return. auto prefers text when available.

Available options:
auto,
text,
html
max_body_chars
integer

Maximum body characters to return before truncation.

Required range: 1 <= x <= 1000000
strip_signature
boolean

When true, remove detected email signatures.

strip_quotes
boolean

When true, remove quoted reply text.

When true, include links extracted from the body.

include_html
boolean

When true, include HTML content when available.

include_headers
enum<string>

Header detail to include in the response.

Available options:
none,
selected,
full
include_attachments
enum<string>

Attachment detail to include. Contents are not returned.

Available options:
none,
metadata
cursor
string
limit
integer
Required range: 1 <= x <= 100
sort
enum<string>
Available options:
asc,
desc
mailbox_id
string

Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox.

Response

Clean thread content

meta
object
required
ok
enum<boolean>
required
Available options:
true
data
object[]
required
pagination
object
required