curl -sS 'https://matrix.example.com/_synapse/admin/v1/whois/@alice:example.com' -H "Authorization: Bearer $ACCESS_TOKEN"

Category: Matrix & Synapse

curl -sS 'https://matrix.example.com/_synapse/admin/v1/whois/@alice:example.com' -H "Authorization: Bearer $ACCESS_TOKEN"

Show a user's active sessions and devices

Lists every device and connection for the user with IP addresses, user agents, and last-seen times. The first place to look when you suspect a hijacked account or an unknown device. Session data is only as fresh as the last sync. Compare with the joined_rooms endpoint to map what an attacker accessed.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.