Connectors
Social & Media
Twitter / X
Social platform: create posts, read timelines, search, and manage direct messages
Twitter / X API referenceAPI checked August 18, 2026
- Signs in with
- API token
- Runs on
- Cloud or On-Prem Worker
- Operations
- 68
- Ready-made triggers
- 0
Connect Twitter / X
- In Neblex open Connect › Connections and click New Connection.
- Search for Twitter / X and give the connection a clear name.
- Fill in the fields. Secret values are encrypted and never shown again.
- Click Test, then Create Connection.
| Field | What to enter |
|---|---|
| Access tokenRequiredSecret |
Use it in a flow
- Open a flow, open the node library and search for Twitter / X.
- Drag it onto the canvas and choose an Operation and your connection.
- Map the operation's fields from earlier steps, or click Map with Matt.
- Use Test this step to see what it returns, then save.
To start a flow from Twitter / X without a ready-made trigger: a Poll for changes trigger can check one of its list operations on a schedule and pass on only what is new; if Twitter / X can send webhooks, a Webhook trigger receives them at its own URL.
Operations
68 operations in 10 groups. Each one is a step you can add to a flow.
Bookmark3
Add a bookmarkaddBookmark | POST | Bookmark a post. |
List bookmarkslistBookmarks | GET | The authenticated user's bookmarks. |
Remove a bookmarkremoveBookmark | DELETE | Remove a bookmarked post. |
DM6
Create a group conversationcreateDmConversation | POST | Open a group DM conversation with an initial message. |
List 1:1 DM eventslistParticipantDmEvents | GET | DM events with one participant. |
List a conversation's eventslistConversationDmEvents | GET | DM events in one conversation. |
List DM eventslistDmEvents | GET | Recent DM events across conversations. |
Send a DMsendDm | POST | Send a message in a 1:1 conversation (creates it if needed). |
Send to a conversationsendConversationDm | POST | Send a message to an existing group conversation. |
Engagement7
Like a postlike | POST | Like a post as the authenticated user. |
List liked postslikedTweets | GET | Posts a user has liked. |
List liking userslikingUsers | GET | Users who liked a post. |
List repostersretweetedBy | GET | Users who reposted a post. |
Repostretweet | POST | Repost a post as the authenticated user. |
Undo a repostunretweet | DELETE | Remove a repost. |
Unlike a postunlike | DELETE | Remove a like. |
List16
Add a list memberaddListMember | POST | Add a user to a list. |
Create a listcreateList | POST | Create a list. |
Delete a listdeleteList | DELETE | Delete a list. |
Follow a listfollowList | POST | Follow a list. |
Get a listgetList | GET | One list by ID. |
List a list's memberslistListMembers | GET | The users in a list. |
List a list's postslistTweetsInList | GET | Posts from a list's members. |
List followed listslistFollowedLists | GET | Lists a user follows. |
List list membershipslistListMemberships | GET | Lists a user belongs to. |
List owned listslistOwnedLists | GET | Lists a user owns. |
List pinned listslistPinnedLists | GET | The authenticated user's pinned lists. |
Pin a listpinList | POST | Pin a list. |
Remove a list memberremoveListMember | DELETE | Remove a user from a list. |
Unfollow a listunfollowList | DELETE | Unfollow a list. |
Unpin a listunpinList | DELETE | Unpin a list. |
Update a listupdateList | PUT | Update a list's metadata. |
Media3
Add media metadataaddMediaMetadata | POST | Attach alt text / metadata to uploaded media. |
Get upload statusgetMediaUploadStatus | GET | Poll an async media upload's processing status. |
Upload mediauploadMedia | POST | Upload a media file (v2 simple upload; returns media id for posts/DMs). |
Platform3
Get personalized trendsgetPersonalizedTrends | GET | The authenticated user's personalized trends. |
Get post usagegetUsage | GET | The project's post consumption against its monthly cap. |
Get trends by locationgetTrendsByWoeid | GET | Trends for a WOEID location. |
Post10
Count recent postscountsRecent | GET | Post volume for a query over the last 7 days. |
Create a posttweet | POST | Publish a post (text, reply, media, poll, quote and audience settings). |
Delete a postdeleteTweet | DELETE | Delete a post by ID. |
Get a postgetTweet | GET | Fetch a post by ID. |
Get posts by IDsgetTweets | GET | Bulk post lookup (comma-separated ids). |
Home timelinehomeTimeline | GET | The authenticated user's reverse-chronological home timeline. |
List a user's mentionslistUserMentions | GET | Posts mentioning a user. |
List a user's postslistUserTweets | GET | A user's recent posts. |
List quote postsquoteTweets | GET | Posts quoting a post. |
Search recent postssearchRecent | GET | Search posts from the last 7 days. |
Relationship8
Follow a userfollow | POST | Follow a user as the authenticated user. |
List blocked userslistBlocked | GET | Users the authenticated user blocks. |
List followersgetFollowers | GET | A user's followers. |
List followinggetFollowing | GET | Who a user follows. |
List muted userslistMuted | GET | Users the authenticated user mutes. |
Mute a usermute | POST | Mute a user. |
Unfollow a userunfollow | DELETE | Unfollow a user. |
Unmute a userunmute | DELETE | Unmute a user. |
Space6
Get a SpacegetSpace | GET | One Space by ID. |
Get a Space's buyersgetSpaceBuyers | GET | Users who bought a ticket to a Space. |
Get a Space's postsgetSpaceTweets | GET | Posts shared in a Space. |
Get Spaces by creatorsgetSpacesByCreators | GET | Live/scheduled Spaces from creator IDs. |
Get Spaces by IDsgetSpaces | GET | Bulk Space lookup. |
Search SpacessearchSpaces | GET | Search Spaces by title. |
User6
Get a usergetUser | GET | Fetch a user by ID. |
Get current userme | GET | Read the authenticated user. |
Get user by usernamegetUserByUsername | GET | Fetch a user by handle. |
Get users by IDsgetUsers | GET | Bulk user lookup (comma-separated ids). |
Get users by usernamesgetUsersByUsernames | GET | Bulk user lookup by handles (comma-separated). |
Search userssearchUsers | GET | Search users by keyword. |