Lists custom field definitions for contacts, 20 per page by default, ordered by ordernum then id unless an orders parameter is given. The response side-loads a fieldOptions array with the options of every returned field; ids inside it are field option ids, not field ids, and are only valid on the fieldOptions endpoints, never on /fields/{id}. A fieldRels array side-loads the fields' list relationships. Each field's own options property lists the ids of its options in the side-loaded array. Use only the query parameters documented here: unsupported filter and order fields are silently ignored, so the response looks filtered but is not. filters match exactly; use search for a partial title match. Passing any orders parameter, including an unsupported one, replaces the default ordernum ordering: when no supported orders field is given, the results come back in no guaranteed order. meta.total is the number of matching fields, returned as a string. This endpoint covers contact fields only; deal fields live under dealCustomFieldMeta and account fields under accountCustomFieldMeta.
{
"fieldOptions": [],
"fieldRels": [],
"fields": [
{
"title": "Another Test Title",
"descript": null,
"type": "",
"isrequired": "0",
"perstag": "ANOTHER_TEST_TITLE",
"defval": null,
"show_in_list": "0",
"rows": "0",
"cols": "0",
"visible": "1",
"service": "",
"ordernum": "2",
"cdate": "2018-11-15T21:43:38-06:00",
"udate": "2018-11-15T21:43:38-06:00",
"options": [],
"relations": [],
"links": {
"options": "https://:account.api-us1.com/api/:version/fields/2/options",
"relations": "https://:account.api-us1.com/api/:version/fields/2/relations"
},
"id": "2"
},
{
"title": "Title",
"descript": "Field description",
"type": "textarea",
"isrequired": "1",
"perstag": "PERSONALIZEDTAG",
"defval": "Defaut Value",
"show_in_list": "1",
"rows": "2",
"cols": "2",
"visible": "1",
"service": "google",
"ordernum": "3",
"cdate": "2018-11-15T21:42:40-06:00",
"udate": "2018-11-15T21:49:52-06:00",
"options": [],
"relations": [],
"links": {
"options": "https://:account.api-us1.com/api/:version/fields/1/options",
"relations": "https://:account.api-us1.com/api/:version/fields/1/relations"
},
"id": "1"
}
],
"meta": {
"total": "2"
}
}