API Reference version 2

Set topic

PUT/v2/room/{room_id_or_name}/topic

Set a room's topic. Useful for displaying statistics, important links, server status, you name it!

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 topic

The topic body

Valid length range: 0 - 250.

Required
204 No content

Notes

  • There may be a slight delay before the topic change appears in the room.
  • HTML is not currently allowed, but we'd like to allow it in the future.