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>"
  }
}'
{
  "$schema": "https://api.steamsets.com/schemas/V1AdminGetAccountResponseBody.json",
  "avatar": "f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9.jpg",
  "city": "Bad Krozingen",
  "connections": [
    {
      "avatar": "https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/avatars/f1/f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9.jpg",
      "connectionId": "123456",
      "externalId": "123456",
      "failed": true,
      "hide": true,
      "name": "steamsets",
      "provider": "discord",
      "verified": true
    }
  ],
  "country": "Germany",
  "developerApps": [
    {
      "apiKey": "api_123",
      "description": "My App Description",
      "environment": "production",
      "id": "da_123456",
      "name": "My App"
    }
  ],
  "email": "steamsets@example.com",
  "locationUpdates": [
    {
      "city": {
        "new": "steamsets",
        "old": "steamsets"
      },
      "countryCode": {
        "new": "steamsets",
        "old": "steamsets"
      },
      "countryName": {
        "new": "steamsets",
        "old": "steamsets"
      },
      "region": {
        "new": "steamsets",
        "old": "steamsets"
      },
      "state": {
        "new": "steamsets",
        "old": "steamsets"
      },
      "updatedAt": "2023-01-01T00:00:00Z"
    }
  ],
  "name": "steamsets",
  "nameUpdates": [
    {
      "name": {
        "new": "steamsets",
        "old": "steamsets"
      },
      "updatedAt": "2023-01-01T00:00:00Z"
    }
  ],
  "privacy": "public",
  "region": "Europe",
  "resources": [
    {
      "resource": "animated_avatar",
      "value": "1"
    }
  ],
  "roles": [
    {
      "extras": {},
      "rating": 123,
      "role": "user"
    }
  ],
  "sessions": [
    {
      "createdAt": "2023-01-01T00:00:00Z",
      "expiresAt": "2023-01-01T00:00:00Z",
      "ip": "127.0.0.1",
      "lastSeen": "2023-01-01T00:00:00Z",
      "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"
    }
  ],
  "state": "Baden-Wurttemberg",
  "vanity": "steamsets",
  "vanityUpdates": [
    {
      "updatedAt": "2023-01-01T00:00:00Z",
      "vanity": {
        "new": "steamsets",
        "old": "steamsets"
      }
    }
  ]
}
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

Examples:

"f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9.jpg"

city
string | null
required

The city of the account

Examples:

"Bad Krozingen"

connections
object[] | null
required

The connections the account has

country
string | null
required

The country code of the account

Examples:

"Germany"

developerApps
object[] | null
required

The developer apps the account has

email
string<email> | null
required

The email of the account

Examples:

"steamsets@example.com"

locationUpdates
object[] | null
required

The location updates the account has

name
string
required

The name of the account

Examples:

"steamsets"

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
Examples:

"public"

region
string | null
required

The region of the account

Examples:

"Europe"

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

Examples:

"Baden-Wurttemberg"

vanity
string | null
required

The vanity of the account

Examples:

"steamsets"

vanityUpdates
object[] | null
required

The vanity updates the account has

$schema
string<uri>

A URL to the JSON Schema for this object.

Examples:

"https://api.steamsets.com/schemas/V1AdminGetAccountResponseBody.json"