Skip to main content
POST
/
v1
/
account.getSettings
Get account settings
curl --request POST \
  --url https://api.steamsets.com/v1/account.getSettings \
  --header 'Authorization: Bearer <token>'
{
  "$schema": "https://api.steamsets.com/schemas/V1AccountGetSettingsBody.json",
  "chosenRole": {
    "role": "user",
    "tier": "tier_1"
  },
  "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
    }
  ],
  "developerApps": [
    {
      "apiKey": "api_123",
      "description": "My App Description",
      "environment": "production",
      "id": "da_123456",
      "name": "My App"
    }
  ],
  "email": "steamsets@example.com",
  "emailVerifiedAt": "2023-01-01T00:00:00Z",
  "hidden": true,
  "images": [
    {
      "active": true,
      "fileName": "avatar.png",
      "imageId": "img_wasd123",
      "imageType": "avatar"
    }
  ],
  "language": "en",
  "privacy": "public",
  "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"
    }
  ],
  "subscribed": true,
  "vanity": "flo",
  "vanityAnalytics": {
    "clicks": 123
  }
}
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.

Response

OK

chosenRole
object | null
required

The chosen role the account has

connections
object[] | null
required

The connections the account has

developerApps
object[] | null
required

The developer apps the account has

email
string<email>
required

The email the account is using

Examples:

"steamsets@example.com"

emailVerifiedAt
string<date-time> | null
required

The time the email was verified

Examples:

"2023-01-01T00:00:00Z"

hidden
boolean
required

Whether the account is hidden in the leaderboards

Examples:

true

images
object[] | null
required
deprecated

The images the account has

language
string
required

The language the account is using

Examples:

"en"

privacy
enum<string>
required

The privacy of the account

Available options:
public,
private,
friends_only
Examples:

"public"

sessions
object[] | null
required

The sessions the account has

subscribed
boolean
required

Whether the account is subscribed to marketing emails

vanity
string
required

The vanity the account is using

Examples:

"flo"

vanityAnalytics
object | null
required

The analytics for the vanity

$schema
string<uri>

A URL to the JSON Schema for this object.

Examples:

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