Submit Telephony API
The Telephony Voice API allows you to easily use Symbl's Language Insights capabilities.
It exposes the functionality of Symbl to dial-in to the conference. Supported endpoints are given below. Additionally, events can be passed for further processing. The supported types of events are discussed in detail in the section below.
Symbl will connect to your SIP or PSTN exposed endpoints. The Audio stream will be fetched from the SIP or PSTN connection once connected.
#
HTTP REQUESTPOST https://api.symbl.ai/v1/endpoint:connect
#
Example API call- cURL
- Javascript
#
Request ParametersField | Type | Description |
---|---|---|
operation | string | enum([start, stop]) - Start or Stop connection |
endpoint | object | Object containing Type of the session - either pstn or sip, phoneNumber which is the meeting number symbl should call with country code prepended and dtmf which is the conference passcode. |
actions | array | actions that should be performed while this connection is active. Currently only one action is supported - sendSummaryEmail |
data | object | Object containing a session object which has a field name corresponding to the name of the meeting |
languages | array | The first language code in the array is used to specify the session’s language. |
languages
#
Language is specified by passing an array of language codes to the language parameter when making a call to the startEndpoint.
info
Currently, transcription punctuation is not supported for French (fr-CA
) or Dutch (nl-NL
) languages.
#
Supported LanguagesThe following list of languages(with their BCP-47 language-codes) are currently supported:
Supported Languages | Code |
---|---|
English (United States) | en-US |
English (United Kingdom) | en-GB |
English (Australia) | en-AU |
English (Ireland) | en-IE |
English (India) | en-IN |
English (South Africa) | en-ZA |
Russian (Russian Federation) | ru-RU |
French (Canada) | fr-CA |
French (France) | fr-FR |
German (Germany) | de-DE |
Italian (Italy) | it-IT |
Dutch (Netherlands) | nl-NL |
Japanese (Japan) | ja-JP |
Spanish (United States) | es-US |
Spanish (Spain) | es-ES |
Arabic (Saudi Arabia) | ar-SA |
Hindi (India) | hi-IN |
Portuguese (Brazil) | pt-BR |
Portuguese (Portugal) | pt-PT |
Persian (Iran) | fa-IR |
caution
- If the language is not specified then
en-US
(English - United States) is used as the default language. - Insights like Action items, follow-ups, topics, etc are detected for English language only.
#
ExampleBelow is an example of specifying that the meeting’s language should be in Spanish.
info
If a language is not specified, it will currently fall back to English (en-US).
#
TimezoneSpecifying a timezone when initiating a session will result in the Summary UI displaying the meeting start time for that given region.
#
ExampleBelow is an example of setting the timezone to the Pacific Timezone by passing the TZ database name to the timezone parameter while initiating a session:
info
If no timezone is specified it will fall back to UTC time zone.
#
Response ObjectThe above request returns a response structured like this:
#
Response ParametersField | Description |
---|---|
eventUrl | REST API to push speaker events as the conversation is in progress, to add additional speaker context in the conversation. Example - In an on-going meeting, you can push speaker events |
resultWebSocketUrl | objSame as eventUrl but over WebSocket. The latency of events is lower with a dedicated WebSocket connection.ct |
connectionId | Ephemeral connection identifier of the request, to uniquely identify the telephony connection. Once the connection is stopped using “stop” operation, or is closed due to some other reason, the connectionId is no longer valid |
conversationId | Represents the conversation - this is the ID that needs to be used in conversation api to access the conversation |
#
Full Code ExampleTo specify a language and timezone while initiating a meeting, two parameters required - languages and timezone.
The following code snippet would initiate a session with Japanese as the language and JST as the timezone.