GET
/
users
/
{userId}
curl --request GET \
  --url https://api.hyra.io/users/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "type": "user",
  "id": "<string>",
  "username": "<string>",
  "display_name": "<string>",
  "avatar": {
    "initial": "<string>",
    "transparent": "<string>",
    "colour": "<string>"
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string
required

The user's ID

Response

200 - application/json
type
enum<string>
required
Available options:
user,
application
id
string
required
username
string
required
display_name
string
required
avatar
object
required