GET
/
webhook
curl --request GET \
  --url https://api.pathstack.io/webhook \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "url": "<string>",
      "enabled": true,
      "id": "<string>",
      "error_count": 123,
      "last_error": "<string>",
      "last_error_at": "2023-11-07T05:31:56Z",
      "created_at": "<string>",
      "updated_at": "<string>",
      "filter": {
        "device_ids": [
          "<string>"
        ],
        "options": {
          "include_speed": true,
          "include_driver_id": true
        }
      }
    }
  ],
  "links": {
    "previous": "<string>",
    "current": "<string>",
    "next": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Headers

x-api-version
string
default:2024-03-26
Example:

"2024-03-26"

Query Parameters

enabled
boolean

Return only webhooks with a matching value for enabled

page
integer
default:0

Page number for pagination (zero-indexed)

Required range: x >= 0

Response

200
application/json
Successful Response
data
object[]
required

Successful response payload