cURL
curl --request GET \ --url https://api.x.com/2/account_activity/subscriptions/count \ --header 'Authorization: Bearer <token>'
{ "data": { "account_name": "<string>", "provisioned_count": "<string>", "subscriptions_count_all": "<string>", "subscriptions_count_direct_messages": "<string>" }, "errors": [ { "title": "<string>", "type": "<string>", "detail": "<string>", "status": 123 } ] }
Retrieves a count of currently active Account Activity subscriptions.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The request has succeeded.
The count of active subscriptions across all webhooks
Show child attributes
The account name
The limit for subscriptions for this app
The number of active subscriptions across all webhooks
The number of active direct message subscriptions
1