A Stream Message is a JSON message that can be sent at a high rate to an elastic group of subscribers.
sid
type: SID<TZ>The unique string that we created to identify the Stream Message resource.
^TZ[0-9a-fA-F]{32}$
34
34
data
type: objectAn arbitrary, schema-less object that contains the Stream Message body. Can be up to 4 KiB in length.
POST https://sync.twilio.com/v1/Services/{ServiceSid}/Streams/{StreamSid}/Messages
Publishes a new message to the Stream. The message contains an arbitrary JSON object that is serialized and percent-encoded as a POST
parameter.
ServiceSid
type: stringThe SID of the Sync Service to create the new Stream Message in.
StreamSid
type: stringThe SID of the Sync Stream to create the new Stream Message resource for.
Data
type: objectRequiredA JSON string that represents an arbitrary, schema-less object that makes up the Stream Message body. Can be up to 4 KiB in length.