cURL
curl --request PUT \ --url https://api.x.com/2/activity/subscriptions/{subscription_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "tag": "<string>", "webhook_id": "1146654567674912769" }'
{ "data": { "subscription": { "created_at": "2023-11-07T05:31:56Z", "event_type": "<string>", "filter": { "keyword": "The President", "user_id": "2244994945" }, "subscription_id": "1146654567674912769", "tag": "<string>", "updated_at": "2023-11-07T05:31:56Z", "webhook_id": "1146654567674912769" }, "total_subscriptions": 123 } }
Updates a subscription for an X activity event
1 - 200
Show child attributes