User Info
GET /_twake/v1/user_info/{userId}
Changed onGet user info
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdstring required
The user‑id used in the request path.
Response
User info found
Example response
{
"uid": "@johndoe:matrix.org",
"display_name": "John Doe",
"avatar_url": "mxc://synapse/mediaid",
"phones": [
"+1 234 567 8910"
],
"emails": [
"j.doe@email.com"
],
"sn": "Doe",
"last_name": "John",
"givenName": "Doe",
"first_name": "John",
"language": "en",
"timezone": "Europe/Paris"
}Changes
- warning
removed the optional property
from the response with the status
- warning
- info
added the optional property
to the response with the status
- info