Voice Insights Settings Resource
Voice Insights Settings determine whether
are activated for a given account.
Using the Voice Insights Settings Resource, you can
for an account or a specific subaccount.
Resource properties
The unique SID identifier of the Account.
advanced_features
type: booleanNot PIIA boolean flag indicating whether Advanced Features for Voice Insights are enabled.
A boolean flag indicating whether Voice Trace is enabled.
The URL of this resource.
GET https://insights.twilio.com/v1/Voice/Settings
URI parameters
Query Parameter
The unique SID identifier of the Subaccount.
_10// Download the helper library from https://www.twilio.com/docs/node/install
_10// Find your Account SID and Auth Token at twilio.com/console
_10// and set the environment variables. See http://twil.io/secure
_10const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10const authToken = process.env.TWILIO_AUTH_TOKEN;
_10const client = require('twilio')(accountSid, authToken);
_10client.insights.v1.settings()
_10 .then(setting => console.log(setting.advancedFeatures));
_10 "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_10 "advanced_features": true,
_10 "url": "https://insights.twilio.com/v1/Voice/Settings"
POST https://insights.twilio.com/v1/Voice/Settings
To manage subaccount Settings pass the subaccount SID as a parameter in the request.
Request body parameters
AdvancedFeatures
type: booleanNot PIIA boolean flag to enable Advanced Features for Voice Insights.
A boolean flag to enable Voice Trace.
The unique SID identifier of the Subaccount.
_10// Download the helper library from https://www.twilio.com/docs/node/install
_10// Find your Account SID and Auth Token at twilio.com/console
_10// and set the environment variables. See http://twil.io/secure
_10const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10const authToken = process.env.TWILIO_AUTH_TOKEN;
_10const client = require('twilio')(accountSid, authToken);
_10client.insights.v1.settings()
_10 .update({advancedFeatures: true})
_10 .then(setting => console.log(setting.advancedFeatures));
_10 "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_10 "advanced_features": true,
_10 "url": "https://insights.twilio.com/v1/Voice/Settings"
_13// Download the helper library from https://www.twilio.com/docs/node/install
_13// Find your Account SID and Auth Token at twilio.com/console
_13// and set the environment variables. See http://twil.io/secure
_13const accountSid = process.env.TWILIO_ACCOUNT_SID;
_13const authToken = process.env.TWILIO_AUTH_TOKEN;
_13const client = require('twilio')(accountSid, authToken);
_13client.insights.v1.settings()
_13 subaccountSid: 'ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab',
_13 .then(setting => console.log(setting.advancedFeatures));
_10 "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_10 "advanced_features": true,
_10 "url": "https://insights.twilio.com/v1/Voice/Settings"