Skip to main content
POST
/
rooms
/
{room_name}
/
send-app-message
rooms/:name/send-app-message
curl --request POST \
  --url https://api.daily.co/v1/rooms/{room_name}/send-app-message \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {},
  "recipient": "*"
}
'
{
  "sent": "true"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

room_name
string
required

Body

application/json
data
object

A javascript object that can be serialized into JSON. Data sent must be within the 4kb size limit.

recipient
string
default:*

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