Saltar al contenido principal
GET
/
2
/
account_activity
/
webhooks
/
{webhook_id}
/
subscriptions
/
all
/
list
Obtener suscripciones
curl --request GET \
  --url https://api.x.com/2/account_activity/webhooks/{webhook_id}/subscriptions/all/list \
  --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.

Parámetros de ruta

webhook_id
string
requerido

El id del webhook del que se obtendrán las suscripciones. El identificador único de esta configuración de webhook.

Pattern: ^[0-9]{1,19}$
Ejemplo:

"1146654567674912769"

Respuesta

La solicitud se ha completado correctamente.

data
object

La lista de suscripciones activas de un webhook específico

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).