curl --request POST \
--url https://api.cleartalk.ai/webhook/insert-webhook \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"webhook": "https://example.com/webhook"
}
'{
"message": "Webhook successfully updated"
}curl --request POST \
--url https://api.cleartalk.ai/webhook/insert-webhook \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"webhook": "https://example.com/webhook"
}
'{
"message": "Webhook successfully updated"
}