OptionalapiYour API token. You can find this on your Dashboard.
OptionalapplicationYour Application key. You can find this on your Dashboard
OptionalapplicationYour Application secret. You can find this on your Dashboard
OptionalauthOverride the hostname for the OAuth2 authentication API
OptionalconversationOverride the hostname for the Conversation API (not Conversation Templates) - Note the regions become ineffective
OptionalconversationThe region for the Conversation API. Default region is US
OptionalconversationOverride the hostname for the Conversation Templates API - Note the regions become ineffective
OptionalelasticOverride the hostname for the Elastic SIP Trunking API
OptionalfaxOverride the hostname for the Fax API - Note the regions become ineffective
OptionalfaxThe region for the Fax API. Default is auto-routing
OptionalforceOptionalforceOptionalkeyThe client ID used for authentication. You can find this on your Dashboard.
OptionalkeyThe client secret used for authentication. You can find this ONLY when creating a new key.
OptionalnumbersOverride the hostname for the Numbers API
OptionalprojectThe project ID associated with the API Client. You can find this on your Dashboard.
OptionalrequestAdd more plugins to action on the request before it is sent
OptionalresponseAdd more plugins to action on the server response before it is returned in the Promise
OptionalserviceYour service plan ID. You can find this on your Dashboard.
OptionalsmsOverride the hostname for the SMS API - Note the regions become ineffective
OptionalsmsThe region for the SMS API. Default region is US
OptionalverificationOverride the hostname for the Verification API
OptionalvoiceOverride the hostname for the Voice Application Management API
OptionalvoiceOverride the hostname for the Voice API (not Voice Application Management) - Note the regions become ineffective
OptionalvoiceThe region for the Voice API. Default is empty
Global object that holds the API configuration. Be careful to follow the guidelines defined by the API Services about which parameters are required for each API. Not all of them use the same authentication mechanism: