Twilio Conversations
Explore how to use Twilio’s Conversations API to create multi-channel communication spaces. Learn to set up Conversations, add SMS participants, generate access tokens, and run a demo chat app that synchronizes messages across SMS and online chat.
Twilio’s Conversations API builds virtual spaces (“Conversations”) for users to communicate across multiple channels. Instead of building separate solutions for online chat versus SMS or WhatsApp engagement, we can provide the communication experience across all of them using one API.
In this lesson, we will interact with a demo Conversations application. We can find the code of this application here. To get the demo application up and running, we need to go through the below steps:
- Create a Conversation.
- Add an SMS participant to the Conversation.
- Create an Access Token.
- Add a token to the demo Conversations application. At this point, the application gets connected, but there are no Conversations listed yet.
- Add a second participant to the Conversation.
- After adding the second participant, we can see ourConversation listed in the sidebar. Select the Conversation and start conversing.
Create the first Conversation
The first step in using ...