Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Moving to Proxy Beta from Developer Preview


Proxy is now available in beta. If you are a customer who previously used the developer preview version of Proxy, you will need to update your code to use the new version.

There is no data migration between the preview version and the beta version. All objects must be created anew.


Changes from preview to beta

changes-from-preview-to-beta page anchor

Here we've collected the largest sticking points to keep in mind when moving your application to beta from developer preview. These sections detail how to

Create a new Service using Proxy public beta

create-a-new-service-using-proxy-public-beta page anchor

Via the API, the URL for Proxy changes.

NEW Beta version

new-beta-version page anchor

https://proxy.twilio.com/v1/Services

(OLD Preview version)

old-preview-version page anchor

https://preview.twilio.com/Proxy/Services

In the helper libraries, the pattern is to drop the preview reference in your code.

For example, in Node.js, the code for creating a Service changes from:

New Node.js beta example

new-nodejs-beta-example page anchor

_11
client.proxy.services
_11
.create({
_11
uniqueName: 'My Awesome Service',
_11
callbackUrl: 'https://www.example.com/',
_11
})
_11
.then(response => {
_11
console.log(response);
_11
})
_11
.catch(err => {
_11
console.log(err);
_11
});

(Old Node.js preview code)

old-nodejs-preview-code page anchor

_10
client.preview.proxy.services.create(
_10
_10
friendly_name: 'My Awesome Service',
_10
_10
callback_url: 'https://www.example.com/'
_10
_10
)

NOTE: friendly_name is now unique_name. This is a required change in Proxy beta!
For examples in all six supported languages and cURL on how to make this change, refer to the quickstart guide.


To add phone numbers to your new service, follow the steps in the updated quickstart guide. If you add phone numbers to the beta service currently attached to your developer preview service, they will move to be associated with the newly created service.


Proxy beta resource specific changes

proxy-beta-resource-specific-changes page anchor

Also note the changes for Proxy Beta on specific resources. This page details the changes you'll need to make note of while moving to beta.

See the REST resource page for Proxy Service for descriptions of the new parameter features.

Old fieldNew fieldNotes
FriendlyNameUniqueNameMust be a unique name per service.
OutOfSessionCallbackUrl
InterceptCallbackUrl
GeoMatchLevel
NumberSelectionBehavior
DefaultTtl

See the REST resource page for Proxy Session for descriptions of the new parameter features.

Old fieldNew fieldNotes
StartTimeDateStarted
EndTimeDateEnded
Mode
DateLastInteraction
ClosedReason

See the REST resource page for Proxy Interaction for a description of Data.

Old fieldNew fieldNotes
DescriptionData

See the REST resource page for Proxy Participant for a description of DateDeleted.

Old fieldNew fieldNotes
DateDeleted

Rate this page: