Documentation Index Fetch the complete documentation index at: https://mintlify.com/nestrilabs/nestri/llms.txt
Use this file to discover all available pages before exploring further.
The account endpoint returns a single object representing the authenticated user. It combines the core user profile with all Steam accounts currently linked to that user. This is the primary endpoint for bootstrapping a session — call it once after authentication to load the user’s identity and any associated Steam profiles.
GET /account
GET https://api.nestri.io/account
This endpoint requires a valid Bearer token. Requests without an Authorization header will receive a 401 response.
Bearer token in the format Bearer <your-jwt-token>.
Response
Returns a data object containing the full account record.
Unique user identifier (ULID format with user_ prefix). Example: user_XXXXXXXXXXXXXXXXXXXXXXXXX.
The display name of the account (1–32 characters, letters and spaces only). Example: "John Doe".
Primary email address used for notifications and authentication. Example: "johndoe@example.com".
URL to the user’s profile picture. Example: "https://cdn.discordapp.com/avatars/xxxxxxx/xxxxxxx.png".
ISO 8601 timestamp of the user’s most recent authentication. Example: "2025-04-26T20:11:08.155Z".
Associated Polar.sh customer identifier used for subscription billing. Example: "0bfcb712-df13-4454-81a8-fbee66eddca4". Array of Steam accounts linked to this user. Empty array if no Steam accounts have been connected. Show Steam account fields
The Steam ID of this account. Example: "74839300282033".
Display name used by this Steam account. Example: "JD The 65th".
Real name set on the Steam profile. Example: "John Doe".
Steam community URL slug. Example: "The65thJD".
Steam avatar hash for constructing the avatar image URL. Example: "3a5e805fd4c1e04e26a97af0b9c6fab2dee91a19".
Current connection status. One of online, offline, dnd, or playing.
The Nestri user ID that owns this Steam account.
ISO 8601 timestamp of when the Steam account was created. Example: "2010-01-26T21:00:00.000Z".
ISO 8601 timestamp of the last time this account was synced with Steam. Example: "2025-04-26T20:11:08.155Z".
Steam-imposed limitations on this account. Whether the account has a Steam limited account status.
Trade ban status. One of none, probation, or banned.
Whether the account has an active VAC ban.
Numeric visibility state from the Steam API.
Profile privacy setting. One of public, private, friendsfriendsonly, or friendsonly.
Example
curl https://api.nestri.io/account \
--header "Authorization: Bearer <your-jwt-token>"
Example response
{
"data" : {
"id" : "user_XXXXXXXXXXXXXXXXXXXXXXXXX" ,
"name" : "John Doe" ,
"email" : "johndoe@example.com" ,
"avatarUrl" : "https://cdn.discordapp.com/avatars/xxxxxxx/xxxxxxx.png" ,
"lastLogin" : "2025-04-26T20:11:08.155Z" ,
"polarCustomerID" : "0bfcb712-df13-4454-81a8-fbee66eddca4" ,
"profiles" : [
{
"id" : "74839300282033" ,
"name" : "JD The 65th" ,
"realName" : "John Doe" ,
"profileUrl" : "The65thJD" ,
"avatarHash" : "3a5e805fd4c1e04e26a97af0b9c6fab2dee91a19" ,
"status" : "online" ,
"userID" : "user_XXXXXXXXXXXXXXXXXXXXXXXXX" ,
"steamMemberSince" : "2010-01-26T21:00:00.000Z" ,
"lastSyncedAt" : "2025-04-26T20:11:08.155Z" ,
"limitations" : {
"isLimited" : false ,
"tradeBanState" : "none" ,
"isVacBanned" : false ,
"visibilityState" : 3 ,
"privacyState" : "public"
}
}
]
}
}
Error responses
Status Code Description 400INVALID_PARAMETERRequest validation failed 404RESOURCE_NOT_FOUNDUser not found for the provided token 429— Rate limit exceeded