Create a message
Creates a new message in a conversation. Supports JSON and multipart/form-data with file attachments.
Authorizations
Your personal access token from Settings → Profile, or a scoped API key (hc_…) created at Settings → Developer → API keys. Send it as Authorization: Bearer <token>.
Path Parameters
Account ID
Conversation display ID
Body
Message payload
Message text. A message needs text or an attachment.
"Hello from the HueChat API!"
Defaults to outgoing. Numeric values map to incoming (0), outgoing (1), activity (2), and template (3). Channel and conversation permissions still apply.
incoming, outgoing, activity, template Create an internal note when true.
Message content format, such as text.
Attributes for the selected content format.
Client correlation identifier.
External message identifier, where supported.
Response
OK
The response is of type object.

