post https://example.com/v1/businesses//create/webhooks
API to create a new webhook registration by event topic
Currently, ONLY WHATSAPP webhook events are supported
Register your endpoint to receive Connectly webhook events
You can provide your endpoint to receive Connectly webhook events.
When creating an endpoint you need to provide:
- your endpoint address
- webhook topic you are interested to receive events from
You can only register one endpoint address per each webhook topic.
Available topics
Topic | Description |
---|---|
messages | Subscribes you to receive WhatsApp messages from your clients {"timestamp":"1640203838", "sender":{"id":"+16044441111", "channelType":"whatsapp"}, "recipient":{"id":"+16041112222", "channelType":"whatsapp"}, "message":{"text":"hello"}} |
delivery_status | Subscribes you to receive WhatsApp delivery status updates. These events tell you the transmission status of your message: - delivered - read - delivery_failure |