Connectly Documentation
  • 👋Welcome to Connectly.ai
  • 🚀Quick Start
    • Prerequisites
    • Authentication
    • Send WhatsApp template message
    • Send WhatsApp session message
  • 📣Campaigns
    • Campaign Sendout
      • Send Campaigns
  • 🤖Sofia AI
    • How to use Sofia AI?
    • Sofia AI API
      • Reference
        • Core Concepts
        • sales_assistant_v2/invoke/v1
  • 📱Message API
    • Message Service API
      • MessageService
        • Send template message
        • Send session message
      • Error codes
    • Webhook API
      • WebhookService
        • Create a webhook registration by event topic
        • Update an existing webhook registration by event topic
        • Get webhook registrations for business
        • Delete a webhook registration for business
      • Webhook Payload
        • Delivery Status Error Codes
        • Payload Media Types
  • 🤖Business Management
    • Business Management API
      • Template Management
        • Create a template
        • Get templates
      • Quality Signals
  • 📱Integrations
    • Integrations
      • WebEngage Integration
      • Message your customers on Zendesk through Connectly
      • Message your customer on Intercom through Connectly
    • [Alpha] Moengage
      • MessageService
        • Send Campaign via API
  • 📊Analytics
    • Analytics
      • [Alpha] Campaign report
      • Reports API
        • Webhooks configuration
  • 👀FAQ
  • Migrating WhatsApp Accounts
  • How to use time delay?
Powered by GitBook
On this page
  1. Message API
  2. Webhook API
  3. WebhookService

Update an existing webhook registration by event topic

PreviousCreate a webhook registration by event topicNextGet webhook registrations for business

Last updated 3 years ago

📱
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
201
Successful response containing details of updated webhook subscription.
application/json
default
An unexpected error 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"
}