---
title: "Login with Steam"
method: POST
path: "/v1/account.login"
tags: ["account"]
---

# Login with Steam

`POST /v1/account.login`

## Headers

- `User-Agent` string
- `X-Forwarded-For` string

## Request body

- LoginRequestBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `openid_assoc_handle` string, required — The assoc handle of the login
  - `openid_claimed_id` string, required — The claimed id of the login
  - `openid_identity` string, required — The identity of the login
  - `openid_mode` string, required — The mode of the login
  - `openid_ns` string, required — The namespace of the login
  - `openid_op_endpoint` string, required — The endpoint of the login
  - `openid_response_nonce` string, required — The response nonce of the login
  - `openid_return_to` string, required — The return to of the login
  - `openid_sig` string, required — The sig of the login
  - `openid_signed` string, required — The signed of the login

## Response `200`

OK

- V1AccountLoginResponseBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `avatar` string, required — The avatar of the account
  - `name` string, required — The name of the account
  - `refreshExpiresAt` string, date-time, required — The expiration time of the refresh token
  - `refreshToken` string, required — The refresh token
  - `sessionExpiresAt` string, date-time, required — The expiration time of the session token
  - `sessionToken` string, required — The session token
  - `steamId` string, required — The steam id

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Unprocessable Entity
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/steamsets/apis/steamsets-api.md) · [All operations](https://skmtc.net/steamsets/apis/steamsets-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/steamsets/steamsets-api/versions/2e8ba266b27f/schema)
