---
title: "Set custom fields"
method: PATCH
path: "/v1/client/auth/custom-fields"
tags: ["Internal"]
---

# Set custom fields

`PATCH /v1/client/auth/custom-fields`

This endpoint is used to set custom fields for the user. The custom fields are used to store additional
information about the user. Only fields that have not previously been set can be set.

## Request body

- SetCustomFieldsBody
  - `custom_fields` UserCustomField[], required
    - `id` string, required
    - `value` string, required

## Response `200`

OK

- object
  - `data` object

## Other responses

- `406` — VPN detected

---

[API](https://skmtc.net/bitlabs/apis/bitlabs-client-api.md) · [All operations](https://skmtc.net/bitlabs/apis/bitlabs-client-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitlabs/bitlabs-client-api/versions/99209a6285bf/schema)
