---
title: "GET /_twake/mutual_rooms/{target_userid}"
method: GET
path: "/_twake/mutual_rooms/{target_userid}"
tags: ["Mutual Rooms"]
---

# GET /_twake/mutual_rooms/{target_userid}

`GET /_twake/mutual_rooms/{target_userid}`

Get the list of mutual rooms between two users

## Path parameters

- `target_userid` string, required

## Response `200`

Successful operation

- object[]
  - `roomId` string — the room id
  - `name` string — the room name
  - `topic` string — the room topic
  - `room_type` string — the room type

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal error

## Changes

- **2024-01-09** `c7a6d3a400a7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/changes/_twake/mutual_rooms/:target_userid/get.md)

---

[API](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation.md) · [All operations](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/revisions/d60745fb0482?raw)
