---
name: x-api-v2
description: "X API v2 API skill. Use when working with X API v2 for 2. Covers 260 endpoints."
version: 1.0.0
generator: lapsh
---

# X API v2
API version: 2.174

## Auth
Bearer bearer | OAuth2 | Bearer OAuth

## Base URL
https://api.x.com

## Setup
1. Set Authorization header with your Bearer token
2. GET /2/account -- verify access
3. POST /2/account -- create first account

## Endpoints

260 endpoints across 1 groups. See references/api-spec.lap for full details.

### 2
| Method | Path | Description |
|--------|------|-------------|
| GET | /2/account | Get Developer Account |
| POST | /2/account | Ensure Developer Account |
| GET | /2/account_activity/subscriptions/count | Get Subscription Count |
| GET | /2/account_activity/webhooks/{webhook_id}/subscriptions/all | Validate Subscription |
| POST | /2/account_activity/webhooks/{webhook_id}/subscriptions/all | Create Subscription |
| GET | /2/account_activity/webhooks/{webhook_id}/subscriptions/all/list | Get Subscriptions |
| DELETE | /2/account_activity/webhooks/{webhook_id}/subscriptions/{user_id}/all | Delete Subscription |
| GET | /2/activity/stream | Activity Stream |
| DELETE | /2/activity/subscriptions | Delete X Activity Subscriptions by IDs |
| GET | /2/activity/subscriptions | Get X Activity Subscriptions |
| POST | /2/activity/subscriptions | Create X Activity Subscription |
| DELETE | /2/activity/subscriptions/{subscription_id} | Delete X Activity Subscription |
| PUT | /2/activity/subscriptions/{subscription_id} | Update X Activity Subscription |
| POST | /2/articles/draft | Create Draft Article |
| POST | /2/articles/{article_id}/publish | Publish Article |
| GET | /2/bots | Get Bots |
| POST | /2/bots | Create a Bot |
| DELETE | /2/bots/{id} | Delete Bot |
| PUT | /2/bots/{id} | Update Bot |
| DELETE | /2/bots/{id}/token | Revoke Bot Token |
| POST | /2/bots/{id}/token | Rotate Bot Token |
| GET | /2/broadcasts | List Broadcasts |
| POST | /2/broadcasts | Go Live on a Source |
| GET | /2/broadcasts/categories | List Live Categories |
| GET | /2/broadcasts/chat/moderators | Get Chat Moderators |
| POST | /2/broadcasts/chat/moderators | Add a Chat Moderator |
| DELETE | /2/broadcasts/chat/moderators/{user_id} | Remove a Chat Moderator |
| GET | /2/broadcasts/chat/mutes | Get Muted Chat Users |
| POST | /2/broadcasts/chat/mutes | Mute or Time Out a User in Chat |
| DELETE | /2/broadcasts/chat/mutes/{user_id} | Unmute a User in Chat |
| GET | /2/broadcasts/scheduled | List Scheduled Broadcasts |
| POST | /2/broadcasts/scheduled | Create a Scheduled Broadcast |
| DELETE | /2/broadcasts/scheduled/{id} | Delete a Scheduled Broadcast |
| GET | /2/broadcasts/scheduled/{id} | Get a Scheduled Broadcast |
| PUT | /2/broadcasts/scheduled/{id} | Update a Scheduled Broadcast |
| POST | /2/broadcasts/scheduled/{id}/live | Go Live on a Scheduled Broadcast |
| DELETE | /2/broadcasts/{id} | Delete a Broadcast |
| GET | /2/broadcasts/{id} | Get a Broadcast |
| GET | /2/broadcasts/{id}/chat | Get Broadcast Chat History |
| POST | /2/broadcasts/{id}/chat | Send a Chat Message to a Live Broadcast |
| POST | /2/broadcasts/{id}/chat/mutes | Mute or Time Out a User in a Broadcast Chat |
| DELETE | /2/broadcasts/{id}/chat/mutes/{user_id} | Unmute a User in a Broadcast Chat |
| DELETE | /2/broadcasts/{id}/chat/{message_id} | Remove a Chat Message from a Live Broadcast |
| PUT | /2/broadcasts/{id}/state | End a Broadcast |
| POST | /2/calls | Create a Call |
| GET | /2/calls/scheduled | List Scheduled Calls |
| POST | /2/calls/scheduled | Schedule a Call |
| DELETE | /2/calls/scheduled/{id} | Cancel a Scheduled Call |
| GET | /2/calls/scheduled/{id} | Get a Scheduled Call |
| PUT | /2/calls/scheduled/{id} | Update a Scheduled Call |
| POST | /2/calls/scheduled/{id}/rsvp | Respond to a Scheduled Call |
| GET | /2/calls/{id} | Get a Call |
| POST | /2/calls/{id}/join | Join a Call |
| POST | /2/calls/{id}/leave | Leave a Call |
| GET | /2/chat/conversations | Get Chat Conversations |
| POST | /2/chat/conversations/group | Create Chat Group Conversation |
| POST | /2/chat/conversations/group/initialize | Initialize Chat Group |
| DELETE | /2/chat/conversations/{id} | Delete a Chat Conversation |
| GET | /2/chat/conversations/{id} | Get Chat Conversation |
| PUT | /2/chat/conversations/{id} | Update a Chat Group Conversation |
| GET | /2/chat/conversations/{id}/admin_requests | Get Pending Admin Requests for a Chat Group Conversation |
| POST | /2/chat/conversations/{id}/admin_requests | Request Admin Permissions in a Chat Group Conversation |
| POST | /2/chat/conversations/{id}/admin_requests/{user_id}/approve | Approve an Admin Request in a Chat Group Conversation |
| POST | /2/chat/conversations/{id}/admin_requests/{user_id}/reject | Reject an Admin Request in a Chat Group Conversation |
| PUT | /2/chat/conversations/{id}/admin_settings | Update the Admin-Only Settings of a Chat Group Conversation |
| POST | /2/chat/conversations/{id}/admins | Add Admins to a Chat Group Conversation |
| POST | /2/chat/conversations/{id}/admins/remove | Remove Admins from a Chat Group Conversation |
| DELETE | /2/chat/conversations/{id}/archive | Unarchive a Chat Conversation |
| POST | /2/chat/conversations/{id}/archive | Archive a Chat Conversation |
| GET | /2/chat/conversations/{id}/events | Get Chat Conversation Events |
| DELETE | /2/chat/conversations/{id}/invite | Disable a Chat Group Invite Link |
| POST | /2/chat/conversations/{id}/invite | Enable a Chat Group Invite Link |
| GET | /2/chat/conversations/{id}/invites/{token} | Get a Chat Group Invite Link |
| POST | /2/chat/conversations/{id}/join_requests | Request to Join a Chat Group |
| POST | /2/chat/conversations/{id}/join_requests/reject | Reject Join Requests for a Chat Group Conversation |
| POST | /2/chat/conversations/{id}/keys | Add Conversation Keys |
| POST | /2/chat/conversations/{id}/members | Add Members to a Chat Group Conversation |
| POST | /2/chat/conversations/{id}/members/remove | Remove Members from a Chat Group Conversation |
| DELETE | /2/chat/conversations/{id}/message_ttl | Turn Off Disappearing Messages in a Chat Conversation |
| PUT | /2/chat/conversations/{id}/message_ttl | Turn On Disappearing Messages in a Chat Conversation |
| POST | /2/chat/conversations/{id}/messages | Send Chat Message |
| POST | /2/chat/conversations/{id}/messages/delete | Delete Chat Messages |
| DELETE | /2/chat/conversations/{id}/mute | Unmute a Chat Conversation |
| POST | /2/chat/conversations/{id}/mute | Mute a Chat Conversation |
| GET | /2/chat/conversations/{id}/pinned_messages | Get Chat Conversation Pinned Messages |
| POST | /2/chat/conversations/{id}/read | Mark Conversation as Read |
| PUT | /2/chat/conversations/{id}/screen_capture | Update Screen Capture Settings for a Chat Conversation |
| POST | /2/chat/conversations/{id}/typing | Send Typing Indicator |
| POST | /2/chat/conversations/{id}/unread | Mark Conversation as Unread |
| POST | /2/chat/media/upload/initialize | Initialize Chat Media Upload |
| POST | /2/chat/media/upload/{id}/append | Append Chat Media Upload |
| POST | /2/chat/media/upload/{id}/finalize | Finalize Chat Media Upload |
| GET | /2/chat/media/{id}/{media_hash_key} | Download Chat Media |
| GET | /2/chat/message_requests | Get Chat Message Requests |
| GET | /2/chat/message_requests/{id} | Get Chat Message Request |
| POST | /2/chat/message_requests/{id}/accept | Accept a Chat Message Request |
| GET | /2/chat/settings | Get Chat Settings |
| PUT | /2/chat/settings | Update Chat Settings |
| GET | /2/communities/search | Search Communities |
| GET | /2/communities/{id} | Get Community by ID |
| GET | /2/compliance/jobs | Get Compliance Jobs |
| POST | /2/compliance/jobs | Create Compliance Job |
| DELETE | /2/compliance/jobs/{id} | Cancel Compliance Job |
| GET | /2/compliance/jobs/{id} | Get Compliance Job by ID |
| GET | /2/compliance/jobs/{id}/download | Download Compliance Job Results |
| PUT | /2/compliance/jobs/{id}/upload | Upload Compliance Job Submission |
| DELETE | /2/connections | Terminate Multiple Connections |
| GET | /2/connections | Get Connection History |
| DELETE | /2/connections/all | Terminate All Connections |
| DELETE | /2/connections/{endpoint_id} | Terminate Connections by Endpoint |
| POST | /2/dm_conversations | Create DM Conversation |
| GET | /2/dm_conversations/media/{dm_id}/{media_id}/{resource_id} | Download DM Media |
| GET | /2/dm_conversations/with/{participant_id}/dm_events | Get DM Events by Participant ID |
| POST | /2/dm_conversations/with/{participant_id}/messages | Create DM Message by Participant ID |
| POST | /2/dm_conversations/{dm_conversation_id}/messages | Create DM Message by Conversation ID |
| GET | /2/dm_conversations/{id}/dm_events | Get DM Events by Conversation ID |
| GET | /2/dm_events | Get DM Events |
| DELETE | /2/dm_events/{event_id} | Delete DM Event |
| GET | /2/dm_events/{event_id} | Get DM Event by ID |
| GET | /2/likes/compliance/stream | Stream Likes Compliance Data |
| GET | /2/likes/firehose/stream | Stream All Likes |
| GET | /2/likes/sample10/stream | Stream Sampled Likes |
| POST | /2/lists | Create List |
| DELETE | /2/lists/{id} | Delete List |
| GET | /2/lists/{id} | Get List by ID |
| PUT | /2/lists/{id} | Update List |
| GET | /2/lists/{id}/followers | Get List Followers |
| GET | /2/lists/{id}/members | Get List Members |
| POST | /2/lists/{id}/members | Add List Member |
| DELETE | /2/lists/{id}/members/{user_id} | Remove List Member |
| GET | /2/lists/{id}/tweets | Get List Posts |
| GET | /2/media | Get Media by Media Keys |
| GET | /2/media/analytics | Get Media Analytics |
| POST | /2/media/metadata | Create Media Metadata |
| DELETE | /2/media/subtitles | Delete Media Subtitles |
| POST | /2/media/subtitles | Create Media Subtitles |
| GET | /2/media/upload | Get Media Upload Status |
| POST | /2/media/upload | Upload Media |
| POST | /2/media/upload/initialize | Initialize Media Upload |
| POST | /2/media/upload/{id}/append | Append Media Upload |
| POST | /2/media/upload/{id}/finalize | Finalize Media Upload |
| GET | /2/media/{media_key} | Get Media by Media Key |
| GET | /2/news/search | Search News |
| GET | /2/news/{id} | Get News Stories by ID |
| POST | /2/notes | Create a Community Note |
| POST | /2/notes/evaluate | Evaluate a Community Note |
| GET | /2/notes/search/notes_written | Search for Community Notes Written |
| GET | /2/notes/search/posts_eligible_for_notes | Search for Posts Eligible for Community Notes |
| DELETE | /2/notes/{id} | Delete a Community Note |
| GET | /2/openapi.json | Get OpenAPI Spec |
| GET | /2/region | Get the Ingest Region |
| GET | /2/sources | List Stream Sources |
| POST | /2/sources | Create a Stream Source |
| DELETE | /2/sources/{id} | Delete a Stream Source |
| GET | /2/sources/{id} | Get a Stream Source |
| PUT | /2/sources/{id} | Rename a Stream Source |
| GET | /2/sources/{id}/stream_key | Get a Stream Source's Stream Key |
| GET | /2/spaces | Get Spaces by IDs |
| GET | /2/spaces/by/creator_ids | Get Spaces by Creator IDs |
| GET | /2/spaces/search | Search Spaces |
| GET | /2/spaces/{id} | Get Space by ID |
| GET | /2/spaces/{id}/buyers | Get Space Ticket Buyers |
| GET | /2/spaces/{id}/tweets | Get Space Posts |
| GET | /2/trends/by/woeid/{woeid} | Get Trends by WOEID |
| GET | /2/tweets | Get Posts by IDs |
| POST | /2/tweets | Create or Edit Post |
| GET | /2/tweets/analytics | Get Post Analytics |
| GET | /2/tweets/compliance/stream | Stream Posts Compliance Data |
| GET | /2/tweets/counts/all | Get Count of All Posts |
| GET | /2/tweets/counts/recent | Get Count of Recent Posts |
| GET | /2/tweets/firehose/stream | Stream All Posts |
| GET | /2/tweets/firehose/stream/lang/en | Stream English Posts |
| GET | /2/tweets/firehose/stream/lang/ja | Stream Japanese Posts |
| GET | /2/tweets/firehose/stream/lang/ko | Stream Korean Posts |
| GET | /2/tweets/firehose/stream/lang/pt | Stream Portuguese Posts |
| GET | /2/tweets/label/stream | Stream Post Labels |
| GET | /2/tweets/sample/stream | Stream Sampled Posts |
| GET | /2/tweets/sample10/stream | Stream 10% Sampled Posts |
| GET | /2/tweets/search/all | Search All Posts |
| GET | /2/tweets/search/recent | Search Recent Posts |
| GET | /2/tweets/search/stream | Stream Filtered Posts |
| GET | /2/tweets/search/stream/rules | Get Stream Rules |
| POST | /2/tweets/search/stream/rules | Update Stream Rules |
| GET | /2/tweets/search/stream/rules/counts | Get Stream Rule Counts |
| GET | /2/tweets/search/webhooks | Get Stream Links |
| DELETE | /2/tweets/search/webhooks/{webhook_id} | Delete Stream Link |
| POST | /2/tweets/search/webhooks/{webhook_id} | Create Stream Link |
| DELETE | /2/tweets/{id} | Delete Post |
| GET | /2/tweets/{id} | Get Post by ID |
| GET | /2/tweets/{id}/liking_users | Get Liking Users |
| GET | /2/tweets/{id}/quote_tweets | Get Quoted Posts |
| GET | /2/tweets/{id}/retweeted_by | Get Reposted By |
| GET | /2/tweets/{id}/retweets | Get Reposts |
| PUT | /2/tweets/{tweet_id}/hidden | Hide Reply |
| GET | /2/usage/credits | Get Usage Credits |
| GET | /2/usage/tweets | Get Usage |
| GET | /2/users | Get Users by IDs |
| GET | /2/users/by | Get Users by Usernames |
| GET | /2/users/by/username/{username} | Get User by Username |
| GET | /2/users/compliance/stream | Stream Users Compliance Data |
| GET | /2/users/me | Get My User |
| GET | /2/users/me/followers | Get the Authenticated User's Followers |
| GET | /2/users/me/following | Get the Users the Authenticated User Follows |
| GET | /2/users/personalized_trends | Get Personalized Trends |
| GET | /2/users/public_keys | Get Public Keys for Multiple Users |
| GET | /2/users/reposts_of_me | Get Reposts of Me |
| GET | /2/users/search | Search Users |
| GET | /2/users/{id} | Get User by ID |
| GET | /2/users/{id}/affiliates | Get Affiliates |
| GET | /2/users/{id}/blocking | Get Blocked Users |
| POST | /2/users/{id}/blocking | Block User |
| GET | /2/users/{id}/bookmarks | Get Bookmarks |
| POST | /2/users/{id}/bookmarks | Create Bookmark |
| GET | /2/users/{id}/bookmarks/folders | Get Bookmark Folders |
| POST | /2/users/{id}/bookmarks/folders | Create Bookmark Folder |
| GET | /2/users/{id}/bookmarks/folders/{folder_id} | Get Bookmarks by Folder ID |
| DELETE | /2/users/{id}/bookmarks/{tweet_id} | Delete Bookmark |
| GET | /2/users/{id}/broadcasts | List a User's Broadcasts |
| POST | /2/users/{id}/broadcasts | Create a Broadcast on a User's Source |
| DELETE | /2/users/{id}/broadcasts/{broadcast_id} | Delete a User's Broadcast |
| GET | /2/users/{id}/broadcasts/{broadcast_id} | Get a User's Broadcast |
| PUT | /2/users/{id}/broadcasts/{broadcast_id}/state | Publish or End a User's Broadcast |
| POST | /2/users/{id}/dm/block | Block DMs |
| POST | /2/users/{id}/dm/unblock | Unblock DMs |
| GET | /2/users/{id}/followed_lists | Get Followed Lists |
| POST | /2/users/{id}/followed_lists | Follow List |
| DELETE | /2/users/{id}/followed_lists/{list_id} | Unfollow List |
| GET | /2/users/{id}/followers | Get Followers |
| GET | /2/users/{id}/following | Get Following |
| POST | /2/users/{id}/following | Follow User |
| GET | /2/users/{id}/liked_tweets | Get Liked Posts |
| POST | /2/users/{id}/likes | Like Post |
| DELETE | /2/users/{id}/likes/{tweet_id} | Unlike Post |
| GET | /2/users/{id}/list_memberships | Get List Memberships |
| GET | /2/users/{id}/mentions | Get Mentions |
| GET | /2/users/{id}/muting | Get Muting |
| POST | /2/users/{id}/muting | Mute User |
| GET | /2/users/{id}/owned_lists | Get Owned Lists |
| GET | /2/users/{id}/pinned_lists | Get Pinned Lists |
| POST | /2/users/{id}/pinned_lists | Pin List |
| DELETE | /2/users/{id}/pinned_lists/{list_id} | Unpin List |
| GET | /2/users/{id}/public_keys | Get User Public Keys |
| POST | /2/users/{id}/public_keys | Add Public Key |
| POST | /2/users/{id}/retweets | Repost Post |
| DELETE | /2/users/{id}/retweets/{source_tweet_id} | Unrepost Post |
| GET | /2/users/{id}/sources | List a User's Stream Sources |
| POST | /2/users/{id}/sources | Create a Stream Source for a User |
| DELETE | /2/users/{id}/sources/{source_id} | Delete a User's Stream Source |
| GET | /2/users/{id}/sources/{source_id} | Get a User's Stream Source |
| PUT | /2/users/{id}/sources/{source_id} | Rename a User's Stream Source |
| GET | /2/users/{id}/timelines/reverse_chronological | Get Timeline |
| GET | /2/users/{id}/tweets | Get Posts |
| DELETE | /2/users/{source_user_id}/blocking/{target_user_id} | Unblock User |
| DELETE | /2/users/{source_user_id}/following/{target_user_id} | Unfollow User |
| DELETE | /2/users/{source_user_id}/muting/{target_user_id} | Unmute User |
| GET | /2/webhooks | Get Webhook |
| POST | /2/webhooks | Create Webhook |
| POST | /2/webhooks/replay | Create Replay Job for Webhook |
| DELETE | /2/webhooks/{webhook_id} | Delete Webhook |
| PUT | /2/webhooks/{webhook_id} | Validate Webhook |

## Common Questions

Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "List all account?" -> GET /2/account
- "Create a account?" -> POST /2/account
- "List all count?" -> GET /2/account_activity/subscriptions/count
- "List all all?" -> GET /2/account_activity/webhooks/{webhook_id}/subscriptions/all
- "Create a all?" -> POST /2/account_activity/webhooks/{webhook_id}/subscriptions/all
- "List all list?" -> GET /2/account_activity/webhooks/{webhook_id}/subscriptions/all/list
- "List all stream?" -> GET /2/activity/stream
- "List all subscriptions?" -> GET /2/activity/subscriptions
- "Create a subscription?" -> POST /2/activity/subscriptions
- "Delete a subscription?" -> DELETE /2/activity/subscriptions/{subscription_id}
- "Update a subscription?" -> PUT /2/activity/subscriptions/{subscription_id}
- "Create a draft?" -> POST /2/articles/draft
- "Create a publish?" -> POST /2/articles/{article_id}/publish
- "List all bots?" -> GET /2/bots
- "Create a bot?" -> POST /2/bots
- "Delete a bot?" -> DELETE /2/bots/{id}
- "Update a bot?" -> PUT /2/bots/{id}
- "Create a token?" -> POST /2/bots/{id}/token
- "List all broadcasts?" -> GET /2/broadcasts
- "Create a broadcast?" -> POST /2/broadcasts
- "List all categories?" -> GET /2/broadcasts/categories
- "List all moderators?" -> GET /2/broadcasts/chat/moderators
- "Create a moderator?" -> POST /2/broadcasts/chat/moderators
- "Delete a moderator?" -> DELETE /2/broadcasts/chat/moderators/{user_id}
- "List all mutes?" -> GET /2/broadcasts/chat/mutes
- "Create a mute?" -> POST /2/broadcasts/chat/mutes
- "Delete a mute?" -> DELETE /2/broadcasts/chat/mutes/{user_id}
- "List all scheduled?" -> GET /2/broadcasts/scheduled
- "Create a scheduled?" -> POST /2/broadcasts/scheduled
- "Delete a scheduled?" -> DELETE /2/broadcasts/scheduled/{id}
- "Get scheduled details?" -> GET /2/broadcasts/scheduled/{id}
- "Update a scheduled?" -> PUT /2/broadcasts/scheduled/{id}
- "Create a live?" -> POST /2/broadcasts/scheduled/{id}/live
- "Delete a broadcast?" -> DELETE /2/broadcasts/{id}
- "Get broadcast details?" -> GET /2/broadcasts/{id}
- "List all chat?" -> GET /2/broadcasts/{id}/chat
- "Create a chat?" -> POST /2/broadcasts/{id}/chat
- "Create a mute?" -> POST /2/broadcasts/{id}/chat/mutes
- "Delete a mute?" -> DELETE /2/broadcasts/{id}/chat/mutes/{user_id}
- "Delete a chat?" -> DELETE /2/broadcasts/{id}/chat/{message_id}
- "Create a call?" -> POST /2/calls
- "List all scheduled?" -> GET /2/calls/scheduled
- "Create a scheduled?" -> POST /2/calls/scheduled
- "Delete a scheduled?" -> DELETE /2/calls/scheduled/{id}
- "Get scheduled details?" -> GET /2/calls/scheduled/{id}
- "Update a scheduled?" -> PUT /2/calls/scheduled/{id}
- "Create a rsvp?" -> POST /2/calls/scheduled/{id}/rsvp
- "Get call details?" -> GET /2/calls/{id}
- "Create a join?" -> POST /2/calls/{id}/join
- "Create a leave?" -> POST /2/calls/{id}/leave
- "List all conversations?" -> GET /2/chat/conversations
- "Create a group?" -> POST /2/chat/conversations/group
- "Create a initialize?" -> POST /2/chat/conversations/group/initialize
- "Delete a conversation?" -> DELETE /2/chat/conversations/{id}
- "Get conversation details?" -> GET /2/chat/conversations/{id}
- "Update a conversation?" -> PUT /2/chat/conversations/{id}
- "List all admin_requests?" -> GET /2/chat/conversations/{id}/admin_requests
- "Create a admin_request?" -> POST /2/chat/conversations/{id}/admin_requests
- "Create a approve?" -> POST /2/chat/conversations/{id}/admin_requests/{user_id}/approve
- "Create a reject?" -> POST /2/chat/conversations/{id}/admin_requests/{user_id}/reject
- "Create a admin?" -> POST /2/chat/conversations/{id}/admins
- "Create a remove?" -> POST /2/chat/conversations/{id}/admins/remove
- "Create a archive?" -> POST /2/chat/conversations/{id}/archive
- "List all events?" -> GET /2/chat/conversations/{id}/events
- "Create a invite?" -> POST /2/chat/conversations/{id}/invite
- "Get invite details?" -> GET /2/chat/conversations/{id}/invites/{token}
- "Create a join_request?" -> POST /2/chat/conversations/{id}/join_requests
- "Create a reject?" -> POST /2/chat/conversations/{id}/join_requests/reject
- "Create a key?" -> POST /2/chat/conversations/{id}/keys
- "Create a member?" -> POST /2/chat/conversations/{id}/members
- "Create a remove?" -> POST /2/chat/conversations/{id}/members/remove
- "Create a message?" -> POST /2/chat/conversations/{id}/messages
- "Create a delete?" -> POST /2/chat/conversations/{id}/messages/delete
- "Create a mute?" -> POST /2/chat/conversations/{id}/mute
- "List all pinned_messages?" -> GET /2/chat/conversations/{id}/pinned_messages
- "Create a read?" -> POST /2/chat/conversations/{id}/read
- "Create a typing?" -> POST /2/chat/conversations/{id}/typing
- "Create a unread?" -> POST /2/chat/conversations/{id}/unread
- "Create a initialize?" -> POST /2/chat/media/upload/initialize
- "Create a append?" -> POST /2/chat/media/upload/{id}/append
- "Create a finalize?" -> POST /2/chat/media/upload/{id}/finalize
- "Get media details?" -> GET /2/chat/media/{id}/{media_hash_key}
- "List all message_requests?" -> GET /2/chat/message_requests
- "Get message_request details?" -> GET /2/chat/message_requests/{id}
- "Create a accept?" -> POST /2/chat/message_requests/{id}/accept
- "List all settings?" -> GET /2/chat/settings
- "Search search?" -> GET /2/communities/search
- "Get community details?" -> GET /2/communities/{id}
- "List all jobs?" -> GET /2/compliance/jobs
- "Create a job?" -> POST /2/compliance/jobs
- "Delete a job?" -> DELETE /2/compliance/jobs/{id}
- "Get job details?" -> GET /2/compliance/jobs/{id}
- "List all download?" -> GET /2/compliance/jobs/{id}/download
- "List all connections?" -> GET /2/connections
- "Delete a connection?" -> DELETE /2/connections/{endpoint_id}
- "Create a dm_conversation?" -> POST /2/dm_conversations
- "Get media details?" -> GET /2/dm_conversations/media/{dm_id}/{media_id}/{resource_id}
- "List all dm_events?" -> GET /2/dm_conversations/with/{participant_id}/dm_events
- "Create a message?" -> POST /2/dm_conversations/with/{participant_id}/messages
- "Create a message?" -> POST /2/dm_conversations/{dm_conversation_id}/messages
- "List all dm_events?" -> GET /2/dm_conversations/{id}/dm_events
- "List all dm_events?" -> GET /2/dm_events
- "Delete a dm_event?" -> DELETE /2/dm_events/{event_id}
- "Get dm_event details?" -> GET /2/dm_events/{event_id}
- "List all stream?" -> GET /2/likes/compliance/stream
- "List all stream?" -> GET /2/likes/firehose/stream
- "List all stream?" -> GET /2/likes/sample10/stream
- "Create a list?" -> POST /2/lists
- "Delete a list?" -> DELETE /2/lists/{id}
- "Get list details?" -> GET /2/lists/{id}
- "Update a list?" -> PUT /2/lists/{id}
- "List all followers?" -> GET /2/lists/{id}/followers
- "List all members?" -> GET /2/lists/{id}/members
- "Create a member?" -> POST /2/lists/{id}/members
- "Delete a member?" -> DELETE /2/lists/{id}/members/{user_id}
- "List all tweets?" -> GET /2/lists/{id}/tweets
- "List all media?" -> GET /2/media
- "List all analytics?" -> GET /2/media/analytics
- "Create a metadata?" -> POST /2/media/metadata
- "Create a subtitle?" -> POST /2/media/subtitles
- "List all upload?" -> GET /2/media/upload
- "Create a upload?" -> POST /2/media/upload
- "Create a initialize?" -> POST /2/media/upload/initialize
- "Create a append?" -> POST /2/media/upload/{id}/append
- "Create a finalize?" -> POST /2/media/upload/{id}/finalize
- "Get media details?" -> GET /2/media/{media_key}
- "Search search?" -> GET /2/news/search
- "Get new details?" -> GET /2/news/{id}
- "Create a note?" -> POST /2/notes
- "Create a evaluate?" -> POST /2/notes/evaluate
- "List all notes_written?" -> GET /2/notes/search/notes_written
- "List all posts_eligible_for_notes?" -> GET /2/notes/search/posts_eligible_for_notes
- "Delete a note?" -> DELETE /2/notes/{id}
- "List all openapi.json?" -> GET /2/openapi.json
- "List all region?" -> GET /2/region
- "List all sources?" -> GET /2/sources
- "Create a source?" -> POST /2/sources
- "Delete a source?" -> DELETE /2/sources/{id}
- "Get source details?" -> GET /2/sources/{id}
- "Update a source?" -> PUT /2/sources/{id}
- "List all stream_key?" -> GET /2/sources/{id}/stream_key
- "List all spaces?" -> GET /2/spaces
- "List all creator_ids?" -> GET /2/spaces/by/creator_ids
- "Search search?" -> GET /2/spaces/search
- "Get space details?" -> GET /2/spaces/{id}
- "List all buyers?" -> GET /2/spaces/{id}/buyers
- "List all tweets?" -> GET /2/spaces/{id}/tweets
- "Get woeid details?" -> GET /2/trends/by/woeid/{woeid}
- "List all tweets?" -> GET /2/tweets
- "Create a tweet?" -> POST /2/tweets
- "List all analytics?" -> GET /2/tweets/analytics
- "List all stream?" -> GET /2/tweets/compliance/stream
- "Search all?" -> GET /2/tweets/counts/all
- "Search recent?" -> GET /2/tweets/counts/recent
- "List all stream?" -> GET /2/tweets/firehose/stream
- "List all en?" -> GET /2/tweets/firehose/stream/lang/en
- "List all ja?" -> GET /2/tweets/firehose/stream/lang/ja
- "List all ko?" -> GET /2/tweets/firehose/stream/lang/ko
- "List all pt?" -> GET /2/tweets/firehose/stream/lang/pt
- "List all stream?" -> GET /2/tweets/label/stream
- "List all stream?" -> GET /2/tweets/sample/stream
- "List all stream?" -> GET /2/tweets/sample10/stream
- "Search all?" -> GET /2/tweets/search/all
- "Search recent?" -> GET /2/tweets/search/recent
- "List all stream?" -> GET /2/tweets/search/stream
- "List all rules?" -> GET /2/tweets/search/stream/rules
- "Create a rule?" -> POST /2/tweets/search/stream/rules
- "List all counts?" -> GET /2/tweets/search/stream/rules/counts
- "List all webhooks?" -> GET /2/tweets/search/webhooks
- "Delete a webhook?" -> DELETE /2/tweets/search/webhooks/{webhook_id}
- "Delete a tweet?" -> DELETE /2/tweets/{id}
- "Get tweet details?" -> GET /2/tweets/{id}
- "List all liking_users?" -> GET /2/tweets/{id}/liking_users
- "List all quote_tweets?" -> GET /2/tweets/{id}/quote_tweets
- "List all retweeted_by?" -> GET /2/tweets/{id}/retweeted_by
- "List all retweets?" -> GET /2/tweets/{id}/retweets
- "List all credits?" -> GET /2/usage/credits
- "List all tweets?" -> GET /2/usage/tweets
- "List all users?" -> GET /2/users
- "List all by?" -> GET /2/users/by
- "Get username details?" -> GET /2/users/by/username/{username}
- "List all stream?" -> GET /2/users/compliance/stream
- "List all me?" -> GET /2/users/me
- "List all followers?" -> GET /2/users/me/followers
- "List all following?" -> GET /2/users/me/following
- "List all personalized_trends?" -> GET /2/users/personalized_trends
- "List all public_keys?" -> GET /2/users/public_keys
- "List all reposts_of_me?" -> GET /2/users/reposts_of_me
- "Search search?" -> GET /2/users/search
- "Get user details?" -> GET /2/users/{id}
- "List all affiliates?" -> GET /2/users/{id}/affiliates
- "List all blocking?" -> GET /2/users/{id}/blocking
- "Create a blocking?" -> POST /2/users/{id}/blocking
- "List all bookmarks?" -> GET /2/users/{id}/bookmarks
- "Create a bookmark?" -> POST /2/users/{id}/bookmarks
- "List all folders?" -> GET /2/users/{id}/bookmarks/folders
- "Create a folder?" -> POST /2/users/{id}/bookmarks/folders
- "Get folder details?" -> GET /2/users/{id}/bookmarks/folders/{folder_id}
- "Delete a bookmark?" -> DELETE /2/users/{id}/bookmarks/{tweet_id}
- "List all broadcasts?" -> GET /2/users/{id}/broadcasts
- "Create a broadcast?" -> POST /2/users/{id}/broadcasts
- "Delete a broadcast?" -> DELETE /2/users/{id}/broadcasts/{broadcast_id}
- "Get broadcast details?" -> GET /2/users/{id}/broadcasts/{broadcast_id}
- "Create a block?" -> POST /2/users/{id}/dm/block
- "Create a unblock?" -> POST /2/users/{id}/dm/unblock
- "List all followed_lists?" -> GET /2/users/{id}/followed_lists
- "Create a followed_list?" -> POST /2/users/{id}/followed_lists
- "Delete a followed_list?" -> DELETE /2/users/{id}/followed_lists/{list_id}
- "List all followers?" -> GET /2/users/{id}/followers
- "List all following?" -> GET /2/users/{id}/following
- "Create a following?" -> POST /2/users/{id}/following
- "List all liked_tweets?" -> GET /2/users/{id}/liked_tweets
- "Create a like?" -> POST /2/users/{id}/likes
- "Delete a like?" -> DELETE /2/users/{id}/likes/{tweet_id}
- "List all list_memberships?" -> GET /2/users/{id}/list_memberships
- "List all mentions?" -> GET /2/users/{id}/mentions
- "List all muting?" -> GET /2/users/{id}/muting
- "Create a muting?" -> POST /2/users/{id}/muting
- "List all owned_lists?" -> GET /2/users/{id}/owned_lists
- "List all pinned_lists?" -> GET /2/users/{id}/pinned_lists
- "Create a pinned_list?" -> POST /2/users/{id}/pinned_lists
- "Delete a pinned_list?" -> DELETE /2/users/{id}/pinned_lists/{list_id}
- "List all public_keys?" -> GET /2/users/{id}/public_keys
- "Create a public_key?" -> POST /2/users/{id}/public_keys
- "Create a retweet?" -> POST /2/users/{id}/retweets
- "Delete a retweet?" -> DELETE /2/users/{id}/retweets/{source_tweet_id}
- "List all sources?" -> GET /2/users/{id}/sources
- "Create a source?" -> POST /2/users/{id}/sources
- "Delete a source?" -> DELETE /2/users/{id}/sources/{source_id}
- "Get source details?" -> GET /2/users/{id}/sources/{source_id}
- "Update a source?" -> PUT /2/users/{id}/sources/{source_id}
- "List all reverse_chronological?" -> GET /2/users/{id}/timelines/reverse_chronological
- "List all tweets?" -> GET /2/users/{id}/tweets
- "Delete a blocking?" -> DELETE /2/users/{source_user_id}/blocking/{target_user_id}
- "Delete a following?" -> DELETE /2/users/{source_user_id}/following/{target_user_id}
- "Delete a muting?" -> DELETE /2/users/{source_user_id}/muting/{target_user_id}
- "List all webhooks?" -> GET /2/webhooks
- "Create a webhook?" -> POST /2/webhooks
- "Create a replay?" -> POST /2/webhooks/replay
- "Delete a webhook?" -> DELETE /2/webhooks/{webhook_id}
- "Update a webhook?" -> PUT /2/webhooks/{webhook_id}
- "How to authenticate?" -> See Auth section

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints typically return the created/updated object

## CLI

```bash
# Update this spec to the latest version
npx @lap-platform/lapsh get x-api-v2 -o references/api-spec.lap

# Search for related APIs
npx @lap-platform/lapsh search x-api-v2
```

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
