Create a custom_field
Create a new custom field. book_id is accepted for backwards compatibility but ignored.
Authorizations
OAuth access token or Slant personal access token (slnt_pat_...). Read-only personal tokens allow GET requests only.
Headers
Unique key to ensure idempotent request handling. If a request with the same key was already processed, the original response will be returned.
Body
Human-readable field name
"Lead Source"
Entity type this field applies to (Client and Prospect normalize to Household)
Household, Person, Contact, Opportunity, Business, Trust, FinancialAccount, InsurancePolicy "Household"
Data type of the field
text, number, date, boolean, single_select, multi_select, rich_text, url "text"
Deprecated. Ignored.
"abc123xyz"
Unique field key. Starts with a lowercase letter and contains lowercase letters, numbers, and underscores. Generated from display_name when omitted.
"pageport_lead_source"
Select-field options. Nest choices under options.select_options; a top-level array is not accepted.
Response
custom_field created
The custom field ID
"abc123xyz"
The unique field key
"pageport_lead_source"
The human-readable field name
"Lead Source"
The entity type this field applies to
Household, Person, Contact, Opportunity, Business, Trust, FinancialAccount, InsurancePolicy "Household"
The field data type
text, number, date, boolean, single_select, user_reference, cross_reference, rich_text, url, multi_select "text"
Field-specific options (e.g., select_options for select fields, cross_reference_allowed_target_types for cross_reference)
The company ID