- 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
Speak text
POST
/calls/{call_control_id}/actions/speak
Call Commands
call.speak.started
call.speak.ended
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/calls//actions/speak' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d",
"command_id": "891510ac-f3e4-11e8-af5b-de00688a4901",
"language": "arb",
"payload": "Say this on the call",
"payload_type": "text",
"service_level": "basic",
"stop": "current",
"voice": "female"
}'
Response Response Example
200 - Example 1
{
"data": {
"result": "ok"
}
}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
call_control_id
stringÂ
required
Body Params application/json
client_state
stringÂ
optional
Example:
aGF2ZSBhIG5pY2UgZGF5ID1d
command_id
stringÂ
optional
command_id
for the same call_control_id
.Example:
891510ac-f3e4-11e8-af5b-de00688a4901
language
enum<string>Â
optional
Polly.*
voice is specified.Allowed values:
arbcmn-CNcy-GBda-DKde-DEen-AUen-GBen-GB-WLSen-INen-USes-ESes-MXes-USfr-CAfr-FRhi-INis-ISit-ITja-JPko-KRnb-NOnl-NLpl-PLpt-BRpt-PTro-ROru-RUsv-SEtr-TR
Example:
en-US
payload
stringÂ
required
Example:
Say this on the call
payload_type
enum<string>Â
optional
Allowed values:
textssml
Default:
text
Example:
ssml
service_level
enum<string>Â
optional
basic
, only the en-US
language and payload type text
are allowed.Allowed values:
basicpremium
Default:
premium
Example:
premium
stop
stringÂ
optional
current
to stop the current audio being played, and to play the next file in the queue. Specify all
to stop the current audio file being played and to also clear all audio files from the queue.Example:
current
voice
stringÂ
required
Specifies the voice used in speech synthesis.
- Define voices using the format
<Provider>.<Model>.<VoiceId>
. Specifying only the provider will give default values for voice_id and model_id.
Supported Providers:
- AWS: Use
AWS.Polly.<VoiceId>
(e.g.,AWS.Polly.Joanna
). For neural voices, which provide more realistic, human-like speech, append-Neural
to theVoiceId
(e.g.,AWS.Polly.Joanna-Neural
). Check the available voices for compatibility. - Azure: Use `Azure.. (e.g. Azure.en-CA-ClaraNeural, Azure.en-CA-LiamNeural, Azure.en-US-BrianMultilingualNeural, Azure.en-US-Ava:DragonHDLatestNeural. For a complete list of voices, go to Azure Voice Gallery.)
- ElevenLabs: Use
ElevenLabs.<ModelId>.<VoiceId>
(e.g.,ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM
). TheModelId
part is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an integration identifier secret in"voice_settings": {"api_key_ref": "<secret_identifier>"}
. See integration secrets documentation for details. Check available voices. - Telnyx: Use
Telnyx.<model_id>.<voice_id>
For service_level basic, you may define the gender of the speaker (male or female).
Example:
Telnyx.KokoroTTS.af
voice_settings
optional
One of
api_key_ref
stringÂ
optional
identifier
for an integration secret /v2/integration_secrets that refers to your ElevenLabs API key. Warning: Free plans are unlikely to work with this integration.Example:
my_elevenlabs_api_key
Examples
Responses
🟢200OK
application/json
Body
data
object (Call Control Command Result)Â
optional
Example:
{"result":"ok"}
result
stringÂ
optional
Example:
ok
🔴500Server Error
Modified at 2025-06-16 19:14:41