ExoML — Introduction
3 min
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 |
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.
ExoML allows 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.
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