Heidi API
Twilio stream

Twilio stream

You can direct a Twilio audio stream to Heidi by configuring a <Stream> element.

To configure a new stream in Twilio, you will need to:

Then you can configure a new stream in Twilio with the following parameters:

<Stream url="wss://<base_url>/twilio-stream">
  <Parameter name="session_id" value="your-session-id" />
  <Parameter name="token" value="your-jwt-token" />
</Stream>

The base_url is the base Heidi API base url, as described on the Authentication and Going Live pages.