v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-02-054014269.7 KB
ChatV1Message

post/v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages

Path parameters

ServiceSidstring required

The SID of the Service to create the resource under.

ChannelSidstring required

The unique ID of the Channel the new resource belongs to. Can be the Channel resource's sid or unique_name.

Response

Created

sidstring nullable

The unique string that we created to identify the Message resource.

account_sidstring nullable

The SID of the Account that created the Message resource.

attributesstring nullable

The JSON string that stores application-specific data. Note If this property has been assigned a value, it's only displayed in a FETCH action that returns a single resource; otherwise, it's null. If the attributes have not been set, {} is returned.

service_sidstring nullable

The SID of the Service the resource is associated with.

tostring nullable

The SID of the Channel that the message was sent to.

channel_sidstring nullable

The unique ID of the Channel the Message resource belongs to.

date_createdstring date-time nullable

The date and time in GMT when the resource was created specified in RFC 2822 format.

date_updatedstring date-time nullable

The date and time in GMT when the resource was last updated specified in RFC 2822 format.

was_editedboolean nullable

Whether the message has been edited since it was created.

fromstring nullable

The identity of the message's author. The default value is system.

bodystring nullable

The content of the message.

indexinteger

The index of the message within the Channel.

urlstring uri nullable

The absolute URL of the Message resource.