Get a list of local aliases on a given room.

GET {{baseUrl}}/rooms/:roomId/aliases

Get a list of aliases maintained by the local server for the given room.

This endpoint can be called by users who are in the room (external users receive an M_FORBIDDEN error response). If the room's m.room.history_visibility maps to world_readable, any user can call this endpoint.

Servers may choose to implement additional access control checks here, such as allowing server administrators to view aliases regardless of membership.

Note: Clients are recommended not to display this list of aliases prominently as they are not curated, unlike those listed in the m.room.canonical_alias state event.

RESPONSES

status: OK

{"aliases":["#somewhere:example.com","#another:example.com","#hat_trick:example.com"]}