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

# X API v2
API version: 2.168

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

192 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 Account Activity Subscription Count |
| GET | /2/account_activity/webhooks/{webhook_id}/subscriptions/all | Validate Account Activity Subscription |
| POST | /2/account_activity/webhooks/{webhook_id}/subscriptions/all | Create subscription |
| GET | /2/account_activity/webhooks/{webhook_id}/subscriptions/all/list | Get Account Activity 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} | Deletes 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 |
| 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 |
| 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 |
| 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 |
| GET | /2/chat/conversations/{id} | Get Chat Conversation |
| GET | /2/chat/conversations/{id}/events | Get Chat Conversation Events |
| 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}/messages | Send Chat Message |
| POST | /2/chat/conversations/{id}/messages/delete | Delete Chat messages |
| POST | /2/chat/conversations/{id}/read | Mark Conversation as Read |
| POST | /2/chat/conversations/{id}/typing | Send Typing Indicator |
| 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/communities/search | Search Communities |
| GET | /2/communities/{id} | Get Communities 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 Direct Messages 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 Direct Messages by Conversation ID |
| GET | /2/dm_conversations/{id}/dm_events | Get Direct Messages Events by Conversation ID |
| GET | /2/dm_events | Get Direct Messages Events |
| DELETE | /2/dm_events/{event_id} | Delete DM event |
| GET | /2/dm_events/{event_id} | Get Direct Messages Events 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 Lists |
| DELETE | /2/lists/{id} | Delete List |
| GET | /2/lists/{id} | Get Lists by ID |
| PUT | /2/lists/{id} | Update List |
| GET | /2/lists/{id}/followers | Get Lists Followers |
| GET | /2/lists/{id}/members | Get Lists Members |
| POST | /2/lists/{id}/members | Add Lists Member |
| DELETE | /2/lists/{id}/members/{user_id} | Remove a List member |
| GET | /2/lists/{id}/tweets | Get Lists 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 Community Notes |
| POST | /2/notes/evaluate | Evaluate Community Notes |
| GET | /2/notes/search/notes_written | Search Community Notes Written |
| GET | /2/notes/search/posts_eligible_for_notes | Search Eligible Posts |
| DELETE | /2/notes/{id} | Delete a Community Note |
| GET | /2/openapi.json | Get OpenAPI Spec. |
| 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 Spaces 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 Posts |
| GET | /2/tweets/analytics | Get Posts Analytics |
| GET | /2/tweets/compliance/stream | Stream Posts compliance data |
| GET | /2/tweets/counts/all | Get Posts Counts All |
| GET | /2/tweets/counts/recent | Get Posts Counts Recent |
| 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 Posts All |
| GET | /2/tweets/search/recent | Search Posts Recent |
| GET | /2/tweets/search/stream | Stream filtered Posts |
| GET | /2/tweets/search/stream/rules | Get filtered-stream rules |
| POST | /2/tweets/search/stream/rules | Update stream rules |
| GET | /2/tweets/search/stream/rules/counts | Get 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 Posts |
| GET | /2/tweets/{id} | Get Posts by ID |
| GET | /2/tweets/{id}/liking_users | Get Posts Liking Users |
| GET | /2/tweets/{id}/quote_tweets | Get Posts Quoted Posts |
| GET | /2/tweets/{id}/retweeted_by | Get Posts Reposted by |
| GET | /2/tweets/{id}/retweets | Get Posts 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 Users by Username |
| GET | /2/users/compliance/stream | Stream Users compliance data |
| GET | /2/users/me | Get Users Me |
| GET | /2/users/personalized_trends | Get Trends Personalized Trends |
| GET | /2/users/public_keys | Get public keys |
| GET | /2/users/reposts_of_me | Get Users Reposts of Me |
| GET | /2/users/search | Search Users |
| GET | /2/users/{id} | Get Users by ID |
| GET | /2/users/{id}/affiliates | Get Users Affiliates |
| GET | /2/users/{id}/blocking | Get Users Blocking |
| POST | /2/users/{id}/blocking | Users ID Block |
| GET | /2/users/{id}/bookmarks | Get Users Bookmarks |
| POST | /2/users/{id}/bookmarks | Create Bookmark |
| GET | /2/users/{id}/bookmarks/folders | Get Users Bookmark Folders |
| POST | /2/users/{id}/bookmarks/folders | Create Bookmark Folder |
| GET | /2/users/{id}/bookmarks/folders/{folder_id} | Get Users Bookmarks by Folder ID |
| DELETE | /2/users/{id}/bookmarks/{tweet_id} | Delete Bookmark |
| POST | /2/users/{id}/dm/block | Block Users Dms |
| POST | /2/users/{id}/dm/unblock | Unblock Users Dms |
| GET | /2/users/{id}/followed_lists | Get Users Followed Lists |
| POST | /2/users/{id}/followed_lists | Follow List |
| DELETE | /2/users/{id}/followed_lists/{list_id} | Unfollow a List |
| GET | /2/users/{id}/followers | Get Users Followers |
| GET | /2/users/{id}/following | Get Users Following |
| POST | /2/users/{id}/following | Follow User |
| GET | /2/users/{id}/liked_tweets | Get Users 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 Users List Memberships |
| GET | /2/users/{id}/mentions | Get Users Mentions |
| GET | /2/users/{id}/muting | Get Users Muting |
| POST | /2/users/{id}/muting | Mute User |
| GET | /2/users/{id}/owned_lists | Get Users Owned Lists |
| GET | /2/users/{id}/pinned_lists | Get Users Pinned Lists |
| POST | /2/users/{id}/pinned_lists | Pin List |
| DELETE | /2/users/{id}/pinned_lists/{list_id} | Unpin a List |
| GET | /2/users/{id}/public_keys | Get 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}/timelines/reverse_chronological | Get Users Timeline |
| GET | /2/users/{id}/tweets | Get Users 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
- "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
- "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}
- "List all conversations?" -> GET /2/chat/conversations
- "Create a group?" -> POST /2/chat/conversations/group
- "Create a initialize?" -> POST /2/chat/conversations/group/initialize
- "Get conversation details?" -> GET /2/chat/conversations/{id}
- "List all events?" -> GET /2/chat/conversations/{id}/events
- "Create a key?" -> POST /2/chat/conversations/{id}/keys
- "Create a member?" -> POST /2/chat/conversations/{id}/members
- "Create a message?" -> POST /2/chat/conversations/{id}/messages
- "Create a delete?" -> POST /2/chat/conversations/{id}/messages/delete
- "Create a read?" -> POST /2/chat/conversations/{id}/read
- "Create a typing?" -> POST /2/chat/conversations/{id}/typing
- "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}
- "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 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 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}
- "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 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)
