Skip to main content
GET
Get Chat Conversation Events

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.read
View all posts you can see, including those from protected accounts.
users.read
View any account you can see, including protected accounts.
dm.read
Read all your Direct Messages.

Path Parameters

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

Query Parameters

max_results
integer<int32>
default:10
Required range: 1 <= x <= 100
pagination_token
string
chat_message_event.fields
enum<string>[]

A comma separated list of ChatMessageEvent fields to display. The fields available for a ChatMessageEvent object.

Minimum array length: 1
Available options:
conversation_id,
conversation_token,
created_at,
encoded_event,
id,
is_trusted,
message_event_signature,
previous_id,
sender_id

Response

The request has succeeded.

data
object[]
errors
object[]
meta
object