Documentation
API Reference
Documentation
API Reference
Book a meeting
Linkedin
Github
  1. Api's
  • Introduction
  • Get started
    • Quickstart
    • Authentication
  • Core concepts
    • Agents
    • Phone numbers
    • Calls
    • Webhooks
  • Webhooks
    • Overview
    • Assistant request
    • Tool calls
    • Status update
    • End of call report
    • Security
  • Guides
    • Campaigns
    • xAI Realtime Integration
    • Voice selection psychology
    • Analysis templates
    • BYOK Setup
    • Call analysis
    • Call Transfers
    • Custom Tools
    • Sip Trunks
    • Tool templates
    • Voicemail detection
    • Autonomous silence detection
    • Billing
    • Error codes
    • Rate limits
    • Troubleshooting
  • Api's
    • Campaigns
    • Agents
    • Voices
    • BYOK
    • Analysis templates
    • Tool templates
    • Organization
    • Phone numbers
    • Sip trunks
    • Calls
    • Call control
    • Usage
    • Domains
Documentation
API Reference
Documentation
API Reference
Book a meeting
Linkedin
Github
  1. Api's

Call control

Send real-time commands to active calls.

Send Control Command#

Send a command to an active call. The call must have status in-progress.
POST /calls/{id}/control

Parameters#

NameInTypeDescription
idpathstringCall ID

Command Types#

TypeDescription
inject-contextAdd information to agent's memory without speaking
sayMake the agent speak specific text
end-callEnd the call with optional message
transferTransfer to another number

Inject Context#

Add information to the agent's context without the agent speaking. Use for SMS verification codes, CRM data lookups, or any silent context updates.

Request#

Fields#

FieldTypeRequiredDescription
typestringYesinject-context
contentstringYesContext to inject
trigger_responsebooleanYesIf true, agent responds immediately

Say#

Make the agent speak specific text.

Request#

Fields#

FieldTypeRequiredDescription
typestringYessay
contentstringYesText for the agent to speak
end_afterbooleanYesEnd call after speaking

End Call#

End the active call, optionally with a final message.

Request#

Fields#

FieldTypeRequiredDescription
typestringYesend-call
messagestringNoFinal message before ending

Transfer#

Transfer the call to another phone number or SIP endpoint.

Request#

Fields#

FieldTypeRequiredDescription
typestringYestransfer
destinationstringYesPhone number or SIP URI
messagestringNoMessage before transfer

Response#

All commands return:
{
  "success": true,
  "message": "Command sent successfully"
}

Errors#

StatusDescription
400Invalid command or call not active
404Call not found
See CallControlCommand Schema for complete details.
Modified at 2026-01-30 12:19:50
Previous
Calls
Next
Usage
Built with