List webhook destinations
GET
/webhooks
const url = 'https://your-server.example/api/webhooks';const options = {method: 'GET', headers: {cookie: 'session=<session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-server.example/api/webhooks \ --cookie session=<session>Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Webhooks.
Media typeapplication/json
Array<object>
object
id
integer format: int64
name
string
url
string format: uri
kind
Generic, slack, or discord
string
secret
string
enabled
boolean
Example generated
[ { "id": 1, "name": "example", "url": "https://example.com", "kind": "example", "secret": "example", "enabled": true }]