Webhook API
Messages
curl --request POST \
--url https://api.connectly.ai/v1/businesses/<business_id>/create/webhooks \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <YOUR_KEY_HERE>' \
--data '
{
"topic":"messages",
"address":"https://example.com/webhook"
}]// Headers:
{
"content-length": "154",
"x-connectly-hmac-sha256": "OS/QJB97O/sOj3Ugh4vUJ32EE2++vWq9o51ajIJZwuo=",
"user-agent": "go-resty/2.6.0 (https://github.com/go-resty/resty)",
"content-type": "text/plain; charset=utf-8",
"accept-encoding": "gzip"
}
// Body
{
"timestamp": "1639083206",
"sender": {
"id": "+16315555500",
"channelType": "whatsapp",
"name": "Vasi from Connectly"
},
"recipient": {
"id": "+16044441234",
"channelType": "whatsapp",
"name": "connectlyai"
},
"message": {
"text": "TEST 11"
},
"attachments": [],
"location": null
}Delivery Status
Last updated