twitter

3.1.0

Explore all defined data models and types for this version. For live editing and client SDK generators, inspect on TypeHub.

Open in TypeHub
Defined Types (68)
Bookmark
Result of a bookmark or remove bookmark action.
Type
Bookmark_Response
Response wrapper.
Type
Collection_Meta
Metadata about a paginated collection response.
Type
Create_Bookmark_Request
Request body to bookmark a Tweet.
Type
Error
A single error or problem entry returned by the X API, either as a partial error in a 200 response or inside an error response.
Type
Errors
Error response of the X API. Contains the top-level problem fields and optionally a list of individual errors.
Type
Fields
Field selection parameters which define the fields returned for each object type.
Type
Follow
Result of a follow or unfollow action.
Type
Follow_Response
Follow/unfollow response wrapper.
Type
HideReply
Result of a hide or unhide reply action.
Type
HideReply_Response
Response wrapper.
Type
Includes
Objects referenced by the primary data and requested via the `expansions` parameter.
Type
Like
Result of a like or unlike action.
Type
Like_Response
Response wrapper.
Type
Media
An image, video or animated GIF attached to a Tweet.
Type
Media_Public_Metrics
Public engagement metrics for the media.
Type
Media_Upload
An uploaded media object.
Type
Media_Upload_Image
Image details of an uploaded media.
Type
Media_Upload_Processing_Info
Asynchronous processing state of an uploaded media.
Type
Media_Upload_Request
Request body for a one-shot media upload (JSON, base64).
Type
Media_Upload_Response
Media upload response wrapper.
Type
Media_Variant
A playback or display variant of a media object.
Type
Pagination
Time range and pagination parameters for timeline and search endpoints.
Type
Place
A geographic place tagged in a Tweet.
Type
Poll
A poll attached to a Tweet.
Type
Poll_Option
A choice in a poll.
Type
Retweet
Result of a Retweet or undo Retweet action.
Type
Retweet_Response
Retweet response wrapper.
Type
Single_Tweet
Request body referencing a single Tweet.
Type
Target_User
Request body referencing a target user.
Type
Trend
A trending topic.
Type
Trend_Collection
A list of trends.
Type
Trend_Fields
Field selection for the trends endpoint.
Type
Tweet
Request body to create a Tweet.
Type
Tweet_Attachments
The type of attachments (if any) present in this Tweet.
Type
Tweet_Collection
A list of Tweets.
Type
Tweet_Create
The created Tweet.
Type
Tweet_Create_Response
Response wrapper.
Type
Tweet_Delete
Result of a Tweet deletion.
Type
Tweet_Delete_Response
Response wrapper.
Type
Tweet_Details
A Tweet (Post) object.
Type
Tweet_Details_Geo
The location tagged on the Tweet, if the user provided one.
Type
Tweet_Details_Geo_Coordinates
A GeoJSON Point geometry.
Type
Tweet_Edit_Controls
Indicates how much longer (if at all) this Tweet can be edited.
Type
Tweet_Edit_Options
Options to edit an existing Tweet instead of creating a new one.
Type
Tweet_Entities
Entities (hashtags, cashtags, mentions, URLs) parsed from the Tweet text.
Type
Tweet_Entities_Mention
A user mention found in the Tweet text.
Type
Tweet_Entities_Tag
A hashtag or cashtag found in the Tweet text.
Type
Tweet_Entities_Url
A URL found in the Tweet text.
Type
Tweet_Entity
A single Tweet response.
Type
Tweet_Geo
Location information for the Tweet being created.
Type
Tweet_Media
Media attached to the Tweet being created.
Type
Tweet_Note_Tweet
The full content of a long Tweet (more than 280 characters).
Type
Tweet_Poll
Poll attached to the Tweet being created.
Type
Tweet_Public_Metrics
Public engagement metrics for the Tweet at the time of the request.
Type
Tweet_Referenced_Tweet
A Tweet that this Tweet refers to (Retweet, Quote or Reply).
Type
Tweet_Reply
Reply information for the Tweet being created.
Type
Tweet_Usage
Tweet consumption usage of the project for the current billing cycle.
Type
Tweet_Usage_Daily_Client_App
Per client app daily Tweet usage.
Type
Tweet_Usage_Daily_Project
Project-level daily Tweet usage.
Type
Tweet_Usage_Day
A single day's Tweet usage entry.
Type
Tweet_Usage_Response
Response wrapper.
Type
Usage_Fields
Field selection for the usage endpoint.
Type
User
An X user account.
Type
User_Collection
A list of users.
Type
User_Entity
A single user response.
Type
User_Public_Metrics
Public metrics for this User.
Type
Withheld
Withholding details for withheld content.
Type
part of the Apioo-Project