v4

OpenAPI 3.1.02026-07-3196251302.5 KB
admin

Get account for admin

post/v1/admin.getAccount

Request body

$schemastring uri

A URL to the JSON Schema for this object.

Example request

{
  "$schema": "https://api.steamsets.com/schemas/AccountSearch.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

avatarstring required

The avatar of the account

citystring nullable required

The city of the account

countrystring nullable required

The country code of the account

emailstring email nullable required

The email of the account

namestring required

The name of the account

privacy'private' | 'public' | 'friends_only' required

The privacy of the account

regionstring nullable required

The region of the account

statestring nullable required

The state of the account

vanitystring nullable required

The vanity of the account

Example response

{
  "$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": [
    {
      "analytics": {
        "last24Hours": {
          "failedRequests": 358,
          "outcomeBreakdown": [
            {
              "count": 9876,
              "outcome": "VALID"
            }
          ],
          "successRate": 96.5,
          "successfulRequests": 9876,
          "totalRequests": 10234
        },
        "timeSeries": {
          "hourly": [
            {
              "count": 423,
              "outcome": "VALID",
              "time": "2024-01-15T00:00:00.000Z"
            }
          ]
        }
      },
      "apiKey": "null",
      "createdAt": "2023-01-01T00:00:00Z",
      "description": "My App Description",
      "environment": "production",
      "id": "key_123456",
      "keyId": "key_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": [
    {
      "value": "1"
    }
  ],
  "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"
      }
    }
  ]
}