Skip to main content
PUT
Hide reply

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

FlowAuthorization Code
Authorization URL
https://api.x.com/2/oauth2/authorize
Token URL
https://api.x.com/2/oauth2/token
Scopes3
tweet.moderate.write
Hide and unhide replies to your Posts.
tweet.read
View all Posts you can see, including those from protected accounts.
users.read
View any account you can see, including protected accounts.

Path Parameters

tweet_id
string
required

The ID of the reply that you want to hide or unhide. Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.

Pattern: ^[0-9]{1,19}$
Example:

"1346889436626259968"

Body

application/json
hidden
boolean
required

Response

The request has succeeded.

data
object