Room directory
Create a new mapping from room alias to room ID.
put/_matrix/client/v3/directory/room/{roomAlias}
Request
- Base URLhttps://matrix.org
- Auth
- API key in query parameter access_token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
roomAliasstring mx-room-alias required
The room alias to set. Its format is defined in the appendices.
Request body
Example request
{
"room_id": "!abnjk1jdasj98:capuchins.com"
}Response
The mapping was created.
object required
Changes
No recorded changes to this operation across all 1 revision of this API.