account
Get user session information
Changed onpost/v1/account.getSession
Request
- Base URL: https://api.steamsets.com
- URL: https://api.steamsets.com/v1/account.getSession
- Auth: HTTP bearer
Response
OK
Example response
{
"$schema": "https://api.steamsets.com/schemas/V1AccountGetSessionBody.json",
"accountId": 123456,
"avatar": "f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9.jpg",
"email": "flo@example.com",
"isNew": true,
"level": 1,
"name": "flo",
"resources": [
{
"value": "1"
}
],
"sessionData": {
"createdAt": "2023-01-01T00:00:00Z",
"expiresAt": "2023-01-01T00:00:00Z",
"ip": "127.0.0.1",
"lastSeen": "2023-01-01T00:00:00Z",
"location": {
"city": "Berlin",
"countryCode": "DE",
"countryName": "Germany",
"region": "Berlin"
},
"sessionId": "123456",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
},
"steamId": "76561198842603734",
"xp": 10000
}Changes
- info
added the optional property
/to the response with the status
- info
- warning
added the new
name_effectenum value to the//response property for the response status - warning
added the new
profile_theme_colorenum value to the//response property for the response status
- warning