List custom fields
ghl_list_custom_fieldsRetrieve custom field definitions for a location, filtering by contact, opportunity, or all. Get field IDs to read and write custom values on contacts.
Instructions
List custom field definitions for a location. Filter by model (contact, opportunity, or all) to see which fields apply where. Use the returned ids when reading/writing custom field values on contacts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Which object's custom fields to return. | all |
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. |