Room directory

Get the room ID corresponding to this room alias.

Requests that the server resolve a room alias to a room ID.

The server will use the federation API to resolve the alias if the domain part of the alias does not correspond to the server's own domain.

get/_matrix/client/v3/directory/room/{roomAlias}

Request

Path parameters

roomAliasstring mx-room-alias required

The room alias. Its format is defined in the appendices.

Response

The room ID and other information for this alias.

room_idstring mx-room-id

The room ID for this room alias.

serversstring[]

A list of servers that are aware of this room alias.

Changes

No recorded changes to this operation across all 1 revision of this API.