v4

latestOpenAPI 3.1.02026-07-3196251302.5 KB
account

Login with Steam

post/v1/account.login

Headers

User-Agentstring
X-Forwarded-Forstring

Request body

$schemastring uri

A URL to the JSON Schema for this object.

openid_assoc_handlestring required

The assoc handle of the login

openid_claimed_idstring required

The claimed id of the login

openid_identitystring required

The identity of the login

openid_modestring required

The mode of the login

openid_nsstring required

The namespace of the login

openid_op_endpointstring required

The endpoint of the login

openid_response_noncestring required

The response nonce of the login

openid_return_tostring required

The return to of the login

openid_sigstring required

The sig of the login

openid_signedstring required

The signed of the login

Example request

{
  "$schema": "https://api.steamsets.com/schemas/LoginRequestBody.json",
  "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"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

avatarstring required

The avatar of the account

namestring required

The name of the account

refreshExpiresAtstring date-time required

The expiration time of the refresh token

refreshTokenstring required

The refresh token

sessionExpiresAtstring date-time required

The expiration time of the session token

sessionTokenstring required

The session token

steamIdstring required

The steam id

Example response

{
  "$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",
  "sessionExpiresAt": "2023-01-01T00:00:00Z",
  "sessionToken": "auth_",
  "steamId": "76561198842603734"
}