Configure BYO SMS for Twilio
- Genesys Cloud CX 1 Digital Add-on II, Genesys Cloud CX 2, Genesys Cloud CX 2 Digital, Genesys Cloud CX 3, or Genesys Cloud CX 3 Digital license
The following permissions:
- Integrations > Integration > Add
- Integrations > Integration > Delete
- Integrations > Integration > Edit
- Integrations > Integration > View
- SMS > phoneNumber > All
If you have an existing relationship with Twilio for SMS services, you can use the Bring Your Own (BYO) SMS feature to integrate your existing Twilio account into Genesys Cloud. You can then send and receive SMS messages with your customers using all the Genesys Cloud SMS capabilities.
For BYO SMS pricing, see Genesys Cloud fair use policy.
Provision SMS Numbers with Genesys Cloud inbound Webhook
Before you can add your Twilio SMS numbers to your BYO SMS Twilio integration, you must provision your SMS numbers to use the Genesys Cloud inbound Webhook. To do so, you provision the appropriate Genesys Cloud Webhook URL for your region on each SMS number. For more information, see the Webhooks article in Twilio Docs.
Configuring Webhooks for 10DLC numbers
If you are using US 10DLC numbers, which have been registered, then you may discover that Twilio places those numbers in a Messaging Service. In this case, Genesys recommends that you select the Defer to sender’s webhook option in the webhook configuration for the Messaging Service and provision your SMS numbers to use the Genesys Cloud inbound Webhook.
Region-specific Genesys Cloud Webhook URLS |
---|
US East (N. Virginia) https://byosms.mypurecloud.com/vendors/v1/twilio/a906d2848ad146028e8805a8bbaa24d3/mo |
US East (Ohio) https://byosms.use2.us-gov-pure.cloud/vendors/v1/twilio/60b5013a2511482999b30b6db5ec67d8/mo |
US West (Oregon) https://byosms.usw2.pure.cloud/vendors/v1/twilio/b1adfe3a944c428bbc65d953bb8629b2/mo |
Canada (Canada Central) https://byosms.cac1.pure.cloud/vendors/v1/twilio/1190471d172842c283dc5376a92df73d/mo |
South America (Sao Paulo) https://byosms.sae1.pure.cloud/vendors/v1/twilio/44e8a8cd75f849b18ab6fc8bbad9a057/mo |
Europe (Frankfurt) https://byosms.mypurecloud.de/vendors/v1/twilio/3d904439dc3f4eceb2e574b43c8f5ac5/mo |
Europe (Ireland) https://byosms.mypurecloud.ie/vendors/v1/twilio/a123cbc6467b48ccbdccc3e03fd30f4d/mo |
Europe (London) https://byosms.euw2.pure.cloud/vendors/v1/twilio/f5c59e8b3a1345739ebd4564a340e526/mo |
Europe (Zurich) https://byosms.euc2.pure.cloud/vendors/v1/twilio/FhcOBGsMEALrQfWsxH1LQy39tzI3F3qk/mo |
Middle East (UAE) https://byosms.mec1.pure.cloud/vendors/v1/twilio/N1aXOj92NXNBA21KqdkZfA3kFjdmAM2B/mo |
Asia Pacific (Osaka) https://byosms.apne3.pure.cloud/vendors/v1/twilio/yXaIsznST36qG0qy7UAP4mWlsHDHh0E0/mo |
Asia Pacific (Seoul) https://byosms.apne2.pure.cloud/vendors/v1/twilio/2e58f741f7a547b49c15c64dfb305361/mo |
Asia Pacific (Sydney) https://byosms.mypurecloud.com.au/vendors/v1/twilio/97b4889e04514098a34715f0c216bf7b/mo |
Asia Pacific (Tokyo) https://byosms.mypurecloud.jp/vendors/v1/twilio/b7c9a0818bc343379513f713247b56ce/mo |
Asia Pacific (Mumbai) https://byosms.aps1.pure.cloud/vendors/v1/twilio/b462e102a5414620bc6f002bc561595d/mo |
- If a Twilio number does not have a webhook URL set up before you try to import, Genesys Cloud rejects the import request.
- Genesys Cloud’s BYO SMS does not support Twilio’s secondary AuthTokens option.
Set up the BYO Twilio SMS integration
To set up the BYO Twilio SMS integration, perform these steps:
- Click Admin.
- Under Integrations, click Integrations.
- Click Integrations.
- Locate the Bring Your Own Twilio SMS Account Configuration tile.
- Go to the Genesys AppFoundry.
- Search for the BYO Twilio SMS integration.
- To add the BYO Twilio SMS integration to your Genesys Cloud organization, follow the instructions.
- Click Install. The Bring Your Own Twilio SMS Account Configuration screen appears.
- (Optional) On the Details tab, customize the name of your integration and add notes. Note: Genesys recommends that you use the name and notes to identify the Twilio account you are using.
- Click the Configuration tab.
- Click the Credentials tab.
- Click Configure. The Configure Credentials dialog box appears.
- In the Account SID box, type the SID for your Twilio account.
- In the Authorized Token box, type the Authorized Token for your Twilio account. Note: Genesys Cloud encrypts your Twilio credentials and stores them in a secure environment. For more information, see How does Genesys Cloud handle credentials?.
- Click OK.
- Click Save.
- Set the Status to Active.
Add your numbers to the SMS Number Inventory
After you set up your BYO Twilio SMS integration, you are ready to add your numbers to the SMS Number Inventory. You can only add one number at a time.
To add your SMS numbers, perform these steps:
- Click Admin.
- Under Message, click SMS Number Inventory.
- When the SMS Number Inventory page appears, click Add numbers.
- Click Import. The Import Number dialog appears.
- From the Integration list, select the integration from which you want to import numbers.
- From the Type list, select the type of number you are importing.
- If you select Local, Mobile, or Toll-free:
- In the Sender ID box, type a number using the E164 format.
- If you select Shortcode:
- From the Country list, select the country.
- In the Sender ID box, type a number.
- If you select Local, Mobile, or Toll-free:
- Click Next.
- If you select Shortcode from the Type list, the Required interaction dialog appears and you must fill in the information on each of the three tabs.
- On the Help tab:
- In the Keywords box, enter the help keywords you want to use.
- In the Message box, enter the message that you want to send to customers in response to a help request.
- On the Opt-out tab:
- In the Keywords box, enter the opt-out keywords you want to use.
- In the Message box, enter the message that you want to send to customers in response to an opt-out request.
- On the Re Opt-in tab:
- In the Keywords box, enter the opt-in keywords you want to use.
- In the Message box, enter the message that you want to send to customers in response to an opt-in request.
- On the Help tab:
- Click Confirm import. Genesys Cloud retrieves the SMS number data and then returns you to the SMS Number Inventory page. A toast appears at the top of the page telling you that the number import was successful.
For more information, see Manage your SMS long code number inventory.
Deactivating a Twilio SMS integration in Genesys Cloud is temporary. When you deactivate an integration, all numbers imported for this integration are disabled in the SMS Number Inventory. However, while any inbound messages transfer from Twilio to Genesys Cloud, they are dropped. In other words, they will not route to any queues you set up.
If you do not want inbound messages and delivery reports to be sent from Twilio to Genesys Cloud while the integration is deactivated, change the webhooks for the numbers to something other than the Genesys Cloud Webhook URL.
- Deactivating a Twilio SMS integration in Genesys Cloud does not deactivate the numbers in your Twilio account.
- If you later decide to reactivate the Twilio SMS integration, change the webhook URL back to the Genesys Cloud webhook URL.
For more information about the Twilio console, see Twilio’s Webhooks article. For more information about how to deactivate an integration, see Edit, deactivate, or delete an integration.
When you delete a BYO SMS Twilio integration in Genesys Cloud, you should change the Inbound Webhook URL for every number in your Twilio console back to its original configuration. If you do not change the Webhook URL, inbound messages will continue to route to Genesys Cloud, where those messages will be dropped. The messages do not route to any queues you set up.
For more information about the Twilio console, see Twilio’s Webhooks article. For more information about how to delete an integration, see Edit, deactivate, or delete an integration.
If you receive an error while you integrate your existing Twilio account into Genesys Cloud, use this table to find out more information.
Message | Description |
---|---|
Please check the Integration for BYO Sender ID. | This message appears when the request is sent to the back-end service and the integration is missing the Sender ID. |
Please provide the required compliance keywords and messages for your Sender ID. |
This message appears when any of the compliance information is missing. Check the fields on the three tabs in the Required interaction dialog:
|
Please check your Sender ID type. |
This message appears when either the phone number or short code is incorrectly formatted.
|
Please check your Sender ID country code. | This message appears when the phone number and the country code do not match. |
A provisioning action is already in progress for this phone number address. | This message appears if you attempt to resubmit a request that is already provisioned. Some numbers take longer to provision. |
This Phone Number address is not available for provisioning. Please select a different phone number address and try again. | This message appears when the phone number has already been provisioned in another organization. |
This phone number cannot be found with the vendor. | This message appears when the phone number does not exist in the Twilio subaccount. |