The Call Insights REST API of Voice Insights provides programmatic access to call summaries, call metrics and call quality related events for use in your own applications and tools. Subject to regional availability, you can also use it for call annotations to capture subjective call experience details.
Call Insights data is available under the following base URL. The REST API is served over HTTPS; unencrypted HTTP is not supported.
HTTP requests to the REST API are protected with HTTP Basic authentication. To learn more about how Twilio handles authentication, please refer to our security documentation. In short, you will use your Twilio account SID as the username and your auth token as the password for HTTP Basic authentication. You can find your account SID and auth token on the console home page.
curl -G https://insights.twilio.com/v1/Voice/[CALL SID]/Summary -u \ '[YOUR ACCOUNT SID]:[YOUR AUTH TOKEN]'
The following resources are available in the Call Insights REST API.
(single Call Summary)
|Get a call summary for a single call.|
(list of Call Summaries)
|Get a list of call summaries for multiple calls.|
|Call Events Resource||Get call progress and quality-related Voice SDK events data for a specific call.|
|Call Metrics Resource||Get quality-related metrics for a specific call.|
|Call Annotations Resource||Annotate calls to provide subjective experience details. Get the annotations for a specific call.|
|Settings Resource||Control Voice Insights Advanced Features and Voice Trace status for an account.|