Skip to main content
POST
/
v1
/
admin.getAccount
Get account for admin
curl --request POST \
  --url https://api.steamsets.com/v1/admin.getAccount \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": {
    "accountId": 1,
    "steamId64": "<string>"
  },
  "vanity": {
    "type": "steam",
    "value": "<string>"
  }
}
'
{
  "avatar": "<string>",
  "city": "<string>",
  "connections": [
    {
      "avatar": "<string>",
      "connectionId": "<string>",
      "externalId": "<string>",
      "failed": true,
      "hide": true,
      "name": "<string>",
      "provider": "discord",
      "verified": true
    }
  ],
  "country": "<string>",
  "developerApps": [
    {
      "apiKey": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "environment": "production",
      "id": "<string>",
      "keyId": "<string>",
      "name": "<string>",
      "analytics": {
        "last24Hours": {
          "failedRequests": 1,
          "outcomeBreakdown": [
            {
              "count": 1,
              "outcome": "VALID"
            }
          ],
          "successRate": 123,
          "successfulRequests": 1,
          "totalRequests": 1
        },
        "timeSeries": {
          "hourly": [
            {
              "count": 1,
              "outcome": "<string>",
              "time": "2023-11-07T05:31:56Z"
            }
          ]
        }
      }
    }
  ],
  "email": "[email protected]",
  "locationUpdates": [
    {
      "city": {
        "new": "<string>",
        "old": "<string>"
      },
      "countryCode": {
        "new": "<string>",
        "old": "<string>"
      },
      "countryName": {
        "new": "<string>",
        "old": "<string>"
      },
      "region": {
        "new": "<string>",
        "old": "<string>"
      },
      "state": {
        "new": "<string>",
        "old": "<string>"
      },
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "name": "<string>",
  "nameUpdates": [
    {
      "name": {
        "new": "<string>",
        "old": "<string>"
      },
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "privacy": "private",
  "region": "<string>",
  "resources": [
    {
      "resource": "animated_avatar",
      "value": "<string>"
    }
  ],
  "roles": [
    {
      "extras": {},
      "rating": 123,
      "role": "user"
    }
  ],
  "sessions": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "expiresAt": "2023-11-07T05:31:56Z",
      "ip": "<string>",
      "lastSeen": "2023-11-07T05:31:56Z",
      "sessionId": "<string>",
      "userAgent": "<string>"
    }
  ],
  "state": "<string>",
  "vanity": "<string>",
  "vanityUpdates": [
    {
      "updatedAt": "2023-11-07T05:31:56Z",
      "vanity": {
        "new": "<string>",
        "old": "<string>"
      }
    }
  ],
  "$schema": "<string>"
}
This endpoint is not intended for public use and requires user authentication

Authentication Required

This endpoint requires an active user session and cannot be accessed via API keys. It’s designed for authenticated user interactions within the web application.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
object
vanity
object

Response

OK

avatar
string
required

The avatar of the account

city
string | null
required

The city of the account

connections
object[] | null
required

The connections the account has

country
string | null
required

The country code of the account

developerApps
object[] | null
required

The developer apps the account has

email
string<email> | null
required

The email of the account

locationUpdates
object[] | null
required

The location updates the account has

name
string
required

The name of the account

nameUpdates
object[] | null
required

The name updates the account has

privacy
enum<string>
required

The privacy of the account

Available options:
private,
public,
friends_only
region
string | null
required

The region of the account

resources
object[] | null
required

The resources the account has (permissions)

roles
object[] | null
required

The roles the account has

sessions
object[] | null
required

The sessions the account has

state
string | null
required

The state of the account

vanity
string | null
required

The vanity of the account

vanityUpdates
object[] | null
required

The vanity updates the account has

$schema
string<uri>

A URL to the JSON Schema for this object.