Gets information about the owner of an access token.
GET {{baseUrl}}/account/whoami
Gets information about the owner of a given access token.
Note that, as with the rest of the Client-Server API,
Application Services may masquerade as users within their
namespace by giving a user_id
query parameter. In this
situation, the server should verify that the given user_id
is registered by the appservice, and return it in the response
body.
RESPONSES
status: OK
{"user_id":"@joe:example.org","device_id":"ABC1234"}