GET
/
users
/
{userId}
curl --request GET \
  --url https://api.hyra.io/users/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "avatar": {
    "colour": "<string>",
    "initial": "<string>",
    "transparent": "<string>"
  },
  "display_name": "<string>",
  "id": "<string>",
  "type": "user",
  "username": "<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
avatar
object
required
display_name
string
required
id
string
required
type
enum<string>
required
Available options:
user,
application
username
string
required