List custom fields
list_custom_fieldsocmgr custom-fields listGET /v1/custom-fieldsREAD
The workspace’s own fields — whatever a customer’s CSV columns and API pushes have defined, beyond the attributes ocmgr models itself. Each says its key (what a push or an import calls it), its display name, its value type, and how many members hold a value. Read this before setting one, so you write to the field that exists rather than defining a near-duplicate key.
Parameters
include_archivedboolean
subject"member" | "organisation" | "both"
entity_typestring
Only fields that apply to this entity type, e.g. "contact".
CLI flags
--include-archived
Include archived definitions
--subject <subject>
member, organisation or both
--entity-type <type>
Only fields that apply to this entity type, e.g. contact