Create Custom Field Folder
POST/custom-fields/folder
Create Custom Field Folder.
info
Supports Custom Objects, Company (Business), and Project Management tasks (objectKey: "task", optional scopes). Contact and Opportunity fields continue to use the Locations custom-fields endpoints.
Request
Version stringrequired
API Version
Available options
2021-07-28- application/json
- Body
- Example (auto)
Bodyrequired
objectKeystringrequired
The key for your custom object. This key uniquely identifies the custom object. Example: "custom_object.pet" for a custom object related to pets.
namestringrequired
Field name
locationIdstringrequired
Location Id
{
"objectKey": "custom_object.pet",
"name": "Name",
"locationId": "ve9EPM428h8vShlRW1KT"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
idstringrequired
Unique identifier of the folder
objectKeystringrequired
The key for your custom object. This key uniquely identifies the custom object. Example: "custom_object.pet" for a custom object related to pets.
originIdstringrequired
Origin ID of the object
locationIdstringrequired
Location Id
namestringrequired
Field name
{
"id": "661c06b4ffde146bdb469442",
"objectKey": "custom_object.pet",
"originId": "661c06b4ffde146bdb469442",
"locationId": "ve9EPM428h8vShlRW1KT",
"name": "Name"
}