New: every message picks a fast or a slow model

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.

What agents can do

Actions72

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

  • Bookmarks by user

    Retrieves tweets bookmarked by the authenticated user, where the provided user id must match the authenticated user's id.

  • Create a new dm conversation

    Creates a new group direct message (dm) conversation on twitter with specified participant ids and an initial message, which can include text and media attachments.

  • Create compliance job request

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

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

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

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

  • Fetch list members by id

    Fetches members of a specific twitter list, identified by its unique id.

  • Fetch space ticket buyers list

    Retrieves a list of users who purchased tickets for a specific, valid, and ticketed twitter space.

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

  • Followers by user id

    Retrieves a list of users who follow a specified public twitter user id.

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

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

  • Full archive search 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…

  • Get a user s 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 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 lists

    Retrieves the lists a specific, existing twitter user has pinned to their profile to highlight them.

  • Get blocked users

    Retrieves user objects for accounts blocked by the specified user id; this is a read-only view of a user's block list.

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

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

  • Get muted users

    Returns user objects muted by the x user identified by the `id` path parameter.

  • Get post retweeters action

    Retrieves users who publicly retweeted a specified public post id, excluding quote tweets and retweets from private accounts.

  • Get recent dm events

    Returns recent direct message events for the authenticated user, such as new messages or changes in conversation participants.

  • Get user s followed lists

    Returns metadata (not tweets) for lists a specific twitter user follows, optionally including expanded owner details.

  • Hide replies

    Hides or unhides an existing reply tweet.

  • List lookup by list 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.

  • List post likers

    Retrieves users who have liked the post (tweet) identified by the provided id.

  • List posts timeline by list id

    Fetches the most recent tweets posted by members of a specified twitter list.

  • Mute user by user id

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

  • Post delete by post id

    Irreversibly deletes a specific tweet by its id; the tweet may persist in third-party caches after deletion.

  • Post lookup by post id

    Fetches comprehensive details for a single tweet by its unique id, provided the tweet exists and is accessible.

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

  • Posts label stream

    Establishes a persistent stream of real-time events for when tweet labels are applied or removed, offering insights into content categorization.

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

  • 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`)

  • Recent search counts

    Retrieves the count of tweets matching a specified search query within the last 7 days, aggregated by 'minute', 'hour', or 'day'.

  • Remove a bookmarked post

    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.

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

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

  • 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 from a space

    Retrieves tweets from a specified twitter space id; the space must be accessible and results are batched (not streamed).

  • Retrieve posts that quote a post

    Retrieves tweets that quote a specified tweet, requiring a valid tweet id.

  • Retrieve posts that repost a post

    Retrieves tweets that retweeted a specified public or authenticated-user-accessible tweet id, optionally customizing the response with fields and expansions.

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

  • Returns the open api specification document

    Fetches the openapi specification (json) for twitter's api v2, used to programmatically understand the api's structure for developing client libraries or tools.

  • Retweet post

    Retweets a tweet (`tweet id`) for a given user (`id`), provided the tweet is public (or user follows if protected), not already retweeted by the user, and its author has not blocked the user.

  • Search for spaces

    Searches for twitter spaces by a textual query, optionally filtering by state (live, scheduled, all) to discover audio conversations.

  • Send a new message to a dm conversation

    Sends a message, with optional text and/or media attachments (using pre-uploaded `media id`s), to a specified twitter direct message conversation.

  • Send a new message to a user

    Sends a new direct message with text and/or media (media id for attachments must be pre-uploaded) to a specified twitter user; this creates a new dm and does not modify existing messages.

  • Space lookup by space 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.

  • Space lookup by their creators

    Retrieves twitter spaces created by a list of specified user ids, with options to customize returned data fields.

  • Space lookup up space 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.

  • Unfollow a list

    Enables a user (via `id`) to unfollow a specific twitter list (via `list id`), which removes its tweets from their timeline and stops related notifications; the action reports `following: false` on…

  • Unfollow user

    Allows the authenticated `source user id` to unfollow an existing twitter user (`target user id`), which removes the follow relationship.

And 12 more in Definable.

How it connects

You sign in to Twitter in a window. Composio, our app-connections provider, holds the sign-in; Definable keeps only a reference to it.

Keep the connection to yourself or share it with your workspace. Any action that writes or sends can wait for your approval.