Skip to content

SDK method

tools.listThreads

List threads. Convenience alias for list_threads, forwarding to tinbox.api.threads.list.query.

Signature

ts
listThreads(input: Parameters<TinboxTools["listThreads"]>[0]): ReturnType<TinboxTools["listThreads"]>

Parameters

NameTypeRequiredDescription
inboxIdstringnoOptional inbox id to scope the list.
limitnumbernoMax threads to return (default 20).

Returns

ReturnType<TinboxTools["listThreads"]>