---
title: "Add a Steam Web API key"
method: POST
path: "/v1/admin.addSteamApiKey"
tags: ["admin"]
---

# Add a Steam Web API key

`POST /v1/admin.addSteamApiKey`

## Request body

- V1AdminAddSteamApiKeyRequestBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `key` string, required — The plaintext Steam Web API key. Encrypted via Vault before storage; never persisted or returned in plaintext.
  - `keyId` string, required — Caller-provided identifier for the key (primary key)
  - `type` 'web' | 'publisher', required — Steam Web API key type

## Response `200`

OK

- V1AdminAddSteamApiKeyResponseBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `keyId` string, required

## Other responses

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

## Changes

> 11 revisions in range; 1 not diffed, 6 could not be searched.

- **2026-07-31** `8c1465a74c5f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/steamsets/apis/steamsets-api/changes/v1/admin.addSteamApiKey/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-service-production.skmtc.workers.dev/v1/apis/steamsets/steamsets-api/revisions/9930915a1df9/schema)
