import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.channels.twilio.get_by_id(channel_id=627671)
# Handle response
print(res)
{
"name": "syllable-webchat",
"channel_service": "webchat",
"supported_modes": "chat,voice",
"is_system_channel": false,
"id": 123,
"config": {
"telephony": {
"overall_input_timeout": 20,
"pre_input_timeout": 1.2
}
}
}
import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.channels.twilio.get_by_id(channel_id=627671)
# Handle response
print(res)
{
"name": "syllable-webchat",
"channel_service": "webchat",
"supported_modes": "chat,voice",
"is_system_channel": false,
"id": 123,
"config": {
"telephony": {
"overall_input_timeout": 20,
"pre_input_timeout": 1.2
}
}
}
Successful Response
The response is of type object
.