---
title: "GET /_twake/v1/user_info/{userId}"
method: GET
path: "/_twake/v1/user_info/{userId}"
tags: ["User Info"]
---

# GET /_twake/v1/user_info/{userId}

`GET /_twake/v1/user_info/{userId}`

Get user info

## Path parameters

- `userId` string, required

## Response `200`

User info found

- UserInfo
  - `uid` string — the user id
  - `givenName` string — the user given name
  - `sn` string — the user surname

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — User info not found
- `500` — Internal server error

## Changes

- **2024-01-09** `c7a6d3a400a7` — 2 breaking, 7 warning
  - the response property `uid` became optional for the status `200`
  - removed the required property `display_name` from the response with the `200` status
  - removed the optional property `avatar_url` from the response with the `200` status
  - removed the optional property `emails` from the response with the `200` status
  - …5 more

[Change history](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/changes/_twake/v1/user_info/:userId/get.md)

---

[API](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation.md) · [All operations](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/revisions/ecce38b281bc?raw)
