play
Play audio or text-to-speech on an active call. The response confirms that
the command was accepted; playback state arrives asynchronously at
status_url.
control_id is a caller-chosen identifier for this operation, unique per
active operation of this kind on the call. The TypeScript SDK types it as
optional, but the API requires it — a request that omits it is rejected.
Keep it to manage the playback later with playPause(),
playResume(), playStop(), and
playVolume().
Request
id
The unique identifying ID of an existing call.
params
An object of parameters that will be utilized by the active command.
Response
Call Leg
Returned when the call is a standard PSTN, SIP, or WebRTC call.
OR
Fabric Subscriber Device Leg
Returned when the call is a Fabric subscriber device leg. The status field is always null for this type.