Create a custom field

relations and options may be sideposted inside field, in which case the field, its list relations and its options are created in one transaction and the created field is returned with them. A 400 is returned when either array is malformed, holds more than 25 entries, repeats an option value, or names options for a field type that cannot have them.

  • When the field_type is dropdown, radio, checkbox or listbox, you need to add field options using fieldOption/bulk endpoint.
  • A User can only see a custom field if the contact is part of a list that this custom field is related to. Use fieldRel endpoint to specify which list gets to see the custom field.
  • 📘

    This endpoint creates a custom field, but does not populate it with options, if it requires them.

    The dropdown, multiselect, radio, and checkbox custom fields need to be supplied with options. To learn more, see our Custom Objets Api Guide

Example POST Body

{
	"field": {
		"type": "textarea",
		"title": "Field Title",
		"descript": "Field description",
		"perstag": "Personalized Tag",
		"defval": "Default Value",
		"visible": 1,
		"ordernum": 1
    }
}
{
	"field": {
		"type": "text",
		"title": "Field Title",
		"descript": "Field description",
		"perstag": "Personalized Tag",
		"defval": "Default Value",
		"visible": 1,
		"ordernum": 1
    }
}
{
	"field": {
		"type": "date",
		"title": "Field Title",
		"descript": "Field description",
		"perstag": "Personalized Tag",
		"defval": "2025-01-01",
		"visible": 1,
		"ordernum": 1
    }
}
{
	"field": {
		"type": "dropdown",
		"title": "Field Title",
		"descript": "Field description",
		"perstag": "Personalized Tag",
		"visible": 1,
		"ordernum": 1
    }
}
{
	"field": {
		"type": "listbox",
		"title": "Field Title",
		"descript": "Field description",
		"perstag": "Personalized Tag",
		"visible": 1,
		"ordernum": 1
    }
}
{
	"field": {
		"type": "radio",
		"title": "Field Title",
		"descript": "Field description",
		"perstag": "Personalized Tag",
		"visible": 1,
		"ordernum": 1
    }
}
{
	"field": {
		"type": "checkbox",
		"title": "Field Title",
		"descript": "Field description",
		"perstag": "Personalized Tag",
		"visible": 1,
		"ordernum": 1
    }
}
{
	"field": {
		"type": "hidden",
		"title": "Field Title",
		"descript": "Field description",
		"perstag": "Personalized Tag",
		"defval": "Default Value",
		"visible": 1,
		"ordernum": 1
    }
}
{
	"field": {
		"type": "datetime",
		"title": "Field Title",
		"descript": "Field description",
		"perstag": "Personalized Tag",
		"defval": "2025-05-19T02:45:00-05:00",
		"visible": 1,
		"ordernum": 1
    }
}
{
	"field": {
		"type": "number",
		"title": "Field Title",
		"descript": "Field description",
		"perstag": "Personalized Tag",
		"defval": "1234",
		"visible": 1,
		"ordernum": 1
    }
}
Body Params
field
object
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json