List endpoints

View .md

List your registered webhook endpoints.


List your registered webhook endpoints with their subscribed events.

GET/v1/webhooks
Dashboard JWT only

List your registered outgoing webhook endpoints.

const response = await fetch("https://api.dravo.dev/v1/webhooks", {  method: "GET",  headers: {  "Authorization": "Bearer " + process.env.DRAVO_API_KEY,}});const data = await response.json();console.log(data);
[  {    "id": "wh_1",    "url": "https://example.com/hook",    "events": [      "post.published"    ],    "active": true  }]