The Hide Replies endpoint lets you hide or unhide replies to Posts authored by the authenticated user. Hidden replies are still accessible but require an extra click to view.Documentation Index
Fetch the complete documentation index at: https://docs.x.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Hide reply
Hide a reply to your Post
Unhide reply
Unhide a previously hidden reply
Conversation control
Moderate discussions on your Posts
Endpoint
| Method | Endpoint | Description |
|---|---|---|
| PUT | /2/tweets/:tweet_id/hidden | Hide or unhide a reply |
How it works
Send a PUT request withhidden: true to hide a reply, or hidden: false to unhide it:
Example: Hide a reply
Example response
Getting started
Prerequisites
- An approved developer account
- A Project and App in the Developer Console
- User Access Tokens via OAuth 2.0 PKCE
Quickstart
Hide your first reply
API Reference
Full endpoint documentation