Configure with Messaging Service (advanced)

This Twilio product is currently available as a Beta release. Some features are not yet implemented and others may be changed before the product is declared as Generally Available. Use of this Beta release is subject to the relevant terms of the applicable license agreement. Beta products are not covered by a Twilio SLA. Learn more about beta product support.

Flex Conversations requires Flex UI 2.0. If you are on Flex UI 1.x, please refer to Chat and Messaging pages.

Note that this is an advanced configuration and is fully optional. It is not required if you already performed the simple configuration.

If you don’t have a specific use case for Messaging Service, we recommend omitting it. If you do configure your phone numbers with a Messaging Service, then you need to also configure the following settings.

Set the default Conversation Service

For accounts created in or after December 2021, this will be configured correctly out-of-box. Also, the Conversations prerequisites UI in Flex Console will prompt you to fix this before you can create your first Conversations Addresses via Flex Console.

To make sure your default Conversation Service is set correctly, navigate to Conversations > Manage > Defaults. If one of the options is Default Conversation Service dropdown is Flex Chat Service or Flex Conversation Service, select this one.

Screen Shot 2022-03-16 at 11.39.50 AM.png

Enable “Handle inbound Messages with Conversations”

For accounts created in or after December 2021, this will be configured correctly out-of-box.

Again under Conversations > Manage > Defaults, turn on the toggle “Handle Inbound Messages with Conversations” (if it is not already enabled). This will unhide some Console functionality.

Screen Shot 2022-03-16 at 11.41.00 AM.png

Configure Incoming Messages setting

The prerequisite is that the configured number is in the Messaging Service’s sender pool. This is taken care of automatically when you set the Messaging Service under your phone number’s settings. You can find the documentation on sender pools here.

Go to Messaging > Services > Default Conversations Service > Integration. Under Incoming Messages, choose “Autocreate a Conversation” as the way to handle inbound messages.

Screen Shot 2022-03-16 at 11.41.58 AM.png

Configure an SMS number with Messaging Service

Under Phone Numbers > Manage > Active numbers, find the number you wish to configure and open it. Configure that number to use your Default Conversations Service.

Screen Shot 2022-03-16 at 11.43.22 AM.png

The “A message comes in” handler will not be triggered if you configured the Incoming Messages handler on Messaging Service as instructed above.

Configure a WhatsApp number with Messaging Service

For WhatsApp Sandbox, please refer to Manage Conversations WhatsApp Addresses page.

Navigate to Messaging > Senders > WhatsApp senders. Open the WhatsApp number, set the Messaging Service to your default Messaging Service.

Screen Shot 2022-03-16 at 11.44.22 AM.png

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

Thank you for your feedback!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more