Retrieve a webhook endpoint
Changed onGet details for a specific webhook endpoint
get/webhooks/{id}
Request
- Base URLhttps://api.travelperk.com
- URLhttps://api.travelperk.com/webhooks/{id}
- AuthAPI key in header Authorization
Path parameters
idinteger required
Unique identifier for the webhook.
Response
200
Example response
{
"id": "b42820bb-24c9-48da-bded-487681e9c851",
"name": "invoice webhook",
"url": "https://mycompany.com/tk_webhook",
"secret": "some secret",
"status": "enabled",
"events": [
"invoice.issued"
],
"successfully_sent": 2
}Changes
- info
endpoint added
- info