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

users.read

View any account you can see, including protected accounts.

dm.write

Send and manage your Direct Messages.

tweet.read

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

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
message_ttl_ms
string
required

How long new messages last, in milliseconds.

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

Signatures for this action, forwarded in the order they are sent.

Response

The request has succeeded.

data
object
errors
object[]