{
"webhook_url": "https://yourdomain.com/webhook"
}
curl --location --request POST 'https://staging-api.formi.co.in/v2/agents/7/post-call/webhook_url' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"webhook_url": "https://yourdomain.com/webhook"
}'
{
"success": true,
"message": "Webhook URL updated",
"payload": {
"webhook_url": "https://yourdomain.com/webhook"
}
}