curl --request GET \
--url https://api.x.com/2/activity/subscriptions \
--header 'Authorization: Bearer <token>'{
"data": [
{
"created_at": "2023-11-07T05:31:56Z",
"event_type": "<string>",
"filter": {
"keyword": "The President",
"user_id": "2244994945"
},
"subscription_id": "1146654567674912769",
"updated_at": "2023-11-07T05:31:56Z",
"tag": "<string>",
"webhook_id": "1146654567674912769"
}
],
"errors": [
{
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"status": 123
}
],
"meta": {
"total_subscriptions": 123
}
}Get a list of active subscriptions for XAA
curl --request GET \
--url https://api.x.com/2/activity/subscriptions \
--header 'Authorization: Bearer <token>'{
"data": [
{
"created_at": "2023-11-07T05:31:56Z",
"event_type": "<string>",
"filter": {
"keyword": "The President",
"user_id": "2244994945"
},
"subscription_id": "1146654567674912769",
"updated_at": "2023-11-07T05:31:56Z",
"tag": "<string>",
"webhook_id": "1146654567674912769"
}
],
"errors": [
{
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"status": 123
}
],
"meta": {
"total_subscriptions": 123
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The request has succeeded.
Show child attributes
An XAA subscription.
Show child attributes
A keyword to filter on.
1 - 150"The President"
Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
"2244994945"
The unique identifier of this subscription.
"1146654567674912769"
The unique identifier of this webhook config.
"1146654567674912769"