channels.twilio
Update Twilio Channel
put/api/v1/channels/twilio/
Request body
Example request
{
"id": 1,
"name": "syllable-webchat",
"config": {
"account_sid": "AC123...",
"auth_token": "sometoken"
}
}Response
Successful Response
Example response
{
"name": "syllable-webchat",
"supported_modes": "chat,voice",
"config": {
"telephony": {
"sip_configuration": {
"sip_endpoints": [
{
"host": "10.0.0.1",
"port": "5060",
"transport": "tcp"
},
{
"host": "pbx.example.com",
"port": "5071",
"transport": "tls"
}
]
}
},
"email": {
"sending_domain": "mail.example.com"
},
"credentials": {
"account_sid_last_four": "1234"
}
}
}