Create a Conversation, Add a Participant, and Send a Message
A 3-step recipe with Twilio. We can help you get access.
Recipe · 3 steps
Create a Conversation, Add a Participant, and Send a Message
with Twilio
Create a conversation, add an SMS participant, and send the first message.
- Create the conversation thread that will hold the participant and messages.
- Add a participant to the conversation, bound to their messaging address and the Twilio proxy address.
- Post the opening message into the conversation.
What you'll need to have ready
- friendlyName: Optional human-readable name for the conversation.
- participantAddress: The participant's address (e.g. their phone number in E.164).
- proxyAddress: The Twilio phone number used as the proxy for the participant.
- author: Optional author identity for the opening message.
- body: The text content of the opening message.
For your developer
Arazzo workflow twilio:create-conversation-add-participant-send-message, 3 operations: CreateConversation → CreateConversationParticipant → CreateConversationMessage. Specs on APIs.io.