POST
/
v4
/
custom_fields
curl --request POST \
  --url https://api.kit.com/v4/custom_fields \
  --header 'Content-Type: application/json' \
  --header 'X-Kit-Api-Key: <api-key>' \
  --data '{
  "label": "Interests"
}'
{
  "custom_field": {
    "id": 1407,
    "name": "ck_field_1407_interests",
    "key": "interests",
    "label": "Interests"
  }
}

Authorizations

X-Kit-Api-Key
string
header
required

Authenticate API requests via an API Key

Body

application/json

Response

200
application/json

Returns a 200 and the custom field if it already exists

The response is of type object.