List all webhook endpoints
Changed onList all webhook subscriptions
get/webhooks
Request
- Base URLhttps://api.travelperk.com
- URLhttps://api.travelperk.com/webhooks
- AuthAPI 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
- info
endpoint added
- info