Create a field
POST
/v1/fieldsRequires the scope schema:write
A custom field on contacts or companies.
#Header parameters
Idempotency-Keystring or null
#Request body
application/json
ai_promptstring or null
descriptionstring or null
groupstring
labelstringrequired
link_objectstring or null
objectstringrequired
picklist_idstring or null
typestringrequired
#Responses
201Successful Response
Show response fieldsHide response fields
ai_promptstring or nullrequired
can_filterbooleanrequired
can_groupbooleanrequired
can_sortbooleanrequired
descriptionstringrequired
groupstringrequired
idstring or nullrequired
is_aibooleanrequired
is_custombooleanrequired
is_multibooleanrequired
is_read_onlybooleanrequired
is_requiredbooleanrequired
keystringrequired
labelstringrequired
link_objectstring or nullrequired
metricobject or nullrequired
What a metric column is: the metric, the period it is worked out over and its unit.
Show child attributesHide child attributes
keystringrequired
minimum_sampleintegerrequired
periodstringrequired
unitstringrequired
optionsobject[] or nullrequired
Show child attributesHide child attributes
colorstring or nullrequired
labelstringrequired
valuestringrequired
typeobjectrequired
Show child attributesHide child attributes
labelstringrequired
valuestringrequired
#Errors
Errors use the standard error shape.
| Status | Meaning |
|---|---|
400 | The request is not valid. |
401 | Not signed in, or the credentials are not valid. |
402 | The balance is too low. |
403 | Not allowed to do this. |
404 | Not found. |
409 | Conflicts with the current state. |
413 | The request body is too large. |
415 | The content type is not supported. |
422 | A value in the request is not valid. |
429 | Too many requests. Wait for Retry-After seconds. |
500 | Something went wrong on our side. |
502 | A service Valeron depends on refused the request. |
503 | A service Valeron depends on is unavailable. |
