List outbound webhook endpoints
The addresses Wardn posts its events to, each with the events it takes and how its newest finished delivery went, and the catalogue of events an endpoint can take. An endpoint's signing secret is never listed; `maskedSecret` shows only its last four characters. Needs `integration:manage`.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
The endpoints, by name.
application/json- response
items*array<>events*array<>The events an endpoint can take, in the order they are shown.
curl -X GET 'https://wardn.example.com/api/v1/outbound-webhooks'{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "deploy-events", "url": "https://hooks.example.com/wardn/deploys", "events": [ "string" ], "paused": true, "maskedSecret": "whsec_••••a91f", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "lastDelivery": { "status": "pending", "at": "2019-08-24T14:15:22Z", "code": 0 } } ], "events": [ { "type": "release.started", "description": "string" } ]}Read PagerDuty now POST
Reads the account's incidents and the mapped schedules now instead of at the next run, and answers how the integration stands. A read that fails is not an error of this request: it is recorded in `syncError` and makes PagerDuty `stale`. Needs `integration:manage`.
Add an outbound webhook endpoint POST
Adds an address and the events it takes, and makes the secret every post to it is signed with. The secret is returned once, in `secret`, and cannot be read again; rotate it to get a new one. The address must be `https` and must not resolve to loopback, link-local or cloud metadata addresses (nor pri