---
title: "Create custom field"
method: POST
path: "/{companyDomain}/customfields"
---

# Create custom field

`POST /{companyDomain}/customfields`

## Path parameters

- `companyDomain` string, required

## Request body

- object
  - `type` integer, required — The type of custom field; SingleLineTextField = 0, MultiLineTextField = 1, CheckboxField = 2, DatePickerField = 3, NumbersField = 4, DropdownField = 5
  - `label` string, required — Title of the custom field
  - `description` string, required — Description of the custom field
  - `options` string — A comma separated list of option titles for DropdownField type
  - `compulsory` boolean, required — Is the custom field compulsory; true or false

## Response `200`

200

---

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