---
title: "Create custom field"
method: POST
path: "/v1/custom-fields"
tags: ["Custom Fields"]
---

# Create custom field

`POST /v1/custom-fields`

Create a new custom field definition. Supported types are text, number, date, boolean, and select.

## Request body

- object
  - `profileId` string, required
  - `name` string, required
  - `slug` string — Auto-generated from name if not provided
  - `type` 'text' | 'number' | 'date' | 'boolean' | 'select', required
  - `options` string[] — Required for select type

## Response `200`

Custom field created

- object
  - `success` boolean
  - `field` object
    - `id` string
    - `name` string
    - `slug` string
    - `type` 'text' | 'number' | 'date' | 'boolean' | 'select'
    - `options` string[]
    - `createdAt` string, date-time

## Other responses

- `400` — Invalid request body
- `401` — Unauthorized
- `409` — Duplicate slug

---

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