API Reference
Get a user
GET
/api/users/{id}
Get a user
Operation IDgetUser
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
Success response body
200User details (no password_hash or totp_secret)
User details (no password_hash or totp_secret)
Content typeapplication/json
responseobject7 properties
idintegerusernamestringrolestringtotp_verifiedintegerinvite_pendingbooleancreated_atstring · date-timeupdated_atstring · date-timeError responses
404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}