---
title: "Export Steam Web API keys in plaintext"
method: POST
path: "/v1/admin.exportSteamApiKeys"
tags: ["admin"]
---

# Export Steam Web API keys in plaintext

`POST /v1/admin.exportSteamApiKeys`

## Request body

- V1AdminExportSteamApiKeysRequestBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `createdAfter` string, date-time — Only export keys created at or after this time
  - `createdBefore` string, date-time — Only export keys created before this time
  - `keyIds` string[], nullable — Only export these keys. Empty means all keys.
  - `limit` integer — Maximum number of keys to export. 0 means no limit.
  - `onlyWorking` boolean — Test each key against Steam and drop the keys that fail. This is slow for many keys.
  - `order` 'newest' | 'oldest' | 'random' — Order of the exported keys. The limit applies after ordering.
  - `types` string[], nullable — Only export keys of these types. Empty means all types.

## Response `200`

OK

- V1AdminExportSteamApiKeysResponseBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `broken` integer, required — Number of keys that failed the Steam test and were dropped. Always 0 when onlyWorking is false.
  - `keys` V1AdminExportedSteamApiKey[], required — The exported keys, in the requested order
    - `createdAt` string, date-time, required
    - `key` string, required — The plaintext Steam Web API key
    - `keyId` string, required — Identifier of the key (primary key)
    - `type` 'web' | 'publisher', required — Steam Web API key type
    - `updatedAt` string, date-time, required
  - `matched` integer, required — Number of keys that matched the filters, before the limit and the Steam test

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error

## Changes

> 25 revisions in range; 1 not diffed.

- **2026-09-28** `95160850cf2a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/steamsets/apis/steamsets-api/changes/v1/admin.exportSteamApiKeys/post.md)

---

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