Skip to content

Get a user by ID

GET/user/{id}

Looks up a user by numeric ID and returns the public user shape (no private fields). Readable by anyone, including anonymous callers.

Request

Headers

NameTypeScopes
Authorizationoptionalstring

Path parameters

NameTypeDescription
idrequiredintegerThe user's numeric ID.

Responses

StatusBodyDescription
200SimpleUserThe user.
400ErrorThe request was malformed.
404ErrorThe requested resource does not exist (or is not visible to the caller).