---
title: "Create a custom data field"
method: POST
path: "/api/v3.3/custom-data-fields"
tags: ["Custom Data Fields"]
---

# Create a custom data field

`POST /api/v3.3/custom-data-fields`

Create a new custom data field for the given agency using the provided data.

## Request body

- CustomDataFieldAddingApi3Dto
  - `agencyUid` string, required
  - `type` 'TEXT' | 'LONG_TEXT' | 'SINGLE_SELECT', required
  - `name` string, required
  - `variable` string
  - `index` integer
  - `minAgeToShow` integer
  - `subType` 'PRIMARY_GUEST_INFORMATION' | 'OTHER_GUEST_INFORMATION' | 'ADDITIONAL_GUEST_INFORMATION' | 'ARRIVAL_INFORMATION' | 'OTHER'
  - `usage` 'CUSTOM_VARIABLES' | 'PRE_ARRIVAL_FORM' | 'OTHER'

## Response `200`

OK

---

[API](https://skmtc.dev/hostfully/apis/hostfully-api.md) · [All operations](https://skmtc.dev/hostfully/apis/hostfully-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hostfully/hostfully-api/revisions/8387ad22afc6/schema)
