channels
Update Channel
put/api/v1/channels/
Request body
Example request
{
"name": "twilio",
"supported_modes": "chat,voice",
"config": {
"account_sid": "AC123...",
"auth_token": "sometoken",
"provider_credentials": {
"api_key": "atk123",
"username": "test_username"
},
"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"
}
},
"id": 1
}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"
}
}
}