Legs API
Legs APIs — Introduction
4 min
description a leg represents a single participant in a call every call is composed of one or more legs, which can be controlled independently using leg actions leg apis allow you to create a new leg (incoming or outgoing) retrieve leg details update leg configuration execute actions such as play, say, dial, hold, mute, record, stream, etc key concepts concept description leg a single call participant leg sid unique identifier for a leg actions commands executed on a leg external events async signals emitted for state changes base url https //cpaas api in exotel com/v2/accounts/{accountsid} authentication use basic authentication authorization basic \<base64 apikey apitoken> content type application/json api credentials are available at my exotel com → developer settings related apis post /legs — create a leg get /legs/{legsid} — get leg details put /legs/{legsid} — update leg post /legs/{legsid}/actions — execute leg actions get /legs/{legsid}/external events — retrieve leg events
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.
