Skip to main content
POST

Authorizations

X-API-Key
string
header
required

Your Conversion API key. Found in Settings > Integrations in the dashboard. Format: sk_live_<key_id>_<secret>.

Body

application/json
label
string
required

The human-readable display name of the field.

Example:

"Lead Score"

objectType
enum<string>
required

The object the field belongs to (case-insensitive). An unsupported value returns an invalid_object_type error.

Available options:
CONTACT,
COMPANY,
OPPORTUNITY,
CAMPAIGN,
CAMPAIGN_MEMBER,
CUSTOM_OBJECT
dataType
enum<string>
required

The data type of the field's value (case-insensitive).

Available options:
STRING,
NUMBER,
BOOLEAN,
DATE,
DATETIME,
PICKLIST
key
string

Key used in record field maps. Leading and trailing whitespace is trimmed. Use letters, numbers, or underscores, including Unicode letters. Optional; derived from the label when omitted, preserving Unicode letters. Must be unique within this object.

Example:

"lead_score"

customObjectId
string<uuid>

Required for CUSTOM_OBJECT; omit for standard objects.

Response

Field created successfully.

data
object