Passer au contenu principal
GET
/
2
/
account_activity
/
subscriptions
/
count
Récupérer le nombre d’abonnements
curl --request GET \
  --url https://api.x.com/2/account_activity/subscriptions/count \
  --header 'Authorization: Bearer <token>'
{
  "errors": [
    {
      "title": "<string>",
      "type": "<string>",
      "detail": "<string>",
      "status": 123
    }
  ]
}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Réponse

La requête a réussi.

data
object

Nombre d’abonnements actifs sur l’ensemble des webhooks

errors
object[]
Minimum array length: 1

Un objet HTTP Problem Details, tel que défini dans la RFC IETF 7807 (https://tools.ietf.org/html/rfc7807).