---
title: "rooms/:name/send-app-message"
method: POST
path: "/rooms/{room_name}/send-app-message"
tags: ["rooms"]
---

# rooms/:name/send-app-message

`POST /rooms/{room_name}/send-app-message`

Send a message to participants in a room

## Path parameters

- `room_name` string, required

## Request body

- object
  - `data` object — A javascript object that can be serialized into JSON. Data sent must be within the 4kb size limit.
  - `recipient` string — Determines who will recieve the message. It can be either a participant session_id, or `*`. The `*` value is the default, and means that the message is a "broadcast" message intended for all participants.

## Response `200`

200

## Other responses

- `400` — 400

---

[API](https://skmtc.net/daily/apis/daily-api.md) · [All operations](https://skmtc.net/daily/apis/daily-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/daily/daily-api/versions/225ed4870ea1/schema)
