GET
/
2
/
webhooks
curl --request GET \
  --url https://api.twitter.com/2/webhooks \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "id": "1146654567674912769",
      "url": "<string>",
      "valid": true
    }
  ],
  "errors": [
    {
      "detail": "<string>",
      "status": 123,
      "title": "<string>",
      "type": "<string>"
    }
  ],
  "meta": {
    "result_count": 123
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

webhook_config.fields
enum<string>[]

A comma separated list of WebhookConfig fields to display.

Minimum length: 1
Example:
["created_at", "id", "url", "valid"]

Response

200
application/json

The request has succeeded.

The response is of type object.