API Reference version 2

Add member

PUT/v2/room/{room_id_or_name}/member/{user_id_or_email}

Adds a member to a private room and sends member's unavailable presence to all room members asynchronously.

Path parameters

Type Parameter Description Required?
integer user_id_or_email

The id, email address, or mention name (beginning with an '@') of the user

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?
array room_roles

The list of roles for the user within the room

204 No content