Last updated 2 years ago
API to get a webhook registrations for business
A successful response.
const response = await fetch('/v1/businesses/{businessId}/webhooks', { method: 'GET', headers: {}, }); const data = await response.json();
{ "entity": { "businessId": "text", "webhooks": [ { "topic": "topic_unspecified", "address": "text", "id": "text", "configuration": { "echo": true, "channelTypes": [ "sms" ], "webengageConfiguration": { "webengageToken": "text", "webengageWebhookUrl": "text" }, "filters": [ { "field": "campaign_name", "expression": "test-campaign-*" } ] } } ] } }