POST
/
rooms
/
{room_id}
/
message

A message sent needs to be handled as below. Unless it is handled by the client-side SDK, it does nothing.

<Pagecall
  onMessage={(message) => {
    // On a successful api call,
    // this callback is called with the same `message` value as in the request body
  }}
/>

Authorizations

Authorization
string
headerrequired

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

Path Parameters

room_id
string
required

room id

Body

application/json
message
string
required

Response

200 - application/json
message
string