List Threads

twist.get_threads
ActionChat & messagingconnection required

Calls the Twist API with the connection's credentials.

Read a page of the threads in a channel.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Twist
Secret shape
{"access_token": "…"} — the token Twist's OAuth2 flow returns
Config it needs
workspace_id, channel_id
Resolved by
config.connection_id, else node.connection_id

Configuration

7 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
channel_id
Channel to act in; overrides the default channel set on the connection.
stringNo——6984
limit
How many records to return; Twist defaults to 20 and allows at most 500.
numberNo201–500—
filter_by
Whether to return every thread or only the ones you are attached to.
stringNoeveryoneone of "everyone", "attached_to_me"—
order_by
Sort direction: newest first, or oldest first.
stringNodescone of "desc", "asc"—
newer_than_ts
Only return records posted after this Unix timestamp, in seconds.
numberNo—≥ 0—
older_than_ts
Only return records posted before this Unix timestamp, in seconds.
numberNo—≥ 0—
workspace_id
Workspace to scope the listing to; overrides the connection's default.
stringNo——5517

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "channel_id": "6984",
  "filter_by": "everyone",
  "limit": 20,
  "order_by": "desc",
  "workspace_id": "5517"
}

Output

One shape.

result

FieldTypeExample
items
The records Twist returned, newest first.
array—
count
How many records this page carried.
number—
channel_id
The channel the threads were read from.
number—
{
  "channel_id": 0,
  "count": 0,
  "items": []
}

See List Threads run in a workflow.

In a technical demo we add the Twist connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.