Skip to main content
GET
/
2
/
account_activity
/
subscriptions
/
count
Get subscription count
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": [
    {
      "detail": "<string>",
      "status": 123,
      "title": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Response

data
object
errors
object[]
Minimum length: 1