Enable a Chat Group Invite Link
Changed onTurns on the invite link for an encrypted Chat group conversation and returns the link details. The client builds the link and sends it as invite_url, in the form https://x.com/i/chat/group_join/<conversation_id>/<token>, where the token is exactly 10 letters, digits, '-' or '_'. invite_url is required when action_signatures is sent. To make the link expire, send validity_duration_msec or validity_expiry_timestamp_msec. With action_signatures, send validity_expiry_timestamp_msec, because the signed payload carries the expiry. The group name and avatar sent here are stored unencrypted and shown to anyone who opens the link.
Request
- Base URLhttps://api.x.com
- URLhttps://api.x.com/2/chat/conversations/{id}/invite
- Auth
- OAuth 2Authorization code: https://api.x.com/2/oauth2/authorizeToken URL: https://api.x.com/2/oauth2/token scopes: dm.write, tweet.read, users.read
- or HTTP oauth
Path parameters
The ID of the group conversation, starting with g.
Request body
Response
The request has succeeded.
Changes
- breaking
added to the response body
oneOflist for the response status - breaking
added to the
/response propertyoneOflist for the response status - info
added
https://api.x.com/2/problems/dm-bad-attachmenthttps://api.x.com/2/problems/dm-bad-ctahttps://api.x.com/2/problems/dm-bad-custom-profilehttps://api.x.com/2/problems/dm-bad-mediahttps://api.x.com/2/problems/dm-bad-quick-replyhttps://api.x.com/2/problems/dm-bad-urlhttps://api.x.com/2/problems/dm-conversation-name-too-longhttps://api.x.com/2/problems/dm-conversation-not-foundhttps://api.x.com/2/problems/dm-duplicatehttps://api.x.com/2/problems/dm-inactive-devicehttps://api.x.com/2/problems/dm-not-deliveredhttps://api.x.com/2/problems/dm-not-foundhttps://api.x.com/2/problems/dm-not-ownerhttps://api.x.com/2/problems/dm-participant-not-addedhttps://api.x.com/2/problems/dm-participant-not-foundhttps://api.x.com/2/problems/dm-participant-restrictedhttps://api.x.com/2/problems/dm-participant-unavailablehttps://api.x.com/2/problems/dm-rate-limitedhttps://api.x.com/2/problems/dm-recipient-blocks-senderhttps://api.x.com/2/problems/dm-recipient-cannot-receivehttps://api.x.com/2/problems/dm-recipient-encrypted-unavailablehttps://api.x.com/2/problems/dm-recipient-not-acceptinghttps://api.x.com/2/problems/dm-recipient-not-foundhttps://api.x.com/2/problems/dm-recipient-restricts-groupshttps://api.x.com/2/problems/dm-recipient-unavailablehttps://api.x.com/2/problems/dm-request-in-progresshttps://api.x.com/2/problems/dm-safety-limitedhttps://api.x.com/2/problems/dm-safety-rejectedhttps://api.x.com/2/problems/dm-sender-blocks-recipienthttps://api.x.com/2/problems/dm-sender-declined-dmshttps://api.x.com/2/problems/dm-sender-dms-closedhttps://api.x.com/2/problems/dm-sender-encrypted-unavailablehttps://api.x.com/2/problems/dm-sender-not-in-conversationhttps://api.x.com/2/problems/dm-sender-not-permittedhttps://api.x.com/2/problems/dm-sender-not-verifiedhttps://api.x.com/2/problems/dm-sender-phone-requiredhttps://api.x.com/2/problems/dm-sender-read-onlyhttps://api.x.com/2/problems/dm-sender-unavailablehttps://api.x.com/2/problems/dm-text-emptyhttps://api.x.com/2/problems/dm-text-too-longhttps://api.x.com/2/problems/dm-too-few-participantshttps://api.x.com/2/problems/dm-too-many-participantshttps://api.x.com/2/problems/dm-unsupported-messagemapping keys to the response discriminator for the response status - info
added
https://api.x.com/2/problems/dm-bad-attachmenthttps://api.x.com/2/problems/dm-bad-ctahttps://api.x.com/2/problems/dm-bad-custom-profilehttps://api.x.com/2/problems/dm-bad-mediahttps://api.x.com/2/problems/dm-bad-quick-replyhttps://api.x.com/2/problems/dm-bad-urlhttps://api.x.com/2/problems/dm-conversation-name-too-longhttps://api.x.com/2/problems/dm-conversation-not-foundhttps://api.x.com/2/problems/dm-duplicatehttps://api.x.com/2/problems/dm-inactive-devicehttps://api.x.com/2/problems/dm-not-deliveredhttps://api.x.com/2/problems/dm-not-foundhttps://api.x.com/2/problems/dm-not-ownerhttps://api.x.com/2/problems/dm-participant-not-addedhttps://api.x.com/2/problems/dm-participant-not-foundhttps://api.x.com/2/problems/dm-participant-restrictedhttps://api.x.com/2/problems/dm-participant-unavailablehttps://api.x.com/2/problems/dm-rate-limitedhttps://api.x.com/2/problems/dm-recipient-blocks-senderhttps://api.x.com/2/problems/dm-recipient-cannot-receivehttps://api.x.com/2/problems/dm-recipient-encrypted-unavailablehttps://api.x.com/2/problems/dm-recipient-not-acceptinghttps://api.x.com/2/problems/dm-recipient-not-foundhttps://api.x.com/2/problems/dm-recipient-restricts-groupshttps://api.x.com/2/problems/dm-recipient-unavailablehttps://api.x.com/2/problems/dm-request-in-progresshttps://api.x.com/2/problems/dm-safety-limitedhttps://api.x.com/2/problems/dm-safety-rejectedhttps://api.x.com/2/problems/dm-sender-blocks-recipienthttps://api.x.com/2/problems/dm-sender-declined-dmshttps://api.x.com/2/problems/dm-sender-dms-closedhttps://api.x.com/2/problems/dm-sender-encrypted-unavailablehttps://api.x.com/2/problems/dm-sender-not-in-conversationhttps://api.x.com/2/problems/dm-sender-not-permittedhttps://api.x.com/2/problems/dm-sender-not-verifiedhttps://api.x.com/2/problems/dm-sender-phone-requiredhttps://api.x.com/2/problems/dm-sender-read-onlyhttps://api.x.com/2/problems/dm-sender-unavailablehttps://api.x.com/2/problems/dm-text-emptyhttps://api.x.com/2/problems/dm-text-too-longhttps://api.x.com/2/problems/dm-too-few-participantshttps://api.x.com/2/problems/dm-too-many-participantshttps://api.x.com/2/problems/dm-unsupported-messagediscriminator mapping keys to the/response property for the response status
- breaking
- info
endpoint added
- info