---
title: "Create a custom field"
method: POST
path: "/brands/{brand_id}/custom-fields"
tags: ["Custom Fields"]
---

# Create a custom field

`POST /brands/{brand_id}/custom-fields`

## Path parameters

- `brand_id` integer, required

## Request body

- CustomFieldUpsertRequest — Request body for creating or updating a custom field.

## Response `200`

Custom field created successfully.

- CustomField
  - `custom_field_id` integer, nullable
  - `_brand_id` integer, nullable
  - `name` string, nullable
  - `data_type` string, nullable
  - `active` union
    - integer
    - boolean

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/slicktext/apis/slicktext-api-new-platform.md) · [All operations](https://skmtc.net/slicktext/apis/slicktext-api-new-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/slicktext/slicktext-api-new-platform/revisions/6f6c30f01b42/schema)
