---
title: "postCustomField"
method: POST
path: "/postCustomField"
tags: ["CustomFields"]
---

# postCustomField

`POST /postCustomField`

Sets custom fields. The call should only be made once to add the field to the system.

## Response `200`

200 Response

- PostCustomFieldResponse
  - `success` boolean — Returns if the request could be completed
  - `data` object — Field details
    - `fieldID` string — Field name
    - `name` string — Field name
    - `shortcode` string — Internal reference and is used for integration purposes such as custom links and the API
  - `message` string, nullable — To be used in case any error occurs (if success = false). If success = true, it does not exist.

---

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