List custom fields
GEThttps://
Returns the active fields the organisation added to its record types, by name A to Z: what each code in a record's custom_fields means, what its value looks like and, for a choice, the option ids it takes.
Access
- Token scope
- api:
read Without it:
403 insufficient-token-scope. - Permission
- None. The record's own rules still apply.
- Feature
- Needs the custom_fields feature on your organisation.
Without it:
404 endpoint-not-found. - Rate cost
- 1 unit, read bucket.
view=detailmakes it 3. Adds:q+2. - Also
If-None-Matchanswers304when nothing changed. Never cached:private, no-store. Unknown query parameters are refused, never ignored.
Both are checked, scope first. A token never does more than its user. How access is checked
Narrow to one record type with filter[entity_type]=customer. It needs no permission of its own: it is gated by the policy and scopeForCaller() alone, which list only the fields of record types you may read with a token that reaches them.
Query parameters
Unknown parameters are refused with 400, naming the parameter.
16 parameters in 5 groups
Views
Pagination
Rows per page. At most 25 when include names a to-many relation; a larger value is 400 invalid-query-parameter.
Default: 25
Filters
- =
- equals
- [in]
- any of a comma-separated list
- [gte][lt]
- at least, less than
Creation timestamp. Pair with sort=id for a stable full export.
The record type the fields are on, such as customer.
A comma-separated list of at most 100 values.
projectcustomercontactuserwork_itemevent
New values may be added.
What the fields hold, such as select.
A comma-separated list of at most 100 values.
Search
Sorting
| Key | Sorts by |
|---|---|
name | Field name, A to Z. |
sort_order | Where the fields sit within their sections. |
id | Id, ascending. An id never changes, so use this for a stable full export. |
updated_at | Last-write timestamp; pair with the id tiebreaker for sync. |
Prefix a key with - for descending.
Request headers
A correlation id of your own. It is recorded in our logs next to the server's request id but never returned: the response header always carries the server's id. A value that does not match the pattern is discarded silently, never rejected.
Response 200
Returns a page of CustomFieldList rows.
The rows, each a CustomFieldList.
per_page, next_cursor, prev_cursor, total, current_page, last_page.
self, next, prev.
Each row is a CustomFieldList: 14 fields.
Headers
ETag- A weak validator (
W/"…") of the rendered page. RateLimit- The IETF
httpapi-ratelimit-headersform of your remaining allowance on the tightest bucket this request touched. RateLimit-Policy- The ceiling and window of that bucket, as
<limit>;w=<seconds>. X-Request-Id- The server-generated ULID correlating this response with our logs.
Every response also carries Cache-Control, Vary, X-Content-Type-Options, X-Plnnrly-Api-Version, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. Headers and versioning
The field's key in a record's custom_fields, such as licence_plate. It never changes once the field exists, so clients and automations can rely on it.
What the field holds, and so the shape of its value: text, textarea, color-picker and markdown-editor a string; rich-editor HTML; email, phone, link and tags-input a list of strings; number an integer; currency a decimal string; date YYYY-MM-DD; date-time a UTC date-time with a Z; checkbox and toggle a boolean; select, radio and toggle-buttons one option id; multi-select and checkbox-list a list of option ids.
The record type the field is on, such as customer.
projectcustomercontactuserwork_itemevent
New values may be added.
The section of the form the field is in.
Whether the field must hold a value. A write may leave it out, but may not clear it with null.
The choices of a select, radio, toggle-buttons, multi-select or checkbox-list field, in their order. Empty for other types.
Errors
8 errors every operation can return: 304, 400, 401, 404, 406, 429, 500, 503
304 Not modified.
400 Bad request.
idempotency-key-requiredinvalid-cursorinvalid-query-parametermalformed-requestunsupported-parameter
401 Unauthenticated.
404 Not found.
406 Not acceptable.
429 Too many requests.
500 Server error.
503 Service unavailable.
This path allows GET. Anything else answers 405.
Something wrong or missing on this page? Tell us