cURL
curl --request POST \ --url https://api.x.com/2/account_activity/webhooks/{webhook_id}/subscriptions/all \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "data": { "subscribed": true }, "errors": [ { "detail": "<string>", "status": 123, "title": "<string>", "type": "<string>" } ] }
Creates an Account Activity subscription for the user and the given webhook.
Show child attributes
1