---
title: "State"
method: GET
path: "/api/admin/steam"
tags: ["steam"]
---

# State

`GET /api/admin/steam`

## Request

- Base URL: `https://api.getcheapgames.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getcheapgames.com/api/admin/steam`
- Auth: none declared

The signed-in account, or none.

## Headers

- `authorization` string

## Response `200`

Successful Response

- GcgRoutersSteamAccountStateOut
  - `account` GcgRoutersSteamAccountAccountOut, required
    - `account_name` string, required
    - `steam_id` string, required
    - `signed_in_at` string, date-time, required
    - `expires_at` string, date-time, required
    - `logged_on_at` string, date-time, nullable, required
    - `error` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getcheapgames/apis/getcheapgames-api.md) · [All operations](https://skmtc.dev/getcheapgames/apis/getcheapgames-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getcheapgames/apis/getcheapgames-api/revisions/57333a690301?raw)
