ghl_object_get_schema_by_key
Retrieve the full schema of a custom or standard object by its key, including all fields and properties. Specify location ID to fetch.
Instructions
Get Object Schema by key / id Retrieve Object Schema by key or ID. This will return the schema of the custom object, including all its fields and properties. Supported objects include contact, opportunity, business and custom objects.To understand objects and records, please have a look the documentation here : https://doc.clickup.com/8631005/d/h/87cpx-277156/93bf0c2e23177b0 Endpoint: GET /objects/{key} (Version header: v3; source: v3/objects-v3.json) OAuth scopes: objects/schema.readonly
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | key of the custom or standard object. For custom objects, the key must include the prefix “custom_objects.”. This key can be found on the Object Details page under Settings in the UI. | |
| locationId | Yes | location id of the sub account | |
| fetchProperties | No | Fetch Properties , Fetches all the standard / custom fields of the object when set to true |