POST
/
v4
/
bulk
/
custom_fields
curl --request POST \
  --url https://api.kit.com/v4/bulk/custom_fields \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "custom_fields": [
    {
      "label": "Test Custom Field 0"
    },
    {
      "label": "Test Custom Field 1"
    },
    {
      "label": "Test Custom Field 2"
    },
    {
      "label": "Test Custom Field 3"
    }
  ],
  "callback_url": null
}'
{
  "custom_fields": [
    {
      "id": 1398,
      "label": "Existing Custom Field",
      "key": "existing_custom_field",
      "name": "ck_field_1398_existing_custom_field",
      "created_at": "2023-02-17T11:43:55Z"
    },
    {
      "id": 1400,
      "label": "Interests",
      "key": "interests",
      "name": "ck_field_1400_interests",
      "created_at": "2023-02-17T11:43:55Z"
    },
    {
      "id": 1399,
      "label": "Last name",
      "key": "last_name",
      "name": "ck_field_1399_last_name",
      "created_at": "2023-02-17T11:43:55Z"
    }
  ],
  "failures": []
}

Authorizations

Authorization
string
header
required

Authenticate API requests via an OAuth token

Body

application/json

Response

200
application/json

Creates the custom_fields synchronously when 100 or less custom fields are requested

The response is of type object.