channels
Update Channel
Changed onput/api/v1/channels/
Request
- Base URLhttps://api.syllable.cloud
- URLhttps://api.syllable.cloud/api/v1/channels/
- AuthAPI key in header Syllable-API-Key
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"
}
],
"call_info_placement": "uri_parameters"
}
},
"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"
}
],
"call_info_placement": "uri_parameters"
}
},
"email": {
"sending_domain": "mail.example.com"
},
"credentials": {
"account_sid_last_four": "1234"
}
}
}Changes
- info
the
request property default valuetruewas added - info
the
response's property default valuetruewas added for the status
- info
- info
added the new optional request property
///// - info
added the optional property
//////to the response with the status
- info