Leads
List custom fields
GET
/custom-fieldsThe workspace's custom fields, in the order Salesteam shows them. Leads carry their values in customFields, by key.
Try itSend a real request with your API key
Answer
200 OK Every custom field.
dataarray of CustomFieldInfoRequiredEach item
keystringRequiredWhat the field is called in customFields and in messages: {{custom.<key>}}. It never changes, even when the field is renamed.
namestringRequiredtypestringRequiredOne of
text,select,multi_select,number,date,url.typeLabelstringRequiredThe type as Salesteam shows it, such as Single select.
optionsarray of stringRequiredThe choices of a Single select or Multi-select field; empty for other types.
nextCursorstring or nullRequiredPass as
cursorfor the next page; null on the last page.
Errors
- 401 Unauthorized
unauthorized - 429 Too many requests
rate_limited - 500 Server error
server_error
Every error has the same shape. See Errors.