Skip to main content
GET
/
2
/
webhooks
Get webhook
curl --request GET \
  --url https://api.x.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

Query Parameters

webhook_config.fields
enum<string>[]
Minimum length: 1
Example:

Response

data
object[]
Minimum length: 1
errors
object[]
Minimum length: 1
meta
object