x_list_pin_set
Pin or unpin an X list in your list view by providing the list ID or URL and choosing the action. The API updates the pinned state and returns whether the list is now pinned.
Instructions
X (Twitter): pin a list in the authenticated user's list view, or unpin it. action selects pin or unpin. A reversible engagement write — the result reports the resulting pinned state. (disabled by policy read-only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Whether to pin or unpin the list. | |
| list_id | Yes | Target list: a numeric list id or a list URL (e.g. https://x.com/i/lists/123). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes | ||
| summary | No |