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
- In the Twilio Console, select Builder tools in the left sidebar.
- Select Sync, then Services.
- In the Name column, select the Service the Stream belongs in.
- Select the Streams tab.
- Select Create new Message Stream.
- 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.
- In Time to live (seconds), enter how long before the Stream expires and is deleted. Enter 0 for a Stream that never expires.
- 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.