API Reference version 2

Get all members

GET/v2/room/{room_id_or_name}/member

Gets all members for this private room.

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

Query parameters

Type Parameter Description Required?
integer start-index

The start index for the result set

Defaults to 0.

integer max-results

The maximum number of results.

Valid length range: 0 - 1000.

Defaults to 100.

200 application/json
Type Property Description Required?
array items

An array of the following objects.

Required
string mention_name

User's @mention name

Required
string version

An etag-like random version string.

Required
integer id

The user ID

Required
object links

URLs to retrieve user information

Required
string self

The link to use to retrieve the user information

Required
string name

The display user name

Required
integer startIndex

The start index for this set of results.

Required
integer maxResults

The maximum number of results returned.

Valid length range: 1 - 1000.

Required
object links

An object with the following properties.

Required
string self

The URL for this resource.

Required
string prev

The URL to retrieve the previous set of results.

string next

The URL to retrieve the next page of results.