cURL
curl --request POST \ --url https://api.pagecall.com/v1/rooms/{room_id}/message \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "message": "<string>" }'
{ "message": "<string>" }
Send a message to live sessions in a room
<Pagecall onMessage={(message) => { // On a successful api call, // this callback is called with the same `message` value as in the request body }} />
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
room id
Successful operation
The response is of type object.
object