Skip to content
Tinbox

CLI command

tinbox get-thread

Legacy conversation read with UTF-16 body offsets and HTML-to-text excerpts. It fetches the whole thread before slicing; prefer list_thread_messages and read_message_body for efficient bounded reads. For a long message, pass its messageId and follow nextBodyOffset until it is absent. All reads use the thread inbox permissions. Internal notes are marked kind:note, not customer emails.

Generated from tool: get_thread

Usage

sh
tinbox get-thread <threadId> --offset <offset> --limit <limit> --messageId <messageId> --bodyOffset <bodyOffset> --bodyLimit <bodyLimit>

Arguments

NameRequiredDescription
threadIdyesThe thread id (e.g. from search_emails).

Flags

NameTypeRequiredDefaultDescription
--offsetstringyes—Message offset within the conversation (default 0). Continue with nextOffset.
--limitstringyes—Messages per page (default 5, maximum 20). Use 1 for long messages.
--messageIdstringyes—Optional message row id from this thread; selects one message for detailed reading.
--bodyOffsetstringyes—Character offset into the message text (default 0). Follow nextBodyOffset to read the rest.
--bodyLimitstringyes—Characters per message (default 1000, maximum 4000).