---
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

---

[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/593d89718daa/schema)
