All connectors
Twitter integration
Twitter, Inc. was an American social media company based in San Francisco, California, which operated and was named for named for its flagship social media network prior to its rebrand as X.
Connect Twitter to Xenition and work with it from chat, from an agent, or on a schedule — alongside every other app you have connected, in one workspace.
What you can do with Twitter
Ask in plain language and Xenition calls the right one:
- Add a list member — Adds a user to a specified Twitter List; the list must be owned by the authenticated user.
- Add post to bookmarks — Adds a specified, existing, and accessible Tweet to a user's bookmarks, with success indicated by the 'bookmarked' field in the response.
- Append Media Upload — Append data chunk to an ongoing media upload session on X/Twitter. Use this action during chunked media uploads to append each segment of media data in sequence.
- Get bookmarks by user — Retrieves Tweets bookmarked by the authenticated user, where the provided User ID must match the authenticated user's ID.
- Create activity subscription — Tool to create a subscription for an X activity event. Use when you need to monitor specific user activities like profile updates, follows, or spaces events.
- Create compliance job — Creates a new compliance job to check the status of Tweet or user IDs; upload IDs as a plain text file (one ID per line) to the `upload_url` received in the response.
- Create group DM conversation — Creates a new group Direct Message (DM) conversation on Twitter. REQUIRED PARAMETERS: - conversation_type: Must be 'Group' - participant_ids: List of Twitter user IDs to include in the conversation - message: JSON object with the initial message. Must contain 'text' field. To include media attachments, use message.attachments array with media_id (NOT media_url): {"text": "...", "attachments": [{"m
- Create a list — Creates a new, empty List on X (formerly Twitter), for which the provided name must be unique for the authenticated user; accounts are added separately.
- Create a post — Creates a Tweet on Twitter; `text` is required unless `card_uri`, `media_media_ids`, `poll_options`, or `quote_tweet_id` is provided. Example - Creating a tweet with media and location: { "text": "Check out our latest product update! 🚀", "media_media_ids": ["1455952740635586573"], "geo_place_id": "df51dec6f4ee2b2c" } Example - Quote tweet with commentary: { "text": "This is a game-changer for the
- Delete direct message — Permanently deletes a specific Twitter Direct Message (DM) event using its `event_id` if the authenticated user sent it; this action is irreversible and does not delete entire conversations.
- Delete list — Permanently deletes a specified Twitter List using its ID, which must be owned by the authenticated user; this action is irreversible and the list must already exist.
- Get followers by user id — Retrieves a list of users who follow a specified public Twitter user ID.
- Get following by user ID — Retrieves users followed by a specific Twitter user, allowing pagination and customization of returned user and tweet data fields via expansions.
- Follow a list — Allows the authenticated user (`id`) to follow a specific Twitter List (`list_id`) they are permitted to access, subscribing them to the list's timeline; this does not automatically follow individual list members.
- Follow a user — Allows an authenticated user (path `id`) to follow another user (`target_user_id`), which results in a pending request if the target user's tweets are protected.
- Search full archive of tweets — Searches the full archive of public Tweets from March 2006 onwards; use 'start_time' and 'end_time' together for a defined time window.
- Get users blocked by user ID — Retrieves the authenticated user's own block list. IMPORTANT: You can only retrieve YOUR OWN block list - the `id` parameter must be the authenticated user's ID. Use the 'Get authenticated user' action first to obtain your user ID.
- Retrieve compliance job by id — Retrieves status, download/upload URLs, and other details for an existing Twitter compliance job specified by its unique ID.
- Retrieve compliance jobs — Returns a list of recent compliance jobs, filtered by type (tweets or users) and optionally by status.
- Get DM events for a DM conversation — Fetches Direct Message (DM) events for a one-on-one conversation with a specified participant ID, ordered chronologically newest to oldest; does not support group DMs.
- Get DM events by ID — Fetches a specific Direct Message (DM) event by its unique ID, allowing optional expansion of related data like users or tweets; ensure the `event_id` refers to an existing DM event accessible to the authenticated user.
- Lookup list by ID — Returns metadata for a specific Twitter List, identified by its ID; does not return list members but can expand the owner's User object via the `expansions` parameter.
- Get list followers — Fetches a list of users who follow a specific Twitter List, identified by its ID; ensure the authenticated user has access if the list is private.
- Fetch list members by id — Fetches members of a specific Twitter List, identified by its unique ID.
- Get Media Upload Status — Get the processing status of uploaded media (videos/GIFs) on X/Twitter. Only call this when the FINALIZE command returned a processing_info field. Poll every 3–5 seconds with a 60–120 second maximum timeout to avoid HTTP 429 errors. Response state cycles through 'pending', 'in_progress', 'succeeded', and 'failed'. Only attach media_id to a tweet when state is 'succeeded'. State 'failed' is termina
- Get muted users — Returns user objects muted by the X user identified by the `id` path parameter.
- Fetch OpenAPI specification — Fetches the OpenAPI specification (JSON) for Twitter's API v2, used to programmatically understand the API's structure for developing client libraries or tools.
- Get Post analytics — Tool to retrieve analytics data for specified Posts within a defined time range. Use when you need engagement metrics, impressions, or other analytics for one or more Posts. Requires OAuth 2.0 with tweet.read and users.read scopes. Requires an X Enterprise API plan. Accounts on Free, Basic, Pro, or Pay-Per-Use tiers will receive a 403 Forbidden on every call, regardless of scopes or request correc
- Get post retweeters — Retrieves users who publicly retweeted a specified public Post ID, excluding Quote Tweets and retweets from private accounts.
- Retrieve retweets of a post — Retrieves Tweets that Retweeted a specified public or authenticated-user-accessible Tweet ID, optionally customizing the response with fields and expansions.
…and 20 more Twitter actions available in the workspace.
Give an agent access to Twitter
An agent you create can use Twitter on your behalf and keep working while you do something else. Every action an agent takes goes through an approval gate first, so nothing touches your Twitter account without you agreeing to it.
Other connectors
Frequently asked questions
How do I connect Twitter to Xenition?
Open the connectors directory in Xenition, find Twitter, and sign in when the authorisation window opens. The connection is managed for you — there is no API key to create, paste or rotate.
What can Xenition do with Twitter?
Xenition can run 50 different Twitter actions, including Add a list member, Add post to bookmarks, Append Media Upload. You ask in plain language and the right one is called for you.
Can an agent use Twitter on my behalf?
Yes. Agents can use Twitter while you do something else, and every action passes through an approval gate before it runs.
Is there a free plan?
Yes. Xenition starts free with 25,000 credits a month and no credit card, and all connectors are available on every plan.