{ "opencollection": "1.0.0", "info": { "name": "TravelPerk Cost Centers Webhooks API", "version": "1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "Create a webhook endpoint", "type": "http" }, "http": { "method": "POST", "url": "https://api.travelperk.com/webhooks", "headers": [ { "name": "Api-Version", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Subscribes to one or more events. The target URL of the webhook must be unique for the account." }, { "info": { "name": "Update a webhook endpoint", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.travelperk.com/webhooks/:id", "headers": [ { "name": "Api-Version", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the webhook endpoint. You may edit the url, the list of events, status, secret, or name. The target URL must be unique for the account; if it is not unique an HTTP 409 is returned." } ] } ], "bundled": true }