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.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • 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": [{"media_id": "1234567890"}]} Note: Media must be uploaded first using the upload_media action to obtain a media_id.

  • 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 Media Metadata

    Attaches metadata, such as accessibility alt text, to uploaded X media.

  • 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 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 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, with optional time bounds. Search queries are normalized, and parseable time bounds outside the supported range are adjusted.

  • 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.

Page 1 / 5Next