Update an existing webhook registration by event topic

put

API to update an existing webhook registration by event topic

Authorizations
Path parameters
businessIdstringRequired
webhookIdstringRequired
Body
addressstringOptional
Responses
200
A successful response.
application/json
put
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-*"
      }
    ]
  }
}
{
  "id": "text"
}

Last updated