---
title: "Set a user's key/value entry"
method: POST
path: "/v1/kv.set"
tags: ["kv"]
---

# Set a user's key/value entry

`POST /v1/kv.set`

## Request body

- KvSetRequestBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `key` string, required — Key within the namespace
  - `namespace` string, required — Namespace this key lives under, e.g. 'ui' or 'wishlist'
  - `value` string, required — Value to store (opaque string; JSON blobs are fine)

## Response `204`

No Content

## Other responses

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

## Changes

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

- **2026-07-26** `61ffe6064609` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/steamsets/apis/steamsets-api/changes/v1/kv.set/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)
