Last updated 3 years ago
API to update an existing webhook registration by event topic
to extend with other dimensions of the webhook topics as we go, i.e. channel_type, fields, etc.
PUT /v1/businesses/{businessId}/update/webhooks/{webhookId} HTTP/1.1 Host: X-API-Key: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 220 { "address": "text", "configuration": { "echo": true, "channelTypes": [ "sms" ], "webengageConfiguration": { "webengageToken": "text", "webengageWebhookUrl": "text" }, "filters": [ { "field": "campaign_name", "expression": "test-campaign-*" } ] } }
A successful response.
{ "id": "text" }