Required Scopes
Required Scopes
Retrieve activation statuses of all activatable objects
To check the activation status of all activatable objects in a HubSpot account, make aGET request to /crm/object-library/2027-03-beta/enablement. Only objects that can be activated or deactivated are returned. Standard objects such as contacts, companies, deals, and tickets are not included.
In the response, the enablementByObjectTypeId object contains objectTypeId values paired with a boolean. A value of true means the object is activated and false means it is deactivated. You can view each object’s objectTypeId in this table.
For example, the following response shows an account where appointments and services are activated, but courses and listings are not.
Retrieve a single object’s activation status
To check whether a specific object is activated in a HubSpot account, make aGET request to /crm/object-library/2027-03-beta/enablement/{objectTypeId}. Refer to this table to find an object’s objectTypeId.
The response returns the object’s enablement value as true or false.
For example, to check whether appointments are activated, make a GET request to /crm/object-library/2027-03-beta/enablement/0-421. If appointments are activated, the response will look like:
Activate an object
To activate an eligible HubSpot-defined object, make aPOST request to /crm/object-library/2027-03-beta/{objectTypeId}/activate.
Rename an object
Some objects support renaming, which lets you change the singular and plural display labels used throughout HubSpot to better reflect your business terminology. For example, you could rename the Companies object from “Companies” to “Organizations.” To rename an object, make aPUT request to /crm/object-library/2027-03-beta/rename/{objectTypeId}. In the request body, include the updated singularLabel and pluralLabel values.
The response includes the updated labels along with a
suggestedPropertyLabelUpdates array. This array lists properties across objects with labels you may want to update to match the renamed object. For example, renaming “Companies” to “Organizations” might suggest renaming “Company Size” to “Organization Size” on the companies object, and “Primary Company” to “Primary Organization” on the contacts object.
The property relabeling suggested in the API response is handled automatically when you rename an object through the HubSpot UI. If you rename via the API, you can still apply property label updates through HubSpot’s data model management settings. Deleting a rename will also reset any property labels that were updated based on the rename suggestions.
Retrieve renamings
Retrieve all renamings
To retrieve the custom labels for all renamed objects in a HubSpot account, make aGET request to /crm/object-library/2027-03-beta/rename.
The response returns a list of all objects that have been renamed, along with their current custom singular and plural labels.
Retrieve the renaming for a specific object
To retrieve the custom labels for a specific renamed object, make aGET request to /crm/object-library/2027-03-beta/rename/{objectTypeId}.
If the object has been renamed, the response returns its current custom labels.
404 response.
Revert a rename
To remove a custom rename and restore the default display labels for an object, make aDELETE request to /crm/object-library/2027-03-beta/rename/{objectTypeId}.
A successful deletion returns a 204 No Content response.