v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14191644620.9 KB

Sends a message to a particular channel that the member is a part of.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

Also, STANDARD messages can contain 4KB of data and the 1KB of metadata. CONTROL messages can contain 30 bytes of data and no metadata.

post/channels/{channelArn}/messages

Path parameters

channelArnstring required

The ARN of the channel.

Headers

x-amz-chime-bearerstring

The <code>AppInstanceUserArn</code> of the user that makes the API call.

Request body

Contentstring password required

The content of the message.

Type'STANDARD' | 'CONTROL' required

The type of message, <code>STANDARD</code> or <code>CONTROL</code>.

Persistence'PERSISTENT' | 'NON_PERSISTENT' required

Boolean that controls whether the message is persisted on the back end. Required.

Metadatastring password

The optional metadata for each message.

ClientRequestTokenstring password required

The <code>Idempotency</code> token for each client request.

Response

Success

ChannelArnstring

The ARN of the channel.

MessageIdstring

The ID string assigned to each message.