Twilio Changelog

Additions and changes to the Twilio platform

Filter by:Clear all

Twilio Interconnect has been expanded with a new Interconnect Exchange Installation in Sydney, Australia.

The new exchange provides customers with connectivity via cross connect, VPN, Bring-Your-Own-MPLS, and the Equinix Cloud Exchange with initial product support for Elastic SIP Trunking, SIP Interface and Voice WebRTC.

Twilio now has three Interconnect Exchanges in the APAC region, one in Singapore, another in Tokyo and this new one in Sydney, Australia. This allows APAC customers to set up redundant interconnects from their networks to Twilio adding an additional layer of resiliency while benefiting from the security and consistency of a dedicated interconnect.


Click here for information about Twilio Interconnect and here for documentation.


Phone Numbers

Regulated Number Bundle Provisioning Requirement GA

Provisioning new phone numbers with identity regulations through the Twilio /IncomingPhoneNumbers API now requires an approved BundleSid. End-users will be required to include the proper documentation for regulated phone numbers, which are most phone numbers outside the US and Canada. API calls to provision regulated phone numbers that do not include a compliant BundleSID that is valid for the phone number will fail with error code 21649.

For additional details:


We have added new properties to the Task resources and the TaskQueue Statistics API in TaskRouter, to enhance TaskQueue insights in scenarios when tasks are transferred to another TaskQueue.

The TaskRouter Task resource now has a new property task_queue_entered_date, which captures the time when the task entered its current TaskQueue.

The TaskRouter TaskQueue Statistics API has three new properties, LongestRelativeTaskSidInQueue and LongestRelativeTaskAgeInQueue, which provide the task SID of the task waiting in the TaskQueue the longest and its relative age in the TaskQueue, respectively. 
WaitDurationInQueueUntilAccepted provides relative wait duration in the TaskQueue stats (avg, min, max, total) for tasks that were accepted while in this TaskQueue.

To learn more about the new Task field, please refer to our documentation on Task properties.
To learn more about the new TaskQueue Statistics API fields, please refer to our documentation on TaskQueue Real-time Statistics and TaskQueue Cumulative Statistics.


Marketing Campaigns

Segment-triggered Automations GA

Automation (available within the Advanced Marketing Campaigns plan) now supports a new entry criteria option to trigger an automation when a contact joins a segment. This also expands the functionality of the exit criteria, automatically removing contacts when they no longer match the entry criteria (i.e., they’re no longer in the segment). For more information, see the documentation in the Knowledge Center


Programmable Voice

Client Insights preview API shutdown Deprecated

The beta for Client Insights ended on August 5, 2019 and was superseded by the general availability of Voice Insights. The Client Insights Dashboard was removed from Console at that time, though we have continued to respond to requests made to the preview API. Twilio will cease responding to API requests to preview resources on May 1, 2020. Any HTTP requests to preview resources after this date will result in a 404 response from the API.

If your application is currently making requests to any of the preview API endpoints described below, you will need to migrate to the new Voice Insights API endpoints.

 Preview API Endpoint URI Superseded by
 Client Summary https://preview.twilio.com/insights/Calls/{call_sid}/SummarySummary API
 Client Events https://preview.twilio.com/insights/Calls/{call_sid}/EventsEvents API
 Client Metrics https://preview.twilio.com/insights/Calls/{call_sid}/MetricsMetrics API
 Client Reports https://preview.twilio.com/insights/Calls/Report N/A


For more information see https://www.twilio.com/docs/voice/insights/client-insights-preview-api-shutdown


Serverless

Twilio Functions now deploy to NodeJS version 10 Beta

Twilio Functions lets you deploy NodeJS code into Twilio's serverless environment to handle communications events in support of your applications. Functions can be deployed via API or UI. Previously, Functions deployed via the API used NodeJS version 10, but Functions deployed via UI used NodeJS version 8. NodeJS version 8 is now End Of Life. From today all Functions deployed, either via UI or API use NodeJS version 10. Click here for more information about the upgrade.


Twilio Authy now supports delivering time-based one-time passwords via email, this expands upon its existing set of SMS, Voice and Authy app authentication channels. Email delivery is achieved through an integration with Twilio Sendgrid.

You can read more here.


Twilio Verify adds Email to its existing SMS and Voice channels for one-time password delivery, leveraging an integration with Twilio Sendgrid. With this addition, you now have one API to verify all your users, even those without phone numbers.

You can read more here.


Programmable Voice

Voice Insights Dashboard now supports multidimensional queries GA

Voice Insights Dashboard in Console has added the ability to filter on multiple aspects of call data to return more precise results when investigating call issues. 

Previously users could filter results by one of the following: Phone Number, Carrier, Country Code, Number Prefix, Device Type, SIP Response, and Call State.

With the release of multidimensional queries, users can filter on multiple aspects, so instead of merely filtering calls to Norway, you can now filter on calls to Norway, that reached mobile phone destinations, within specific prefixes, that resulted in a particular SIP response code, etc.

For more information see the Voice Insights Dashboard docs


Verify

Automatic SMS Verification Support on Android GA

Verify v2 now supports passing an app_hash for Android developers using the SMS Retriever API. With this feature, you can perform SMS-based user verification in your Android app automatically, without requiring the user to manually type verification codes, and without requiring any extra app permissions. Support for this already exists in Verify v1 and has now been added to Verify v2. Please see the Verify v2 API docs for details on the verification request parameters.


Verify

Do Not Share Warning GA

To warn end-users against man-in-the-middle phishing attacks, we have added a feature to append a security warning to the end of your verification SMS body in Verify v2. This can be enabled by setting do_not_share_warning_enabled to true when creating your v2 Service via the API or in the Console on your Service settings page.


Programmable Voice

Pass TwiML with Call Initiation Requests GA


The Programmable Voice Calls REST API now accepts TwiML when making outbound calls. Prior to this change, you were required to provide an absolute URL that Twilio would use to retrieve TwiML from your application. This change allows you to provide TwiML instructions when initiating a call with the REST API so that when the call is answered, Twilio immediately starts executing the TwiML instructions. This reduces webhook related delays and provides a simplified call set up mechanism. For more details on passing TwiML when launching an outbound call, check out How To Make Outbound Phone Calls.


Programmable Voice

Voice Insights Tagging Changes for SDK calls GA

Voice Insights has updated the jitter and packet loss thresholds for Voice SDK calls to reduce the number of false positives and improve the diagnostic capability of Voice Insights data. 

Previously tags were applied to Voice SDK calls in response to network and audio warning events fired by the SDK. We have updated the tagging scheme for these calls to use the same thresholds as our gateway metrics for jitter and packet loss, and to use the cumulative metrics for the entire call instead of samples.

As a result of these changes consumers of the Voice Insights Call Summary API should expect to see a significant reduction in the number of calls tagged with SDK edge tags.

Note: the SDK events will continue to fire at the previously defined thresholds, and the events will continue to be sent to Voice Insights Event stream. This allows application developers to continue to provide the same level of proactive notification and prescriptive instruction in their applications to ensure optimal call quality.


Programmable Voice

Voice Insights Events and Metrics API Beta

Voice Insights Events and Metrics are now available via API allowing near-real time access to call quality data for all call types. 

Voice Insights Events include call progress events like ringing and completed for carrier and SIP calls, and quality events like network quality warnings and audio level alerts for Voice SDK calls. 

Voice Insights Metrics provide a time series view of key performance indicators like jitter and packet loss to help identify the precise timing and severity of quality issues on calls. 

Voice Insights Events and Metrics API access is included as part of Voice Insights Advanced Features which can be enabled in Voice Insights Settings.


SendGrid Email API

Pro Plan Price and Feature Updates GA

The Twilio SendGrid Pro, Silver, Gold, Platinum and Legacy Premier 2.5M plans have changed. These changes include a new price and new features. To see updated pricing visit our pricing page.

Some plans also have new names. Silver, Gold, and Platinum plans are now Pro 100K, Pro 300K, and Pro 700K respectively.

We’ve also extended Email Activity history from 3 to 7 days included with all Pro plans, and launched Email Testing for Dynamic Templates. We are committed to continued investment in our infrastructure and innovation to provide the best-in-class features you need to build exceptional experiences with email. You can review past invoices and update your Plan and Billing Details in the SendGrid application. If you have any questions please reach out to our knowledgeable support team.


Programmable Video

Video Javascript SDK 2.0 GA GA

Twilio Video Javascript SDK 2.0 is now GA! Thank you to all our beta users and for all the feedback you sent us during the beta period.

Twilio Video Javascript SDK 2.0 introduces the Track Priority API, Network Bandwidth Profile API, Reconnection States and Events, and the Region Selection API.

Track Priority and Network Bandwidth Profile API gives developers the ability to specify how bandwidth should be allocated between video tracks. Furthermore, the three profiles, (“grid”, “collaboration”, and “presentation”), specify when tracks should be switched off (or not) to conserve bandwidth for the highest priority tracks.

The Reconnection States and Events will automatically attempt to reconnect when a transient network error is encountered.

With Region Selection API, the SDK will automatically connect to the lowest latency data center. This API can also be configured to connect to a specific data center for cases where compliance might be required.

If migrating from a 1.x version, please refer to our migration guide.

To get started with Twilio Video JS, check our Getting Started Guide


The path of the executing Function is now available in the context object at runtime, allowing you to reconstruct the full Function URL for use in your application.

Example:

exports.handler = function(context, event, callback) {
    callback(null, 'https://' + context.DOMAIN_NAME + context.PATH);
};

Full structure available from the context:

{
  "PATH":"/contextpath",
  "ENVIRONMENT_VARIABLE":"ENVIRONMENT_VALUE",
  "ACCOUNT_SID":"ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "DOMAIN_NAME":"funny-name-1234.twil.io"
}

The context path is available in both Console-created Functions and those created via the API.

For more information about Twilio Functions, check the Runtime documentation.


API Keys now supported for Media upload Beta

The most common way to access Twilio REST API is by using your primary Account SID and token. However, you may want to implement a separate access policy for different developers or subparts of your application by utilizing API Keys instead. This allows you to revoke access easily and at the right granularity.

Now, you are able to use the very same API Keys method for authenticating with Media Content Service (mcs.us1.twilio.com) to upload any attachments you would like to be sent over Programmable Chat.

Read more about API Keys support in the documentation.


Twilio SendGrid Platform

Designs API GA

We’ve added a brand new Designs API, allowing you to easily create, edit, download, or delete Email Designs without relying on the SendGrid app UI. You can use the Designs you’ve created across all of your Twilio SendGrid Email—from Automations, to Single Sends, and Dynamic Templates. For more about working with the API, see our API Reference.


Twilio SendGrid Platform

Email Content Testing for Dynamic Templates GA

Test your email content against spam filters, validate hyperlinks, and preview HTML rendering across browsers and devices with Email Testing for Dynamic Templates. Monthly testing credits included for Trial, Pro and Premier plans, with additional credits available for purchase. See our Email Testing documentation for more details.

We've made some improvements to Transactional Templates. We've renamed them to Dynamic Templates since they can be used to build the content for any type of email message sent over our Email API. They can be found in the app’s sidebar navigation under both the new “Email API” navigation item or the “Templates” navigation item. We've also eased ongoing template management by adding thumbnail images and allowing duplication of entire templates as well as the individual versions within a template.

For more, see our blog post about working with Dynamic Templates.


Show more