--- title: "Check Room Member" slug: "check-room-member" updated: 2026-09-03T14:50:33Z published: 2026-09-03T14:50:33Z canonical: "developer.rocket.chat/check-room-member" --- > ## Documentation Index > Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt > Use this file to discover all available pages before exploring further. # Check Room Member Get/api/v1/rooms.isMember Use this endpoint to check whether or not a user is a member of a specific room. If the user is not a member of the room, an error response (`error-user-not-found`) is returned. You can only get the results for the rooms that you are a member of. Otherwise, you get a forbidden error response. Header parametersX-Auth-TokenstringRequired The `authToken` of the authenticated user. ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f X-User-IdstringRequired The `userId` of the authenticated user. ExamplerbAXPnMktTFbNpwtJ Query parametersroomIdstringRequired Enter the room ID in which you want to check for the user. userIdstringRequired Enter the user ID that you want to check. Alternatively, you can use the `username` parameter and provide the user name instead of the user ID. Responses200 OK Example 1 ```json { "isMember": true, "success": true } ``` object isMemberboolean successboolean 400 Bad Request User not available in room ```json { "success": false, "error": "error-user-not-found" } ``` Missing user ID parameter ```json { "success": false, "error": "must have required property 'userId'\n must have required property 'username'\n must match exactly one schema in oneOf [invalid-params]", "errorType": "invalid-params" } ``` object successboolean errorstring 401 Unauthorized Authorization Error ```json { "status": "error", "message": "You must be logged in to do this." } ``` object statusstring messagestring