Integrations
Preview

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`.

GET
/outbound-webhooks
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

Response Body

The endpoints, by name.

application/json
  1. response
items*array<>
events*array<>

The events an endpoint can take, in the order they are shown.

Example Request
curl -X GET 'https://wardn.example.com/api/v1/outbound-webhooks'
Example Response
{  "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"    }  ]}