Saltar al contenido principal
GET
/
2
/
account_activity
/
subscriptions
/
count
Obtener el número de suscripciones
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
    }
  ]
}

Autorizaciones

Authorization
string
header
requerido

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

Respuesta

La solicitud se completó correctamente.

data
object

El número de suscripciones activas en todos los webhooks

errors
object[]
Minimum array length: 1

Un objeto HTTP Problem Details, tal como se define en el IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).