Stream of X Activities
curl --request GET \
--url https://api.x.com/2/activity/stream \
--header 'Authorization: Bearer <token>'{
"data": {
"event_type": "<string>",
"event_uuid": "1146654567674912769",
"filter": {
"direction": "inbound",
"keyword": "The President",
"user_id": "2244994945"
},
"payload": {
"after": "<string>",
"before": "<string>"
},
"tag": "<string>"
},
"errors": [
{
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"status": 123
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.x.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The number of minutes of backfill requested.
0 <= x <= 5YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Post labels will be provided.
YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp from which the Post labels will be provided.
The request has succeeded.
An activity event or error that can be returned by the x activity streaming API.
Show child attributes
1An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).
Show child attributes
curl --request GET \
--url https://api.x.com/2/activity/stream \
--header 'Authorization: Bearer <token>'{
"data": {
"event_type": "<string>",
"event_uuid": "1146654567674912769",
"filter": {
"direction": "inbound",
"keyword": "The President",
"user_id": "2244994945"
},
"payload": {
"after": "<string>",
"before": "<string>"
},
"tag": "<string>"
},
"errors": [
{
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"status": 123
}
]
}