Twitter

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.

79 actions Integration catalog
Request access
Connect Twitter once you're in Boring.
01 · WHAT THE AGENT CAN DO

Actions

Every capability is a discrete, logged action the agent calls by name — scoped to what you authorize and recorded in the run trace.

Add a list memberTWITTER_ADD_LIST_MEMBER
Adds a user to a specified Twitter List; the list must be owned by the authenticated user.
Add post to bookmarksTWITTER_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 UploadTWITTER_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 userTWITTER_BOOKMARKS_BY_USER
Retrieves Tweets bookmarked by the authenticated user, where the provided User ID must match the authenticated user's ID.
Create activity subscriptionTWITTER_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 jobTWITTER_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 conversationTWITTER_CREATE_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": [{"media_id": "1234567890"}]} Note: Media must be uploaded first using the upload_media action to obtain a media_id.
Create a listTWITTER_CREATE_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 postTWITTER_CREATION_OF_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 industry! Here's why... 🧵", "quote_tweet_id": "1453828617121234945" } Example - Reply to a tweet: { "text": "Great point! Here's my take on this...", "reply_in_reply_to_tweet_id": "1453828617121234945" }
Delete direct messageTWITTER_DELETE_DM
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 listTWITTER_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 idTWITTER_FOLLOWERS_BY_USER_ID
Retrieves a list of users who follow a specified public Twitter user ID.
Get following by user IDTWITTER_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 listTWITTER_FOLLOW_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 userTWITTER_FOLLOW_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 tweetsTWITTER_FULL_ARCHIVE_SEARCH
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 IDTWITTER_GET_BLOCKED_USERS
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 idTWITTER_GET_COMPLIANCE_JOB
Retrieves status, download/upload URLs, and other details for an existing Twitter compliance job specified by its unique ID.
Retrieve compliance jobsTWITTER_GET_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 conversationTWITTER_GET_DM_CONVERSATION_EVENTS
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 IDTWITTER_GET_DM_EVENT
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 IDTWITTER_GET_LIST
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 followersTWITTER_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 idTWITTER_GET_LIST_MEMBERS
Fetches members of a specific Twitter List, identified by its unique ID.
Get Media Upload StatusTWITTER_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 terminal — requires a completely new upload via TWITTER_UPLOAD_MEDIA or TWITTER_UPLOAD_LARGE_MEDIA. Video/GIF processing takes 30–120 seconds; posting before 'succeeded' results in non-playable media.
Get muted usersTWITTER_GET_MUTED_USERS
Returns user objects muted by the X user identified by the `id` path parameter.
Fetch OpenAPI specificationTWITTER_GET_OPENAPI_SPEC
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 analyticsTWITTER_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 correctness - this is not something a connected account's OAuth grant can unlock.
Get post retweetersTWITTER_GET_POST_RETWEETERS_ACTION
Retrieves users who publicly retweeted a specified public Post ID, excluding Quote Tweets and retweets from private accounts.
Retrieve retweets of a postTWITTER_GET_POST_RETWEETS
Retrieves Tweets that Retweeted a specified public or authenticated-user-accessible Tweet ID, optionally customizing the response with fields and expansions.
Fetch tweet usage dataTWITTER_GET_POST_USAGE
Fetches Tweet usage statistics for a Project (e.g., consumption, caps, daily breakdowns for Project & Client Apps) to monitor API limits; data can be retrieved for 1 to 90 days.
Get recent direct message eventsTWITTER_GET_RECENT_DM_EVENTS
Returns recent Direct Message events for the authenticated user, such as new messages or changes in conversation participants.
Look up space by IDTWITTER_GET_SPACE_BY_ID
Retrieves details for a Twitter Space by its ID, allowing for customization and expansion of related data, provided the Space ID is valid and accessible.
Retrieve posts from a spaceTWITTER_GET_SPACE_POSTS
Retrieves Tweets that were shared/posted during a Twitter Space broadcast. IMPORTANT: This endpoint returns Tweets that participants explicitly shared during the Space session, NOT audio transcripts, comments, or reactions. Most Spaces have zero associated Tweets, so empty results (result_count=0) are normal and expected. Twitter Spaces are primarily audio conversations - this endpoint only returns text Tweets that were shared alongside the audio.
Get spaces by creator IDsTWITTER_GET_SPACES_BY_CREATORS
Retrieves Twitter Spaces created by a list of specified User IDs, with options to customize returned data fields.
Get space information by IDsTWITTER_GET_SPACES_BY_IDS
Fetches detailed information for one or more Twitter Spaces (live, scheduled, or ended) by their unique IDs; at least one Space ID must be provided.
Fetch space ticket buyers listTWITTER_GET_SPACE_TICKET_BUYERS
Retrieves a list of users who purchased tickets for a specific, valid, and ticketed Twitter Space.
Look up user by IDTWITTER_GET_USER_BY_ID
Retrieves detailed public information for a Twitter user by their ID, optionally expanding related data (e.g., pinned tweets) and specifying particular user or tweet fields to return.
Get user's followed listsTWITTER_GET_USER_FOLLOWED_LISTS
Returns metadata (not Tweets) for lists a specific Twitter user follows, optionally including expanded owner details.
Get a user's list membershipsTWITTER_GET_USER_LIST_MEMBERSHIPS
Retrieves all Twitter Lists a specified user is a member of, including public Lists and private Lists the authenticated user is authorized to view.
Get a user's owned listsTWITTER_GET_USER_OWNED_LISTS
Call this action to retrieve Lists created (owned) by a specific Twitter user, not Lists they follow or are subscribed to.
Get a user's pinned listsTWITTER_GET_USER_PINNED_LISTS
Retrieves the Lists a specific, existing Twitter user has pinned to their profile to highlight them.
Look up users by IDsTWITTER_GET_USERS_BY_IDS
Retrieves detailed information for specified X (formerly Twitter) user IDs, optionally customizing returned fields and expanding related entities.
Set reply visibilityTWITTER_HIDE_REPLIES
Hides or unhides an existing reply Tweet. This action allows the authenticated user to hide or unhide a reply to a conversation they own (started). You can only hide replies to posts you authored. Note: Requires the tweet.moderate.write OAuth scope.
Initialize Media UploadTWITTER_INITIALIZE_MEDIA_UPLOAD
Initialize a media upload session for X/Twitter. Use this to start a chunked media upload process, which returns a media_id for subsequent APPEND and FINALIZE commands. Required for uploading large files or when using the chunked upload workflow.
List post likersTWITTER_LIST_POST_LIKERS
Retrieves users who have liked the Post (Tweet) identified by the provided ID.
List posts timeline by list IDTWITTER_LIST_POSTS_TIMELINE_BY_LIST_ID
Fetches the most recent Tweets posted by members of a specified Twitter List.
Mute user by IDTWITTER_MUTE_USER
Mutes a target user on behalf of an authenticated user, preventing the target's Tweets and Retweets from appearing in the authenticated user's home timeline without notifying the target.
Pin a listTWITTER_PIN_LIST
Pins a specified List to the authenticated user's profile, provided the List exists, the user has access rights, and the pin limit (typically 5 Lists) is not exceeded.
Delete tweetTWITTER_POST_DELETE_BY_POST_ID
Irreversibly deletes a specific Tweet by its ID; the Tweet may persist in third-party caches after deletion.
Look up post by idTWITTER_POST_LOOKUP_BY_POST_ID
Fetches comprehensive details for a single Tweet by its unique ID, provided the Tweet exists and is accessible.
Get tweets by IDsTWITTER_POST_LOOKUP_BY_POST_IDS
Retrieves detailed information for one or more Posts (Tweets) identified by their unique IDs, allowing selection of specific fields and expansions.
Search recent tweetsTWITTER_RECENT_SEARCH
Searches Tweets from the last 7 days matching a query (using X's search syntax), ideal for real-time analysis, trend monitoring, or retrieving posts from specific users (e.g., `from:username`) DEFAULT FIELDS: Tweet objects always return 'id' and 'text' by default. User objects always return 'id', 'name', and 'username' by default when expanded. Do not request these default fields in field parameters. IMPORTANT LIMITATION - Impression Counts: The public_metrics.impression_count field returns 0 for search results from other users. Impression data is a non-public metric only available for tweets owned by the authenticated user. To filter by engagement, use retweet_count, like_count, or quote_count instead. Example - Get original tweets from Elon Musk since Sept 20, 2025: { "query": "from:elonmusk -is:retweet -is:reply", "start_time": "2025-09-20T00:00:00Z", "max_results": 50, "tweet_fields": ["created_at","public_metrics","text"], "expansions": ["author_id","attachments.media_keys","referenced_tweets.id"] }
Remove a list memberTWITTER_REMOVE_LIST_MEMBER
Removes a user from a Twitter List; the response `is_member` field will be `false` if removal was successful or the user was not a member, and the updated list of members is not returned.
Remove a bookmarked postTWITTER_REMOVE_POST_FROM_BOOKMARKS
Removes a Tweet, specified by `tweet_id`, from the authenticated user's bookmarks; the Tweet must have been previously bookmarked by the user for the action to have an effect.
Retrieve DM conversation eventsTWITTER_RETRIEVE_DM_CONVERSATION_EVENTS
Retrieves Direct Message (DM) events for a specific conversation ID on Twitter, useful for analyzing messages and participant activities.
Retrieve posts that quote a postTWITTER_RETRIEVE_POSTS_THAT_QUOTE_A_POST
Retrieves Tweets that quote a specified Tweet, requiring a valid Tweet ID.
Retrieve liked tweets by user IDTWITTER_RETURNS_POST_OBJECTS_LIKED_BY_THE_PROVIDED_USER_ID
Retrieves Tweets liked by a specified Twitter user, provided their liked tweets are public or accessible.
Retweet postTWITTER_RETWEET_POST
Retweets a Tweet for the authenticated user. The user ID is automatically fetched from the authenticated session - you only need to provide the tweet_id to retweet.
Get full archive search countsTWITTER_SEARCH_FULL_ARCHIVE_COUNTS
Returns a count of Tweets from the full archive that match a specified query, aggregated by day, hour, or minute; `start_time` must be before `end_time` if both are provided, and `since_id`/`until_id` cannot be used with `start_time`/`end_time`.
Showing the first 60 of 79 actions.