---
schema_version: "1"
id: 51dadb711e967f597436437429e7649d3a44764eafcba35ad524fe5f6cbfa871
title: Upgrading and Migrating Twilio Connector to Version 4.x
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/twilio-connector/latest/twilio-connector-upgrade-migrate.md
canonical_url: https://docs.mulesoft.com/twilio-connector/latest/twilio-connector-upgrade-migrate
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 99c59b7d06f618b79480c4898b0b4f141a3c888f8ab48c6b1c788785775c439c
description: MuleSoft Documentation Site
release: "4.2"
latest: true
---
---
product: Twilio Connector
version: 4.2
is-latest-version: true
---

# Upgrading and Migrating Twilio Connector to Version 4.x

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Upgrade Anypoint Connector for Twilio (Twilio Connector) from version 3.x.x to version 4.x.x to take
advantage of new functionality.

## Supported Upgrade Paths

<table><colgroup><col> <col></colgroup><thead><tr><th>From Version</th><th>To Version</th></tr></thead><tbody><tr><td><div><div><p>3.x.x</p></div></div></td><td><div><div><p>4.x.x</p></div></div></td></tr></tbody></table>

## Changes in This Release

- Changed the prefix for all connector operations from `twilio-connector` to `twilio`.

- Removed the prefix `property_` from the connector configuration. For example, `property_username=`
  is now `username=`, and `property_password=` is now `password=`.

- Changed the Redact Message operation name to Update Message.

- Changed the Get Message List operation name to List Message Old and added the following new fields
  to the operation:

  - Date Sent<

  - Date Sent>

  - Page Size

- Changed the Get Media List operation name to List Media Old and added the following new fields to
  the operation:

  - Date Created<

  - Date Created>

  - Page Size

- The Get Media operation name changed to Fetch Media.

- The Get Message operation name changed to Fetch Message.

- The Send Message operation name changed to Create Message.

## New Operations

Added 124 new operations for Twilio Connector 4.0. These operations include:

<table><colgroup><col> <col></colgroup><thead><tr><th>Twilio Operation</th><th>Description</th></tr></thead><tbody><tr><td><p>Create Account</p></td><td><p>Creates a new Twilio subaccount from the account making the request.</p></td></tr><tr><td><p>Create address</p></td><td><p>Creates a new address within your account.</p></td></tr><tr><td><p>Create Application</p></td><td><p>Creates a new application within your application.</p></td></tr><tr><td><p>Create Call</p></td><td><p>Creates a new outgoing call to phones, SIP-enabled endpoints, or Twilio client connections</p></td></tr><tr><td><p>Delete Key</p></td><td><p>Deletes an API key. This revokes its authorization to authenticate to the REST API and invalidates all access tokens generated using its secret.</p></td></tr><tr><td><p>Delete Queue</p></td><td><p>Removes an empty queue.</p></td></tr><tr><td><p>Delete Recording</p></td><td><p>Deletes a recording from your account.</p></td></tr><tr><td><p>Fetch Balance</p></td><td><p>Fetches the balance for an account based on the account SID. Balance changes might not be reflected immediately. Child accounts do not contain balance information.</p></td></tr><tr><td><p>Fetch Conference</p></td><td><p>Fetches an instance of a conference.</p></td></tr><tr><td><p>Update Payments</p></td><td><p>Update an instance of payments with different phases of payment flows.</p></td></tr><tr><td><p>Update Sip Credentials</p></td><td><p>Updates a credential resource.</p></td></tr></tbody></table>

## Upgrade Prerequisites

Before you perform the upgrade, you must create a backup of your files, data, and configurations in
case you need to restore to them.

## Upgrade Steps

Follow these steps to perform the upgrade:

1.  In Anypoint Studio, create a Mule project.

2.  In the **Mule Palette** view, click **Search in Exchange**.

3.  In **Add Dependencies to Project**, enter `twilio` in the search field.

4.  In **Available modules**, select **Twilio Connector** and click **Add**.

5.  Click **Finish**.

6.  Verify that the Twilio Connector dependency version is 4.0.0 in the `pom.xml` file in the Mule
    project.

Studio upgrades the connector automatically.

## Verify the Upgrade

After you install the latest version of the connector, follow these steps to verify the upgrade:

1.  In Studio, verify that there are no errors in the **Problems or \*Console** views.

2.  Verify that there are no problems in the project `pom.xml` file.

3.  Test the connection to verify that the operations work.

## Revert the Upgrade

If it is necessary to revert to the previous version of Twilio Connector, change the `4.0.0`
dependency version in the project’s `pom.xml` file to the previous version.

You must update the project’s `pom.xml` file in Anypoint Studio.

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [Twilio Connector Reference](https://docs.mulesoft.com/twilio-connector/latest/twilio-connector-reference)

- [Salesforce Help](https://help.salesforce.com)
