---
title: "Send a Chat Message"
method: POST
path: "/chatroom-messages/"
---

# Send a Chat Message

`POST /chatroom-messages/`

## Request body

- object
  - `chat_room_id` string, required
  - `sender_image_url` string
  - `badge_image_url` string
  - `sender_profile_url` string
  - `message_event` 'message-created' | 'image-created', required
  - `sender_nickname` string
  - `program_date_time` string, date
  - `message` string, required — this field is required when message_event is message-created
  - `image_url` string — this field is required when message_event is image-created
  - `image_height` integer
  - `image_width` integer
  - `quote_message_id` string
  - `quote_message` object — this field contains message object, and must follow all the required parameters for message
  - `message_metadata` object
  - `parent_message_id` string — parent message for this specific reply in the message thread
  - `mentions` object[] — Details of the mentioned profiles and their location in the message
  - `attributes` object[] — A list of key/val pair attributes. [{"key": "key1", "value": "val1"},...]

## Response `201`

201

## Other responses

- `400` — 400

---

[API](https://skmtc.net/livelike/apis/engagement-suite.md) · [All operations](https://skmtc.net/livelike/apis/engagement-suite/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/livelike/engagement-suite/revisions/f3171d1c30f7/schema)
