Skip to main content
PUT
xurl

Authorizations

Authorization
string
header
required

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

Scopes

tweet.read

View all posts you can see, including those from protected accounts.

users.read

View any account you can see, including protected accounts.

dm.write

Send and manage your Direct Messages.

Path Parameters

id
string
required

The ID of the conversation: a group ID starting with g, the other user's ID for a 1:1 conversation, or both user IDs of a 1:1 conversation joined by a hyphen.

Pattern: ^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$

Body

application/json

At least one of blocking, detection is required.

blocking
boolean
required

Whether participants are prevented from taking screenshots.

blocking_action_signatures
object[]

Signatures for the screenshot blocking change, forwarded in the order they are sent.

detection
boolean

Whether participants are notified when someone takes a screenshot.

detection_action_signatures
object[]

Signatures for the screenshot detection change, forwarded in the order they are sent.

Response

The request has succeeded.

data
object
errors
object[]