---
title: "Create user setting"
method: POST
path: "/api/user/settings"
tags: ["User Management"]
---

# Create user setting

`POST /api/user/settings`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/user/settings`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/user/settings/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new user setting with the provided type and payload.

## Request body

- UserSettingCreateRequest
  - `type` string, required: Setting type identifier
  - `payload` object, required: Setting payload data
  - `userAgent` string: Browser user agent string

## Response `200`

Setting created successfully

- object
  - `success` boolean
  - `message` string
  - `payload` object

## Other responses

- `401`: Unauthenticated
- `422`: Validation error

---

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