curl --request PUT \
--url https://api.example.com/v1/Applications/{application_sid} \
--header 'Content-Type: application/json' \
--data '
{
"account_sid": "",
"call_hook": {
"method": "POST",
"password": null,
"url": "https://9519e2c6b589.ngrok.io/dial-o-rama/collect",
"username": null
},
"call_status_hook": {
"method": "POST",
"password": null,
"url": "https://9519e2c6b589.ngrok.io/call-status",
"username": null
},
"messaging_hook": {
"method": "POST",
"password": null,
"url": "",
"username": null
},
"name": "dial-o-rama",
"speech_recognizer_language": "en-US",
"speech_recognizer_vendor": "google",
"speech_synthesis_language": "en-GB",
"speech_synthesis_vendor": "google",
"speech_synthesis_voice": "en-GB-Standard-A"
}
'