Get an outbound webhook endpoint
One endpoint with its events and how its newest finished delivery went. Needs `integration:manage`.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
endpointId*stringuuidThe endpoint.
application/json- response
id*stringuuidname*stringurl*stringurievents*array<string>The event types the endpoint takes.
paused*booleanmaskedSecret*stringThe signing secret with all but its last four characters hidden.
createdAt*stringdate-timeupdatedAt*stringdate-timelastDelivery?|nullcurl -X GET 'https://wardn.example.com/api/v1/outbound-webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "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 }}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
Change an outbound webhook endpoint PATCH
Changes only the fields sent: the name, the address, the events it takes, and whether it is paused. A paused endpoint is sent nothing, and events that happen meanwhile are dropped for it, not kept; deliveries already waiting are held until it is resumed. Needs `integration:manage`.