[{
"destination_name": "ev-formi-bdcs",
"destination_type": "custom",
"destination_id": 53,
"agent_id":70,
"api_url": "https://case-workbench.preview.emergentagent.com/api/webhook/post-call-analysis",
"api_method": "POST",
"api_headers": {},
"api_body": {}
}]curl --location --request PUT 'https://staging-api.formi.co.in/v2/post_call/data/destinations' \
--header 'token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIyNiIsImp0aSI6IjhlNmY4MzlhZDQ5NjQ0YTU5YmE3ZjcxYzNhY2I0NjZkIiwidmVyIjoyLCJpYXQiOjE3NzYzNzU5MjcsImV4cCI6MTc3NjM4MzEyNywidHlwZSI6Ik9VVExFVCJ9.VCR0nrQOJK0PKXCyMyacLr0tDS5XnB2it2xsQTumtTw' \
--header 'Content-Type: application/json' \
--data '[{
"destination_name": "ev-formi-bdcs",
"destination_type": "custom",
"destination_id": 53,
"agent_id":70,
"api_url": "https://case-workbench.preview.emergentagent.com/api/webhook/post-call-analysis",
"api_method": "POST",
"api_headers": {},
"api_body": {}
}]'{
"message": "Destinations updated successfully"
}