List Bookmarks
twitter.list_bookmarks
ActionChat & messagingconnection required
Calls the X (Twitter) API with the connection's credentials.
One page of the authenticated user's bookmarked posts.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- X (Twitter)
- Secret shape
- the X OAuth2 user-context access token, or {"access_token": "…"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
9 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
user_id Numeric id of the authenticated user — the 'id' twitter.get_me emits. X requires it in the path; it is not filled in for you. | string | Yes | — | — | 2244994945 |
max_results Posts per page, 1 to 100. | number | No | 100 | 1–100 | — |
pagination_token Cursor from a previous page's 'next_token'; leave blank for the first page. | string | No | — | — | — |
post_fields Comma-separated Post fields to include, e.g. created_at,public_metrics,author_id. Without this X returns only id and text. | string | No | — | — | — |
expansions Comma-separated expansions to resolve into 'includes', e.g. author_id,attachments.media_keys. | string | No | — | — | — |
user_fields Comma-separated User fields to include, e.g. created_at,description,public_metrics. Without this X returns only id, name and username. | string | No | — | — | — |
media_fields Comma-separated Media fields for expanded media, e.g. url,alt_text,type. | string | No | — | — | — |
poll_fields Comma-separated Poll fields for an expanded poll, e.g. options,end_datetime. | string | No | — | — | — |
place_fields Comma-separated Place fields for an expanded geo.place_id, e.g. full_name,country. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"max_results": 100,
"user_id": "2244994945"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
posts The Post objects on this page. | array | — |
count How many posts this page carried. | number | — |
next_token Cursor for the next page; empty on the last one. | string | — |
result_count The result count X reported in meta. | number | — |
includes Objects pulled in by 'expansions' — users, media, polls, places. Empty when none asked for. | object | — |
{
"count": 0,
"includes": {},
"next_token": "",
"posts": [],
"result_count": 0
}Notes
- X API access is tiered and metered: most read endpoints need a paid plan, and since 6 February 2026 new developers get pay-per-use credits rather than a free tier. A 403 here usually means the plan, not the code.
- The connection's access token must already carry the scopes this node needs; X does not grant them per call, so a missing scope is a 401 on every run.
- Needs the OAuth2 scopes bookmark.read, tweet.read, users.read.
- A user can only read their own bookmarks: user_id must be the account the token belongs to.
See List Bookmarks run in a workflow.
In a technical demo we add the X (Twitter) connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.