SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How do I create a Message Stream?

Objective

This article helps you create a Message Stream inside one of your Sync Services. A Message Stream carries ephemeral messages to every subscriber in real time, which suits fire-and-forget signals such as typing indicators or live telemetry.

 

Product

Twilio Console

 

Environment

Twilio Console

 

User Account Permission/Role(s) Required

Your user role must allow listing Twilio Sync Services to open the Streams tab, and creating them to add a Message Stream.

 

Procedure

  1. In the Twilio Console, select Builder tools in the left sidebar.
  2. Select Sync, then Services.
  3. In the Name column, select the Service the Stream belongs in.
  4. Select the Streams tab.
  5. Select Create new Message Stream.
  6. In Unique name, optionally enter a name that identifies this Stream within its Service. You can use it in place of the SID, and it cannot be changed later.
  7. In Time to live (seconds), enter how long before the Stream expires and is deleted. Enter 0 for a Stream that never expires.
  8. Select Create. The console confirms the new Stream's SID and the Stream appears in the table.

 

Additional Information

  • Time to live must be between 0 and 31536000 seconds (one year). 0 means the Stream never expires, shown as Never in the Expires column.
  • The unique name can be up to 320 characters and is only settable at creation time.
  • A Message Stream has no detail page. Everything you can do with a Stream publishing a message, changing its expiry, deleting it is on its row actions menu in this table.
  • Messages sent through a Stream are not stored, so the console shows no message history.

 

This content was generated by AI and reviewed, edited, and verified by a human.

Have more questions? Submit a request
Powered by Zendesk