Create Field
Create a custom field. The field’s key is what you use in the fields and companyFields maps of other endpoints.
Request access. This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return
403 export_not_enabled.
Authorizations
Your Conversion API key. Found in Settings > Integrations in the dashboard. Format: sk_live_<key_id>_<secret>.
Body
The human-readable display name of the field.
"Lead Score"
The object the field belongs to (case-insensitive). An unsupported value returns an invalid_object_type error.
CONTACT, COMPANY, OPPORTUNITY, CAMPAIGN_MEMBER The data type of the field's value (case-insensitive).
STRING, NUMBER, BOOLEAN, DATE, DATETIME The field key used in the fields and companyFields maps of other endpoints. Optional — derived from label when omitted.
Must be unique across your account's fields: creating a field with a key that already exists returns a 400 invalid_field error.
"lead_score"
Response
Field created successfully.