Users API
The Users API provides access to user profiles, including their equipment, inventory, and biography.
Endpoint
Authentication
All requests require the X-API-Key header. See Authentication for details.
Query Parameters
Response
User Object
Examples
Get All Users (Basic Info)
Returns a list of all users with basic information (name, creation date, roles).
Response:
Get Specific User with Equipment
Response:
Get Specific User with Biography
Response:
Get Own Inventory
To retrieve inventory, you must be the owner of the API key (keys are associated with a specific user).
Response:
Get All Data for Own User
JavaScript Example
Error Responses
Notes
- Inventory Access: Inventory data is only available when requesting your own user data.
- Optional Fields: Use the
equipment,biography, andinventoryparameters to include additional data. Omitting these parameters will exclude the respective data from the response - Anonymous Users: Users marked as anonymous are not included in the API responses
- Cached Data: User data is cached for 5 minutes to improve performance
- Equipment Quality: Equipment items have a
qualityfield ranging from 0-4:- 0 - Ragged/Shoddy
- 1 - Rough/Worn
- 2 - Reliable/Fine
- 3 - Polished/Superior
- 4 - Exquisite/Pristine
- All Fields Returned: When using parameters like
equipment=trueorbiography=true, note that the API returns all standard fields (name,roles,tags,equipment,biography,createdAt) regardless of which specific parameters are requested