---
title: "POST /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages"
method: POST
path: "/v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages"
tags: ["ChatV1Message"]
---

# POST /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages

`POST /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages`

## Path parameters

- `ServiceSid` string, required
- `ChannelSid` string, required

## Response `201`

Created

- ChatV1ServiceChannelMessage
  - `sid` string, nullable — The unique string that we created to identify the Message resource.
  - `account_sid` string, nullable — The SID of the [Account](https://www.twilio.com/docs/api/rest/account) that created the Message resource.
  - `attributes` string, 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_sid` string, nullable — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) the resource is associated with.
  - `to` string, nullable — The SID of the [Channel](https://www.twilio.com/docs/chat/api/channels) that the message was sent to.
  - `channel_sid` string, nullable — The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the Message resource belongs to.
  - `date_created` string, date-time, nullable — The date and time in GMT when the resource was created specified in [RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.
  - `date_updated` string, date-time, nullable — The date and time in GMT when the resource was last updated specified in [RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.
  - `was_edited` boolean, nullable — Whether the message has been edited since it was created.
  - `from` string, nullable — The [identity](https://www.twilio.com/docs/api/chat/guides/identity) of the message's author. The default value is `system`.
  - `body` string, nullable — The content of the message.
  - `index` integer — The index of the message within the [Channel](https://www.twilio.com/docs/chat/api/channels).
  - `url` string, uri, nullable — The absolute URL of the Message resource.

---

[API](https://skmtc.net/twilio/apis/chat-v1.md) · [All operations](https://skmtc.net/twilio/apis/chat-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twilio/chat-v1/versions/fff965e890d6/schema)
