List all webhook endpoints

Changed on

List all webhook subscriptions

get/webhooks

Request

  • Base URL
    https://api.travelperk.com
  • URL
    https://api.travelperk.com/webhooks
  • Auth
    API key in header Authorization

Response

200

Example response

{
  "webhooks": [
    {
      "id": "b42820bb-24c9-48da-bded-487681e9c851",
      "name": "invoice webhook",
      "url": "https://mycompany/tkwebhook",
      "secret": "some secret",
      "status": "enabled",
      "events": [
        "invoice.issued"
      ],
      "successfully_sent": 2
    }
  ]
}

Changes