---
title: "Resolve a room alias (client)"
method: GET
path: "/_matrix/client/v3/directory/room/{room_alias}"
tags: ["matrix-cs"]
---

# Resolve a room alias (client)

`GET /_matrix/client/v3/directory/room/{room_alias}`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/etkecc/apis/matrix-rooms-search-api/docs/_matrix/client/v3/directory/room/:room_alias/get.ts> (a function with typed inputs; its response is checked against the schema)

Turns a human-friendly room alias like #coffee:example.com into the actual room ID plus a list of servers that might know where it lives, because nobody memorizes a !opaque:id and clients still have to route the join somewhere. The r0 and v3 paths are the same handler; r0 is the legacy alias we keep alive for clients that never upgraded.

## Path parameters

- `room_alias` string, required

## Response `200`

Room ID and the servers that can help you join

- GithubComEtkeccMrsInternalModelQueryDirectoryResponse
  - `room_id` string
  - `servers` string[]

## Other responses

- `404`: We could not resolve that alias

## Changes

- **2026-07-08** `ae3c2fd65492`: 1 info
  - endpoint added
- **2024-08-20** `4009b08a3a5a`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/etkecc/apis/matrix-rooms-search-api/changes/_matrix/client/v3/directory/room/:room_alias/get.md)

---

[API](https://skmtc.dev/etkecc/apis/matrix-rooms-search-api.md) - [All operations](https://skmtc.dev/etkecc/apis/matrix-rooms-search-api/llms.txt) - [OpenAPI document](https://skmtc.dev/etkecc/apis/matrix-rooms-search-api/revisions/fafe2e40cd8c?raw)
