- Bucket
- IP Addresses
- IP Ranges
- SIM Cards
- Purchase eSIMs
- Register SIM cards
- List SIM card data usage notifications
- Create a new SIM card data usage notification
- Delete SIM card data usage notifications
- Get a single SIM card data usage notification
- Updates information for a SIM Card Data Usage Notification
- Get all SIM cards
- Request bulk setting SIM card public IPs.
- Validate SIM cards registration codes
- Deletes a SIM card
- Get SIM card
- Update a SIM card
- Request a SIM card disable
- Request a SIM card enable
- Request removing a SIM card public IP
- Request setting a SIM card public IP
- Request setting a SIM card to standby
- Get activation code for an eSIM
- Get SIM card device details
- Get SIM card public IP definition
- List wireless connectivity logs
- Addresses
- Advanced Number Orders
- Assistants
- Audio
- Chat
- Clusters
- Conversations
- Embeddings
- Fine Tuning
- Audit Logs
- Authentication Providers
- Phone Number Search
- Billing
- Billing Groups
- Brands
- SIM Card Actions
- Bundles
- User Bundles
- Call Control Applications
- Debugging
- Call Commands
- DialPOST
- Start AI AssistantPOST
- Stop AI AssistantPOST
- Answer callPOST
- Bridge callsPOST
- Update client statePUT
- Enqueue callPOST
- Forking startPOST
- Forking stopPOST
- GatherPOST
- Gather stopPOST
- Gather using AIPOST
- Gather using audioPOST
- Gather using speakPOST
- Hangup callPOST
- Remove call from a queuePOST
- Play audio URLPOST
- Stop audio playbackPOST
- Record pausePOST
- Record resumePOST
- Recording startPOST
- Recording stopPOST
- SIP Refer a callPOST
- Reject a callPOST
- Send DTMFPOST
- Send SIP infoPOST
- SIPREC startPOST
- SIPREC stopPOST
- Speak textPOST
- Streaming startPOST
- Streaming stopPOST
- Noise Suppression Start (BETA)POST
- Noise Suppression Stop (BETA)POST
- Transcription startPOST
- Transcription stopPOST
- Transfer callPOST
- Call Information
- Campaign
- Voice Channels
- Phone Number Orders
- Retrieve all comments
- Create a comment
- Retrieve a comment
- Mark a comment as read
- Retrieve a list of phone numbers associated to orders
- Retrieve a single phone number within a number order.
- Update requirements for a single phone number within a number order.
- List number orders
- Create a number order
- Retrieve a number order
- Update a number order
- List sub number orders
- Retrieve a sub number order
- Update a sub number order's requirements
- Cancel a sub number order
- Create a sub number orders report
- Retrieve a sub number orders report
- Download a sub number orders report
- Conference Commands
- List conferences
- Create conference
- List conference participants
- Retrieve a conference
- Hold conference participants
- Join a conference
- Leave a conference
- Mute conference participants
- Play audio to conference participants
- Conference recording pause
- Conference recording resume
- Conference recording start
- Conference recording stop
- Speak text to conference participants
- Stop audio being played on the conference
- Unhold conference participants
- Unmute conference participants
- Update conference participant
- Connections
- Country Coverage
- Credential Connections
- Call Recordings
- Delete a stored credential
- Retrieve a stored credential
- Create a custom storage credential
- Update a stored credential
- List all recording transcriptions
- Delete a recording transcription
- Retrieve a recording transcription
- List all call recordings
- Delete a list of call recordings
- Delete a call recording
- Retrieve a call recording
- Customer Service Record
- Detail Records
- Dialogflow Integration
- Documents
- Dynamic Emergency Addresses
- Dynamic Emergency Endpoints
- Enum
- External Connections
- List all External Connections
- Creates an External Connection
- List all log messages
- Dismiss a log message
- Retrieve a log message
- Deletes an External Connection
- Retrieve an External Connection
- Update an External Connection
- List all civic addresses and locations
- Retrieve a Civic Address
- Update a location's static emergency address
- List all phone numbers
- Retrieve a phone number
- Update a phone number
- List all Releases
- Retrieve a Release request
- List all Upload requests
- Creates an Upload request
- Refresh the status of all Upload requests
- Get the count of pending upload requests
- Retrieve an Upload request
- Retry an Upload request
- Refresh Operator Connect integration
- Programmable Fax Applications
- Programmable Fax Commands
- FQDN Connections
- FQDNs
- Global IPs
- List all Global IP Allowed Ports
- Global IP Assignment Health Check Metrics
- List all Global IP assignments
- Create a Global IP assignment
- Delete a Global IP assignment
- Retrieve a Global IP
- Update a Global IP assignment
- Global IP Assignment Usage Metrics
- List all Global IP Health check types
- List all Global IP health checks
- Create a Global IP health check
- Delete a Global IP health check
- Retrieve a Global IP health check
- Global IP Latency Metrics
- List all Global IP Protocols
- Global IP Usage Metrics
- List all Global IPs
- Create a Global IP
- Delete a Global IP
- Retrieve a Global IP
- Integration Secrets
- Inventory Level
- IP Connections
- IPs
- Reports
- Managed Accounts
- Lists accounts managed by the current user.
- Create a new managed account.
- Display information about allocatable global outbound channels for the current user.
- Retrieve a managed account
- Update a managed account
- Disables a managed account
- Enables a managed account
- Update the amount of allocatable global outbound channels allocated to a specific managed account.
- Media Storage API
- Messages
- Messaging Hosted Number
- List messaging hosted number orders
- Create a messaging hosted number order
- Check eligibility of phone numbers for hosted messaging
- Retrieve a messaging hosted number order
- Upload file required for a messaging hosted number order
- Validate the verification codes for the hosted numbers order
- Create verification codes for the hosted numbers order
- Delete a messaging hosted number
- Number Configurations
- Advanced OptIn
- Messaging Profiles
- Messaging Tollfree Verification
- Messaging URL Domains
- RCS messaging
- Mobile Network Operators
- Push Credentials
- Coverage
- Networks
- Notifications
- List notification channels
- Create a notification channel
- Delete a notification channel
- Get a notification channel
- Update a notification channel
- List all Notifications Events Conditions
- List all Notifications Events
- List all Notifications Profiles
- Create a notification profile
- Delete a notification profile
- Get a notification profile
- Update a notification profile
- List notification settings
- Add a Notification Setting
- Delete a notification setting
- Get a notification setting
- Phone Number Block Orders
- Number Lookup
- Requirement Groups
- Update requirement group for a phone number order
- List requirement groups
- Create a new requirement group
- Delete a requirement group by ID
- Get a single requirement group by ID
- Update requirement values in requirement group
- Submit a Requirement Group for Approval
- Update requirement group for a sub number order
- Phone Number Reservations
- numbers features
- OTA updates
- Outbound Voice Profiles
- Shared Campaigns
- AutoRechargePreferences
- Bulk Phone Number Campaigns
- Phone Number Blocks Background Jobs
- Phone Number Campaigns
- Phone Number Configurations
- List phone numbers
- Slim List phone numbers
- List phone numbers with voice settings
- Delete a phone number
- Retrieve a phone number
- Update a phone number
- Change the bundle status for a phone number (set to being in a bundle or remove from a bundle)
- Enable emergency for a phone number
- Retrieve a phone number with voice settings
- Update a phone number with voice settings
- CSV Downloads
- Bulk Phone Number Operations
- Voicemail
- Regulatory Requirements
- Phone Number Porting
- Porting Orders
- List all porting events
- Show a porting event
- Republish a porting event
- Preview the LOA configuration parameters
- List LOA configurations
- Create a LOA configuration
- Delete a LOA configuration
- Retrieve a LOA configuration
- Update a LOA configuration
- Preview a LOA configuration
- List porting related reports
- Create a porting related report
- Retrieve a report
- List all porting orders
- Create a porting order
- List all exception types
- List all phone number configurations
- Create a list of phone number configurations
- Delete a porting order
- Retrieve a porting order
- Edit a porting order
- Activate every number in a porting order asynchronously.
- Cancel a porting order
- Submit a porting order.
- Share a porting order
- List all porting activation jobs
- Retrieve a porting activation job
- Update a porting activation job
- List additional documents
- Create a list of additional documents
- Delete an additional document
- List allowed FOC dates
- List all comments of a porting order
- Create a comment for a porting order
- Download a porting order loa template
- List porting order requirements
- Retrieve the associated V1 sub_request_id and port_request_id
- List verification codes
- Send the verification codes
- Verify the verification code for a list of phone numbers
- List all phone number blocks
- Create a phone number block
- Delete a phone number block
- List all phone number extensions
- Create a phone number extension
- Delete a phone number extension
- List all porting phone numbers
- Number Portout
- List portout requests
- List all port-out events
- Show a port-out event
- Republish a port-out event
- List eligible port-out rejection codes for a specific order
- List port-out related reports
- Create a port-out related report
- Retrieve a report
- Get a portout request
- List all comments for a portout request
- Create a comment on a portout request
- List supporting documents on a portout request
- Create a list of supporting documents on a portout request
- Update Status
- Private Wireless Gateways
- Public Internet Gateways
- Queue Commands
- Regions
- CDR Usage Reports
- MDR Usage Reports
- MDR Detail Reports
- WDR Detail Reports
- Requirement Types
- Requirements
- Room Compositions
- Room Participants
- Room Recordings
- Room Sessions
- Rooms
- Rooms Client Tokens
- Short Codes
- SIM Card Group Actions
- SIM Card Groups
- SIM Card Orders
- SIPREC Connectors
- Bucket SSL Certificate
- Bucket Usage
- Presigned Object URLs
- Data Migration
- Credentials
- Access Tokens
- TeXML REST Commands
- Fetch multiple call resources
- Initiate an outbound call
- Fetch a call
- Update call
- Fetch recordings for a call
- Request recording for a call
- Update recording on a call
- Request siprec session for a call
- Updates siprec session for a call
- Start streaming media from a call.
- Update streaming on a call
- List conference resources
- Fetch a conference resource
- Update a conference resource
- List conference participants
- Dial a new conference participant
- Delete a conference participant
- Get conference participant resource
- Update a conference participant
- List conference recordings
- Fetch recordings for a conference
- Fetch multiple recording resources
- Delete recording resource
- Fetch recording resource
- List recording transcriptions
- Delete a recording transcription
- Fetch a recording transcription resource
- (Deprecated) Initiate an outbound call
- (Deprecated) Update call
- Create a TeXML secret
- TeXML Applications
- Text to Speech Commands
- Usage Reports (BETA)
- UserAddresses
- User Tags
- Verify
- List verifications by phone number
- Verify verification code by phone number
- Trigger Call verification
- Trigger Flash call verification
- Trigger SMS verification
- Retrieve verification
- Verify verification code by ID
- List all Verify profiles
- Create a Verify profile
- Retrieve Verify profile message templates
- Delete Verify profile
- Retrieve Verify profile
- Update Verify profile
- Verified Numbers
- Virtual Cross Connects
- Webhooks
- WireGuard Interfaces
- Reporting
- Wireless Regions
- Object
Dial
POST
/calls
Call Commands
call_leg_id
which can be used to correlate the command with subsequent webhooks.call.initiated
call.answered
or call.hangup
call.machine.detection.ended
if answering_machine_detection
was requestedcall.machine.greeting.ended
if answering_machine_detection
was requested to detect the end of machine greetingcall.machine.premium.detection.ended
if answering_machine_detection=premium
was requestedcall.machine.premium.greeting.ended
if answering_machine_detection=premium
was requested and a beep was detectedstreaming.started
, streaming.stopped
or streaming.failed
if stream_url
was setrecord
parameter is set to record-from-answer
, the response will include a recording_id
field.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/calls' \
--header 'Content-Type: application/json' \
--data-raw '{
"answering_machine_detection": "detect",
"answering_machine_detection_config": {
"after_greeting_silence_millis": 1000,
"between_words_silence_millis": 1000,
"greeting_duration_millis": 1000,
"greeting_silence_duration_millis": 2000,
"greeting_total_analysis_time_millis": 50000,
"initial_silence_millis": 1000,
"maximum_number_of_words": 1000,
"maximum_word_length_millis": 2000,
"silence_threshold": 512,
"total_analysis_time_millis": 5000
},
"audio_url": "http://www.example.com/sounds/greeting.wav",
"client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d",
"command_id": "891510ac-f3e4-11e8-af5b-de00688a4901",
"conference_config": {
"conference_name": "telnyx-conference",
"start_conference_on_enter": true
},
"connection_id": "7267xxxxxxxxxxxxxx",
"custom_headers": [
{
"name": "head_1",
"value": "val_1"
},
{
"name": "head_2",
"value": "val_2"
}
],
"dialogflow_config": {
"analyze_sentiment": false,
"partial_automated_agent_reply": false
},
"enable_dialogflow": false,
"from": "+18005550101",
"from_display_name": "Company Name",
"link_to": "ilditnZK_eVysupV21KzmzN_sM29ygfauQojpm4BgFtfX5hXAcjotg==",
"media_encryption": "SRTP",
"send_silence_when_idle": true,
"sip_auth_password": "password",
"sip_auth_username": "username",
"sip_headers": [
{
"name": "User-to-User",
"value": "12345"
}
],
"sip_transport_protocol": "TLS",
"stream_track": "both_tracks",
"stream_url": "wss://www.example.com/websocket",
"timeout_limit_secs": 60,
"timeout_secs": 60,
"to": "+18005550100 or sip:username@sip.telnyx.com",
"webhook_url": "https://www.example.com/server-b/",
"webhook_url_method": "POST"
}'
Response Response Example
200 - Example 1
{
"data": {
"call_control_id": "v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg",
"call_duration": 50,
"call_leg_id": "2dc6fc34-f9e0-11ea-b68e-02420a0f7768",
"call_session_id": "2dc1b3c8-f9e0-11ea-bc5a-02420a0f7768",
"client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d",
"end_time": "2019-01-23T18:11:52.574Z",
"is_alive": false,
"record_type": "call",
"recording_id": "d7e9c1d4-8b2a-4b8f-b3a7-9a671c9e9b0a",
"start_time": "2019-01-23T18:10:02.574Z"
}
}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
answering_machine_detection
enum<string>Â
optional
call.machine.premium.detection.ended
webhook with one of the following results: human_residence
, human_business
, machine
, silence
or fax_detected
. If we detect a beep, we also send a call.machine.premium.greeting.ended
webhook with the result of beep_detected
. If we detect a beep before call.machine.premium.detection.ended
we only send call.machine.premium.greeting.ended
, and if we detect a beep after call.machine.premium.detection.ended
, we send both webhooks. With Standard detection, when a call is answered, Telnyx runs real-time detection to determine if it was picked up by a human or a machine and sends an call.machine.detection.ended
webhook with the analysis result. If greeting_end
or detect_words
is used and a machine
is detected, you will receive another call.machine.greeting.ended
webhook when the answering machine greeting ends with a beep or silence. If detect_beep
is used, you will only receive call.machine.greeting.ended
if a beep is detected.Allowed values:
premiumdetectdetect_beepdetect_wordsgreeting_enddisabled
Default:
disabled
answering_machine_detection_config
objectÂ
optional
after_greeting_silence_millis
integer <int32>
optional
Default:
800
Example:
1000
between_words_silence_millis
integer <int32>
optional
Default:
50
Example:
100
greeting_duration_millis
integer <int32>
optional
Default:
3500
Example:
1500
greeting_silence_duration_millis
integer <int32>
optional
Default:
1500
Example:
2000
greeting_total_analysis_time_millis
integer <int32>
optional
Default:
5000
Example:
7500
initial_silence_millis
integer <int32>
optional
Default:
3500
Example:
1800
maximum_number_of_words
integer <int32>
optional
Default:
5
Example:
3
maximum_word_length_millis
integer <int32>
optional
Default:
3500
Example:
2000
silence_threshold
integer <int32>
optional
Default:
256
Example:
512
total_analysis_time_millis
integer <int32>
optional
Default:
3500
Example:
5000
audio_url
stringÂ
optional
Example:
http://example.com/message.wav
billing_group_id
string <uuid>
optional
Example:
f5586561-8ff0-4291-a0ac-84fe544797bd
client_state
stringÂ
optional
Example:
aGF2ZSBhIG5pY2UgZGF5ID1d
command_id
stringÂ
optional
command_id
.Example:
891510ac-f3e4-11e8-af5b-de00688a4901
conference_config
objectÂ
optional
beep_enabled
enum<string>Â
optional
Allowed values:
alwaysneveron_enteron_exit
Example:
on_exit
conference_name
stringÂ
optional
Example:
telnyx-conference
early_media
booleanÂ
optional
true
user will be joined as soon as media is available (ringback). If false
user will be joined when call is answered. Defaults to true
Default:
true
Example:
false
end_conference_on_exit
booleanÂ
optional
Example:
true
hold
booleanÂ
optional
Example:
true
hold_audio_url
stringÂ
optional
Example:
http://example.com/message.wav
hold_media_name
stringÂ
optional
Example:
my_media_uploaded_to_media_storage_api
id
string <uuid>
optional
Example:
0ccc7b54-4df3-4bca-a65a-3da1ecc777f0
mute
booleanÂ
optional
Example:
true
soft_end_conference_on_exit
booleanÂ
optional
Example:
true
start_conference_on_create
booleanÂ
optional
Example:
false
start_conference_on_enter
booleanÂ
optional
Example:
true
supervisor_role
enum<string>Â
optional
Allowed values:
bargemonitornonewhisper
Example:
whisper
whisper_call_control_ids
array[string]
optional
Example:
["v2:Sg1xxxQ_U3ixxxyXT_VDNI3xxxazZdg6Vxxxs4-GNYxxxVaJPOhFMRQ","v2:qqpb0mmvd-ovhhBr0BUQQn0fld5jIboaaX3-De0DkqXHzbf8d75xkw"]
connection_id
stringÂ
required
custom_headers
array[object (Custom SIP Header) {2}]Â
optional
Example:
[{"name":"head_1","value":"val_1"},{"name":"head_2","value":"val_2"}]
name
stringÂ
required
Example:
head_1
value
stringÂ
required
Example:
val_1
dialogflow_config
object (Dialogflow Config)Â
optional
analyze_sentiment
booleanÂ
optional
Default:
false
Example:
true
partial_automated_agent_reply
booleanÂ
optional
Default:
false
Example:
true
enable_dialogflow
booleanÂ
optional
Default:
false
Example:
true
from
stringÂ
required
from
number to be used as the caller id presented to the destination (to
number). The number should be in +E164 format.Example:
+18005550101
from_display_name
stringÂ
optional
from_display_name
string to be used as the caller id name (SIP From Display Name) presented to the destination (to
number). The string should have a maximum of 128 characters, containing only letters, numbers, spaces, and -_~!.+ special characters. If ommited, the display name will be the same as the number in the from
field.Example:
Company Name
link_to
stringÂ
optional
Example:
ilditnZK_eVysupV21KzmzN_sM29ygfauQojpm4BgFtfX5hXAcjotg==
media_encryption
enum<string>Â
optional
Allowed values:
disabledSRTPDTLS
Default:
disabled
media_name
stringÂ
optional
Example:
my_media_uploaded_to_media_storage_api
preferred_codecs
stringÂ
optional
Example:
G722,PCMU,PCMA,G729,OPUS,VP8,H264
record
enum<string>Â
optional
Allowed value:
record-from-answer
Example:
record-from-answer
record_channels
enum<string>Â
optional
record
is specified.Allowed values:
singledual
Default:
dual
Example:
single
record_custom_file_name
stringÂ
optional
call_leg_id
. Telnyx will still add a Unix timestamp suffix.>= 1 characters<= 40 characters
Example:
my_recording_file_name
record_format
enum<string>Â
optional
record
is specified.Allowed values:
wavmp3
Default:
mp3
Example:
wav
record_max_length
integer <int32>
optional
record
is specified. The minimum value is 0. The maximum value is 43200. The default value is 0 (infinite).Default:
0
Example:
1000
record_timeout_secs
integer <int32>
optional
record
is specified. The timer only starts when the speech is detected. Please note that call transcription is used to detect silence and the related charge will be applied. The minimum value is 0. The default value is 0 (infinite).Default:
0
Example:
100
record_track
enum<string>Â
optional
both
, inbound
or outbound
. If only single track is specified (inbound
, outbound
), channels
configuration is ignored and it will be recorded as mono (single channel).Allowed values:
bothinboundoutbound
Default:
both
Example:
outbound
record_trim
enum<string>Â
optional
trim-silence
, silence will be removed from the beginning and end of the recording.Allowed value:
trim-silence
Example:
trim-silence
send_silence_when_idle
booleanÂ
optional
Default:
false
Example:
true
sip_auth_password
stringÂ
optional
sip_auth_username
stringÂ
optional
sip_headers
array[object (SIP Header) {2}]Â
optional
Example:
[{"name":"User-to-User","value":"value"}]
name
enum<string>Â
required
Allowed value:
User-to-User
Example:
User-to-User
value
stringÂ
required
Example:
value
sip_transport_protocol
enum<string>Â
optional
Allowed values:
UDPTCPTLS
Default:
UDP
sound_modifications
object (Sound modifications)Â
optional
Example:
{"octaves":0.1,"pitch":"0.8","semitone":-2,"track":"both"}
octaves
number <double>
optional
Example:
-0.5
pitch
number <double>
optional
Example:
0.8
semitone
number <double>
optional
Example:
-10
track
stringÂ
optional
inbound
or outbound
Default:
outbound
Example:
inbound
stream_bidirectional_codec
enum<string>Â
optional
Allowed values:
PCMUPCMAG722OPUSAMR-WB
Default:
PCMU
Example:
G722
stream_bidirectional_mode
enum<string>Â
optional
Allowed values:
mp3rtp
Default:
mp3
Example:
rtp
stream_bidirectional_sampling_rate
enum<integer>Â
optional
Allowed values:
80001600048000
Default:
8000
Example:
16000
stream_bidirectional_target_legs
enum<string>Â
optional
Allowed values:
bothselfopposite
Default:
opposite
Example:
both
stream_codec
enum<string>Â
optional
Allowed values:
PCMAPCMUdefault
Default:
default
Example:
PCMA
stream_establish_before_call_originate
booleanÂ
optional
Default:
false
Example:
true
stream_track
enum<string>Â
optional
Allowed values:
inbound_trackoutbound_trackboth_tracks
Default:
inbound_track
Example:
both_tracks
stream_url
stringÂ
optional
Example:
wss://www.example.com/websocket
supervise_call_control_id
stringÂ
optional
Example:
v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg
supervisor_role
enum<string>Â
optional
Allowed values:
bargewhispermonitor
Default:
barge
time_limit_secs
integer <int32>
optional
call.hangup
webhook with a hangup_cause
of time_limit
will be sent. For example, by setting a time limit of 120 seconds, a Call Leg will be automatically terminated two minutes after being answered. The default time limit is 14400 seconds or 4 hours and this is also the maximum allowed call length.>= 30<= 14400
Default:
14400
Example:
600
timeout_secs
integer <int32>
optional
call.hangup
webhook with a hangup_cause
of timeout
will be sent. Minimum value is 5 seconds. Maximum value is 600 seconds.Default:
30
Example:
60
to
required
One of
Example:
+18005550100 or sip:username@sip.telnyx.com
transcription
booleanÂ
optional
Default:
false
Example:
true
transcription_config
object (Transcription start request)Â
optional
Example:
{"client_state":"aGF2ZSBhIG5pY2UgZGF5ID1d","command_id":"891510ac-f3e4-11e8-af5b-de00688a4901","language":"en"}
client_state
stringÂ
optional
Example:
aGF2ZSBhIG5pY2UgZGF5ID1d
command_id
stringÂ
optional
command_id
for the same call_control_id
.Example:
891510ac-f3e4-11e8-af5b-de00688a4901
transcription_engine
enum<string>Â
optional
A
- Google
, B
- Telnyx
.Allowed values:
AB
Default:
A
Example:
A
transcription_engine_config
optional
transcription_tracks
stringÂ
optional
inbound
for the leg that requested the transcription, outbound
for the other leg, and both
for both legs of the call. Will default to inbound
.Default:
inbound
Example:
both
webhook_url
stringÂ
optional
Example:
https://www.example.com/server-b/
webhook_url_method
enum<string>Â
optional
webhook_url
.Allowed values:
POSTGET
Default:
POST
Example:
GET
Examples
Responses
🟢200OK
application/json
Body
data
object (Call With Recording ID)Â
optional
Example:
{"call_control_id":"v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg","call_duration":50,"call_leg_id":"2dc6fc34-f9e0-11ea-b68e-02420a0f7768","call_session_id":"2dc1b3c8-f9e0-11ea-bc5a-02420a0f7768","client_state":"aGF2ZSBhIG5pY2UgZGF5ID1d","end_time":"2019-01-23T18:11:52.574Z","is_alive":false,"record_type":"call","recording_id":"d7e9c1d4-8b2a-4b8f-b3a7-9a671c9e9b0a","start_time":"2019-01-23T18:10:02.574Z"}
call_control_id
stringÂ
required
Example:
v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg
call_duration
integerÂ
optional
Example:
50
call_leg_id
stringÂ
required
Example:
428c31b6-7af4-4bcb-b7f5-5013ef9657c1
call_session_id
stringÂ
required
Example:
428c31b6-7af4-4bcb-b68e-5013ef9657c1
client_state
stringÂ
optional
Example:
aGF2ZSBhIG5pY2UgZGF5ID1d
end_time
stringÂ
optional
Example:
2019-01-23T18:11:52.574Z
is_alive
booleanÂ
required
false
(dialing is asynchronous).Example:
true
record_type
enum<string>Â
required
Allowed value:
call
Example:
call
recording_id
string <uuid>
optional
Example:
d7e9c1d4-8b2a-4b8f-b3a7-9a671c9e9b0a
start_time
stringÂ
optional
Example:
2019-01-23T18:10:02.574Z