Skip to main content
POST
/
v1
/
account.login
Login with Steam
curl --request POST \
  --url https://api.steamsets.com/v1/account.login \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "openid_assoc_handle": "123456",
  "openid_claimed_id": "76561198842603734",
  "openid_identity": "https://steamsets.com/api/v1/openid/login",
  "openid_mode": "checkid_setup",
  "openid_ns": "http://specs.openid.net/auth/2.0",
  "openid_op_endpoint": "https://steamsets.com/api/v1/openid/login",
  "openid_response_nonce": "123456",
  "openid_return_to": "https://example.com",
  "openid_sig": "123456",
  "openid_signed": "123456"
}'
{
  "$schema": "https://api.steamsets.com/schemas/V1AccountLoginResponseBody.json",
  "avatar": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/f1/f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9.jpg",
  "name": "SteamSets",
  "refreshExpiresAt": "2023-01-01T00:00:00Z",
  "refreshToken": "<string>",
  "sessionExpiresAt": "2023-01-01T00:00:00Z",
  "sessionToken": "auth_",
  "steamId": "76561198842603734"
}
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.

Headers

User-Agent
string
X-Forwarded-For
string

Body

application/json
openid_assoc_handle
string
required

The assoc handle of the login

Examples:

"123456"

openid_claimed_id
string
required

The claimed id of the login

Examples:

"76561198842603734"

openid_identity
string
required

The identity of the login

Examples:

"https://steamsets.com/api/v1/openid/login"

openid_mode
string
required

The mode of the login

Examples:

"checkid_setup"

openid_ns
string
required

The namespace of the login

Examples:

"http://specs.openid.net/auth/2.0"

openid_op_endpoint
string
required

The endpoint of the login

Examples:

"https://steamsets.com/api/v1/openid/login"

openid_response_nonce
string
required

The response nonce of the login

Examples:

"123456"

openid_return_to
string
required

The return to of the login

Examples:

"https://example.com"

openid_sig
string
required

The sig of the login

Examples:

"123456"

openid_signed
string
required

The signed of the login

Examples:

"123456"

Response

OK

avatar
string
required

The avatar of the account

Examples:

"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/f1/f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9.jpg"

name
string
required

The name of the account

Examples:

"SteamSets"

refreshExpiresAt
string<date-time>
required

The expiration time of the refresh token

Examples:

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

refreshToken
string
required

The refresh token

sessionExpiresAt
string<date-time>
required

The expiration time of the session token

Examples:

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

sessionToken
string
required

The session token

Examples:

"auth_"

steamId
string
required

The steam id

Examples:

"76561198842603734"

$schema
string<uri>

A URL to the JSON Schema for this object.

Examples:

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