Users
Retrieve User
API Documentation
Activity
- In-Game Tracking
- Users
- Sessions
- GETRetrieve Leaderboard
Order Logging
Staff
Workspace
- GETRetrieve a Workspace
- POSTUpdate a Workspace
- GETList Games
- POSTCreate Game
- DELDelete a Game
- GETList Roles
- POSTCreate a Role
- PUTUpdate Role
- DELDelete a Role
- GETList logbook templates
- GETRetrieve Logbook Template
- POSTCreate a Logbook Template
- PATCHUpdate a Logbook Template
- DELDelete a Logbook Template
- GETRetrieve GApps Config
- POSTSet GApps Service Account
- PATCHUpdate GApps Config
- DELDelete GApps Config
- GETGet Trello Config
- GETGet Trello boards
- POSTSet Trello board
- POSTSet Trello format
- DELDisconnect Trello board
- DELDelete Trello Config
- GETRetrieve Schedules
- POSTCreate a Schedule
- POSTUpdate a Schedule
Trello Integration
Bans (Invite Only)
Connections
Users
Retrieve User
Get a user by their ID
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The user's ID
Response
200 - application/json
User object
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>"
}
}