curl --request GET \
--url 'https://api.example.com/api/room_members/<room_id>' \
--header 'Authorization: <authorization>'{
"members": [
{}
]
}Retrieve the list of members in a chat room
curl --request GET \
--url 'https://api.example.com/api/room_members/<room_id>' \
--header 'Authorization: <authorization>'{
"members": [
{}
]
}{
"error": "invalid token, please re-login"
}
{
"error": "unauthorized"
}
{
"error": "no members in this room"
}
curl -X GET https://api.mirage.com/api/room_members/42 \
-H "Authorization: your-auth-token"
{
"members": [
"john_doe",
"jane_smith",
"alice_wonder",
"bob_builder"
]
}