Integrations
Preview

Get an outbound webhook endpoint

One endpoint with its events and how its newest finished delivery went. Needs `integration:manage`.

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

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

endpointId*string
Formatuuid

Response Body

The endpoint.

application/json
  1. response
id*string
Formatuuid
name*string
url*string
Formaturi
events*array<string>

The event types the endpoint takes.

paused*boolean
maskedSecret*string

The signing secret with all but its last four characters hidden.

createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
lastDelivery?|null
Example Request
curl -X GET 'https://wardn.example.com/api/v1/outbound-webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "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  }}