---
title: "Create Appointment Custom Field"
method: POST
path: "/appointment_custom_field"
tags: ["Appointment Custom Field"]
---

# Create Appointment Custom Field

`POST /appointment_custom_field`

Create a new appointment custom field

## Query parameters

- `select` string

## Request body

- AppointmentCustomField
  - `appointment_id` string, uuid — Appointment ID
  - `custom_field_id` string, uuid — Custom field ID
  - `created_at` string, timestamp with time zone — Appointment custom field creation date
  - `updated_at` string, timestamp with time zone — Latest update
  - `organisation_id` string, uuid — Organisation ID
  - `key` string, text, nullable — Appointment custom field key
  - `value` string, text, nullable — Value of appointment custom field
  - `date_value` string, date, nullable — Date value
  - `string_value` string, text, nullable — String value
  - `number_value` number, nullable — Number value
  - `boolean_value` boolean, nullable — Boolean value
  - `datetime_value` string, timestamp with time zone, nullable — Datetime value
  - `string_list_value` string[], nullable — String list value

## Response `200`

The updated Appointment Custom Field object

- AppointmentCustomField
  - `appointment_id` string, uuid — Appointment ID
  - `custom_field_id` string, uuid — Custom field ID
  - `created_at` string, timestamp with time zone — Appointment custom field creation date
  - `updated_at` string, timestamp with time zone — Latest update
  - `organisation_id` string, uuid — Organisation ID
  - `key` string, text, nullable — Appointment custom field key
  - `value` string, text, nullable — Value of appointment custom field
  - `date_value` string, date, nullable — Date value
  - `string_value` string, text, nullable — String value
  - `number_value` number, nullable — Number value
  - `boolean_value` boolean, nullable — Boolean value
  - `datetime_value` string, timestamp with time zone, nullable — Datetime value
  - `string_list_value` string[], nullable — String list value

## Other responses

- `201` — The Appointment Custom Field was created
- `204` — No Content

---

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