Get Channels
/api/v1/channels/Authentication
Syllable-API-KeyrequiredSend Syllable-API-Key in the header.
Need a credential? Create or manage an API token in the Syllable Console.
Parameters
Query parameters
page
integer | null
query
optional
The page number from which to start (0-based)
0Minimum 0Example 0limit
integer
query
optional
The maximum number of items to return
25Minimum 0Example 25search_fields
enum<string>[]
query
optional
String names of fields to search. Correspond by index to search field values
[]Example nameItem schema
itemsenum<string>requiredNames of channel fields supported for filtering/sorting on list endpoint.
["id","name","name_exact","channel_service","supported_modes","config"]search_field_values
string[]
query
optional
Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
[]Example Some Object NameItem schema
itemsstringrequiredorder_by
enum<string> | null
query
optional
The field whose value should be used to order the results
["id","name","name_exact","channel_service","supported_modes","config"]Example nameorder_by_direction
enum<string> | null
query
optional
The direction in which to order the results
["asc","desc"]fields
enum<string>[] | null
query
optional
The fields to include in the response
[]Example []Item schema
itemsenum<string>requiredNames of channel fields supported for filtering/sorting on list endpoint.
["id","name","name_exact","channel_service","supported_modes","config"]start_datetime
string | null
query
optional
The start datetime for filtering results
2023-01-01T00:00:00Zend_datetime
string | null
query
optional
The end datetime for filtering results
2024-01-01T00:00:00ZResponses
200Successful Response
application/json
response
ListResponse_Channel_
required
5 fields
itemsChannel[]requiredList of items returned from the query
Item schema
itemsChannelrequired6 fields
namestringrequiredThe channel name
channel_serviceenum<string>requiredThe service that facilitates communication on the channel
["sip","twilio","email","webchat","africastalking","whatsapp"]supported_modesstring | nulloptionalThe comma-delimited list of supported modes for the channel, which defines the possible communication methods for channel targets linked to it.
is_system_channelbooleanoptionalWhether the channel is a built-in system channel (i.e., is not customizable)
trueidintegerrequiredThe channel ID
configChannelConfigView | nulloptionalConfiguration for the channel
3 options
telephonyTelephonyConfigurations | nulloptionalTelephony configurations to be applied to targets belonging to the channel. Only applies to voice supported channels.
11 options
pre_input_timeoutnumber | nulloptionalPre input silence threshold
0Maximum 10post_speech_input_timeoutnumber | nulloptionalPost speech silence timeout to determine input as ended.
0Maximum 10post_dtmf_input_timeoutnumber | nulloptionalPost dtmf silence timeout to determine input as ended.
0Maximum 10overall_input_timeoutnumber | nulloptionalTotal input timeout
0Maximum 300output_paddingnumber | nulloptionalNumber of seconds to start listening to user input before assistant speech ends
-5Maximum 5interruptibilitystring | nulloptionalInterruptibility setting for user input.Valid values: none, dtmf_only, speech_only, all
passive_speech_input_enabledboolean | nulloptionalWhether passive speech input is enabled (input while assistant is speaking)
passive_input_startnumber | nulloptionalWaiting time to start passive input (in seconds) after start of assistant speech
0Maximum 5async_enabledboolean | nulloptionalWhether asynchronous mode is enabled for the conversation
truetransfer_leg_voicemail_detection_enabledboolean | nulloptionalWhether transfer leg voicemail detection is enabled
sip_configurationSipConfiguration | nulloptionalSIP routing configuration applied when transferring calls on this channel
3 options
sip_transfer_modeenum<string> | nulloptionalHow to perform the SIP transfer, INVITE or REFER.
["refer","invite"]sip_endpointsSipEndpoint[] | nulloptionalList of SIP endpoints to attempt for the transfer.
Item schema
itemsSipEndpointrequiredA single SIP endpoint to attempt for a transfer.
3 fields
hoststringrequiredSIP endpoint host (IP address or hostname).
portstring | nulloptionalSIP endpoint port.
transportenum<string> | nulloptionalSIP transport protocol, e.g. tcp, tls or udp.
["tls","tcp","udp"]call_info_placementstring | nulloptionalWhere to place call information during a transfer. Supported values are uri_parameters, to_parameters, from_parameters, or sip_header:<header-name>.
emailEmailConfigurations | nulloptionalEmail configurations for email channels. Only applies to email channels.
1 options
sending_domainstringrequiredThe domain to use for sending emails. Must be authenticated in SendGrid.
credentialsobject | nulloptionalExposed credentials for the channel - currently just account_sid_last_four for Twilio channels
1 options
{key}stringoptionalpageintegerrequiredThe page number of the results (0-based)
page_sizeintegerrequiredThe number of items returned per page
total_pagesinteger | nulloptionalThe total number of pages of results given the indicated page size
total_countinteger | nulloptionalThe total number of items returned from the query
Response example
{
"items": [
{
"name": "string",
"channel_service": "string",
"supported_modes": "string",
"is_system_channel": true,
"id": 0,
"config": "string"
}
],
"page": 0,
"page_size": 0,
"total_pages": "string",
"total_count": "string"
}422Validation Error
application/json
response
HTTPValidationError
required
1 field
detailValidationError[]optionalItem schema
itemsValidationErrorrequired3 fields
locstring | integer[]requiredItem schema
itemsstring | integerrequired2 options
Option 1stringrequiredOption 2integerrequiredmsgstringrequiredtypestringrequiredResponse example
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
