Skip to content
HubSpot Developer Changelog

Breaking Change: Removed Support for Referencing Custom Object Types by Base Name

We are removing the undocumented support for requesting custom object types by their base name (GET/crm/v3/objects/{baseName}) in HubSpot public APIs. All custom object types must be referenced by their unique identifier (object type ID, fully qualified name, or short-hand custom object type name) to ensure clarity and consistency in API interactions.

What's changing?

Previously, it was possible to refer to custom object types by their base name in API requests. For instance, if both a HubSpot-defined object type and a custom object type were named "vendor," using the base name would cause confusion and result in unexpected behavior in API responses.
As a result, the base name format will no longer be supported after April 29th, 2025. Here is an example using the base name "vendor":

// Example GET /crm/v3/objects/vendor
Instead, you must use one of the following formats for your request:
  • Using the short-hand custom object type name, aka GET /crm/v3/objects/p_{object_name}
// Example GET /crm/v3/objects/p_vendor
  • Using the GET /crm/v3/objects/objectTypeId
// Example GET /crm/v3/objects/2-123
  • Using the GET /crm/v3/objects/fullyQualifiedName
// Example GET /crm/v3/objects/p345_vendor

What does this mean for developers?

Failing to update your custom object type API calls that refer to their base name instead of their unique identifier (object type ID, fully qualified name, or short-hand custom object type name) will result in unexpected errors or a failed request, returning a 400 error response:

{ status:"error", message:"Unable to infer object type from: vendor", correlationId:"cfb4f7d2-c7dc-4b91-a5f1-b0fa417ae2e8" }

We recommend the following next steps:

  • Review and update your API integrations to ensure that all API requests to custom object types comply with the documented requirements and no longer refer to a custom object type by its base name.
  • Please refer to our API Documentation for more information on retrieving custom object type data and understanding the available reference formats.

When is it happening?

This change will go into effect on April 29th, 2025.

Questions or comments? Join us in the developer forums.