API Reference version 2

Send message

POST/v2/room/{room_id_or_name}/message

Send a message to a room.

Authentication required, with scope send_message.
Accessible by users.

Path parameters

Type Parameter Description Required?
string room_id_or_name

The id or url encoded name of the room

Valid length range: 1 - 100.

Required

Request body

Type Property Description Required?
string message

The message

Valid length range: 1 - 1000.

Required
201 application/json
Type Property Description Required?
string timestamp

The UTC timestamp representing when the message was processed.

Required
string id

The unique identifier of the sent message.

Required