---
title: "Send a Custom Chat Message"
method: POST
path: "/{chat_room_id}/custom-messages/"
---

# Send a Custom Chat Message

`POST /{chat_room_id}/custom-messages/`

## Request

- Base URL: `https://cf-blast.livelikecdn.com/api/v1/chat-rooms`
- URL: `https://cf-blast.livelikecdn.com/api/v1/chat-rooms/{chat_room_id}/custom-messages/`
- Auth: none required

Send a custom message to a chat room.  This can be used to send rich data as a chat message that can be interpreted by the SDK to perform some action or display additional content.

## Path parameters

- `chat_room_id` string, required

## Request body

- object
  - `custom_data` string, required: String data to send with the chat message. Typically contains a string JSON payload to be decoded by the client SDK
  - `program_date_time` string, date: ISO-8601 Program Date Time to associate with the chat message.

## Response `201`

201

- object
  - `id` string
  - `chat_room_id` string
  - `sender_id` string
  - `sender_nickname` string
  - `sender_image_url` unknown
  - `badge_image_url` unknown
  - `sender_profile_url` string
  - `created_at` string
  - `custom_data` string
  - `program_date_time` unknown

## Other responses

- `403`: 403

---

[API](https://skmtc.dev/livelike/apis/chat-rooms.md) - [All operations](https://skmtc.dev/livelike/apis/chat-rooms/llms.txt) - [OpenAPI document](https://skmtc.dev/livelike/apis/chat-rooms/revisions/a637fa5c92a5?raw)
