Skip to main content
POST
Request to join a Chat group

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
dm.write
Send and manage your Direct Messages.
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

id
string
required

The ID of the group conversation, starting with g.

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

Body

application/json
token
string
required

The 10-character invite token from the group's invite link.

Pattern: ^[A-Za-z0-9_-]{10}$
action_signatures
object[]

Cryptographic signatures for the action.

Response

The request has succeeded.

data
object
errors
object[]