Search skmtc
⌘K
Docs
Sign in
Docs
History
Schema
Generate
Filter operations
Events
1
Legs
61
get
/legs
List all active legs
post
/legs
Originate an outbound leg
get
/legs/websocket
Connect a WebSocket as a leg (HTTP upgrade)
post
/legs/moq
Connect a MoQ (Media over QUIC) leg (WebTransport extended-CONNECT, experimental)
get
/legs/{id}
Get a single leg
delete
/legs/{id}
Hang up a leg (asynchronous)
post
/legs/{id}/answer
Answer a ringing or early-media inbound SIP leg (asynchronous)
post
/legs/{id}/ring
Send 180 Ringing on a ringing inbound SIP leg (asynchronous)
post
/legs/{id}/challenge
Challenge a ringing inbound SIP leg with a 401 digest auth request
post
/legs/{id}/early-media
Enable early media on a ringing inbound SIP leg (asynchronous)
post
/legs/{id}/mute
Mute a leg
delete
/legs/{id}/mute
Unmute a leg
post
/legs/{id}/deaf
Deafen a leg
delete
/legs/{id}/deaf
Undeafen a leg
post
/legs/{id}/hold
Put a SIP call on hold (asynchronous)
delete
/legs/{id}/hold
Resume a held SIP call (asynchronous)
post
/legs/{id}/transfer
Transfer a SIP leg via REFER (asynchronous)
post
/legs/{id}/transfer/accept
Accept a parked inbound REFER
post
/legs/{id}/transfer/progress
Report interim transfer progress
post
/legs/{id}/transfer/complete
Complete an accepted inbound transfer
post
/legs/{id}/transfer/decline
Decline a parked inbound REFER
post
/legs/{id}/dtmf
Send DTMF digits on a leg
post
/legs/{id}/dtmf/accept
Enable DTMF reception on a leg
post
/legs/{id}/dtmf/reject
Disable DTMF reception on a leg
post
/legs/{id}/rtt
Send Real-Time Text (T.140) on a SIP leg
post
/legs/{id}/rtt/accept
Enable RTT reception on a leg
post
/legs/{id}/rtt/reject
Disable RTT reception on a leg
post
/legs/{id}/play
Start audio playback to a leg
delete
/legs/{id}/play/{playbackID}
Stop audio playback on a leg
patch
/legs/{id}/play/{playbackID}
Change the volume of an active leg playback
post
/legs/{id}/tts
Synthesize speech and play it on a leg
post
/legs/{id}/tts/preflight
Synthesize speech and hold it for a later commit
post
/legs/{id}/tts/{ttsID}/commit
Play a staged TTS utterance
delete
/legs/{id}/tts/{ttsID}
Drop a staged TTS utterance without playing it
post
/legs/{id}/record
Start recording a leg to a WAV file
delete
/legs/{id}/record
Stop recording a leg
post
/legs/{id}/record/pause
Pause a leg recording
post
/legs/{id}/record/resume
Resume a paused leg recording
post
/legs/{id}/stt
Start real-time speech-to-text on a leg
delete
/legs/{id}/stt
Stop speech-to-text on a leg
post
/legs/{id}/stt/finalize
Flush the STT buffer on a leg without stopping STT
post
/legs/{id}/agent/elevenlabs
Attach an ElevenLabs ConvAI agent to a leg
post
/legs/{id}/agent/vapi
Attach a VAPI agent to a leg
post
/legs/{id}/agent/pipecat
Attach a Pipecat bot to a leg
post
/legs/{id}/agent/deepgram
Attach a Deepgram Voice Agent to a leg
post
/legs/{id}/agent/message
Inject a message into a running agent session on a leg
delete
/legs/{id}/agent
Detach the agent from a leg
post
/legs/{id}/amd
Start answering machine detection on a connected leg
get
/legs/{id}/siprec
Get a SIPREC recording session
post
/legs/{id}/siprec
Fork a single call to an external SIPREC recording server
get
/legs/{id}/streams
List a leg's audio streams
post
/legs/{id}/streams
Add an audio stream to a live call
get
/legs/{id}/streams/{streamId}
Get one of a leg's audio streams
delete
/legs/{id}/streams/{streamId}
Remove an audio stream from a live call
patch
/legs/{id}/streams/{streamId}
Change an audio stream's routing role
post
/legs/{id}/streams/{streamId}/room
Mix an audio stream into a room
delete
/legs/{id}/streams/{streamId}/room
Remove an audio stream from its room
patch
/legs/{id}/role
Change a leg's routing role
put
/legs/{id}/filters
Replace a leg's audio filter chain
put
/legs/{id}/custom-data
Replace a leg's custom data
delete
/legs/{id}/custom-data
Clear a leg's custom data
Observability
5
Rooms
32
SIP Registrations
5
SIP Trunks
4
WebRTC
4
Legs
Copy
Copy Markdown
Copy Markdown
Copying…
Copied
Copy failed
Changes to Connect a WebSocket as a leg (HTTP upgrade)
get
/legs/websocket
May 13, 2026
97117ab6a5c4
Revision changes
info
endpoint added