curl --request POST \
--url https://pub-api.conversion.ai/api/v2/fields \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"label": "Lead Score",
"objectType": "CONTACT",
"dataType": "NUMBER"
}
'{
"data": {
"field": {
"key": "lead_score",
"label": "Lead Score",
"objectType": "CONTACT",
"dataType": "NUMBER",
"readOnly": false
}
}
}Fields
Create Field
Create a field on a standard or custom object. Use POST /v2/fields/relationships to link two objects.
POST
/
v2
/
fields
curl --request POST \
--url https://pub-api.conversion.ai/api/v2/fields \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"label": "Lead Score",
"objectType": "CONTACT",
"dataType": "NUMBER"
}
'{
"data": {
"field": {
"key": "lead_score",
"label": "Lead Score",
"objectType": "CONTACT",
"dataType": "NUMBER",
"readOnly": false
}
}
}Authorizations
apiKeyapiKeyQuery
Body
application/json
Was this page helpful?