Send a new message into a chat

Sends a new message into the given chat, and returns the created message in full, exactly as a subsequent GET of the message would. The sender is required and must be the authenticated app making the request; posting under an alias or on behalf of another user or app is not permitted. The body carries the structured body and any attached files.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Globally unique identifier for a chat; a c- prefixed string.

Body Params

Parameters for sending a new message into a chat.

sender
object
required

The message sender. Required, and must be the authenticated app making the request — an app sender carrying your own app identity. Posting under an alias or on behalf of another user or app is not permitted.

files
array of objects

Attachments to include with the message.

files
body

The structured body of a message. Always has a discriminated content type indicating how clients should render it. Serialised with an @type discriminator. On send and edit only markdown and empty may be supplied; the remaining variants are response-only.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json