PackageTrack
Sign in Get early access

hubspot/api-client

Hubspot API client

14.1.0 17M downloads/mo #861 most downloaded on Packagist HubSpot/hubspot-api-php

What this package is like to depend on

Last release 3 months ago

12 May 2026

Release timing varies

gaps range from 9 days to 6 months

Most releases are documented

notes for 65 of 75 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

79 releases · first in 2020

12 releases in the last 12 months

see the full history below

Release timeline

79 releases · Apr 2020 to May 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 79
  1. 14.1.0 12 May 2026
    Release notes

    Updates

    • Added RetryMiddlewareFactory::createConnectionErrorsMiddleware() — retries requests that fail with transient cURL errors (52, 55, 56) by default.
    • Added RetryMiddlewareFactory::getRetryFunctionByConnectionErrors() — low-level retry decider for connection errors, configurable via $curlErrorCodes and $maxRetries.
    • Delay::getExponentialDelayFunction() is deprecated — pass null as the delay function instead to use Guzzle's built-in exponential backoff.
    Open source →
    Release notes

    Retry Middleware

    • Added RetryMiddlewareFactory::createConnectionErrorsMiddleware() — retries requests that fail with transient cURL errors (52, 55, 56) by default.
    • Added RetryMiddlewareFactory::getRetryFunctionByConnectionErrors() — low-level retry decider for connection errors, configurable via $curlErrorCodes and $maxRetries.
    • Delay::getExponentialDelayFunction() is deprecated — pass null as the delay function instead to use Guzzle's built-in exponential backoff.
    Open source →
  2. 14.0.7 23 Apr 2026
    Release notes

    CRM Associations V3

    • crm()->associations()->batchApi()->create() now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with new BatchResponsePublicAssociationWithErrors model.
    • crm()->associations()->batchApi()->read() now handles HTTP 207 (partial success) responses, returning BatchResponsePublicAssociationMultiWithErrors.
    • HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation no longer includes errors and numErrors fields — those are available on the new BatchResponsePublicAssociationWithErrors model.
    • HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti no longer includes errors and numErrors fields — those are available on the new BatchResponsePublicAssociationMultiWithErrors model.
    • Added new models: BatchResponsePublicAssociationWithErrors, BatchResponsePublicAssociationMultiWithErrors.

    CRM Properties

    • crm()->properties()->batchApi()->create() now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with new BatchResponsePropertyWithErrors model.
    • crm()->properties()->batchApi()->read() now handles HTTP 207 (partial success) responses, returning BatchResponsePropertyWithErrors.
    • HubSpot\Client\Crm\Properties\Model\BatchResponseProperty no longer includes errors and numErrors fields — those are available on the new BatchResponsePropertyWithErrors model.
    • Added new fields currencyPropertyName, numberDisplayHint, and showCurrencySymbol to Property, PropertyCreate, and PropertyUpdate models.
    • Added new model: BatchResponsePropertyWithErrors.
    Open source →
    Release notes

    CRM Associations V3

    • crm()->associations()->batchApi()->create() now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with new BatchResponsePublicAssociationWithErrors model.
    • crm()->associations()->batchApi()->read() now handles HTTP 207 (partial success) responses, returning BatchResponsePublicAssociationMultiWithErrors.
    • HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation no longer includes errors and numErrors fields — those are available on the new BatchResponsePublicAssociationWithErrors model.
    • HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti no longer includes errors and numErrors fields — those are available on the new BatchResponsePublicAssociationMultiWithErrors model.
    • Added new models: BatchResponsePublicAssociationWithErrors, BatchResponsePublicAssociationMultiWithErrors.

    CRM Properties

    • crm()->properties()->batchApi()->create() now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with new BatchResponsePropertyWithErrors model.
    • crm()->properties()->batchApi()->read() now handles HTTP 207 (partial success) responses, returning BatchResponsePropertyWithErrors.
    • HubSpot\Client\Crm\Properties\Model\BatchResponseProperty no longer includes errors and numErrors fields — those are available on the new BatchResponsePropertyWithErrors model.
    • Added new fields currencyPropertyName, numberDisplayHint, and showCurrencySymbol to Property, PropertyCreate, and PropertyUpdate models.
    • Added new model: BatchResponsePropertyWithErrors.
    Open source →
  3. 14.0.6 22 Apr 2026
    Release notes

    OAuth

    • Added code_verifier and scope as optional parameters to oauth()->tokensApi()->create().
    • Added refresh_token field to HubSpot\Client\Oauth\Model\TokenResponseIF.
    • Fixed JSON attribute mappings in HubSpot\Client\Oauth\Model\TokenResponseIF to use snake_case keys (access_token, expires_in, hub_id, token_type) matching the actual API response.

    CRM Objects

    • crm()->objects()->basicApi()->create() now returns HTTP 201 instead of 200.
    • crm()->objects()->basicApi()->getPage() return type changed from CollectionResponseSimplePublicObjectWithAssociations to CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.
    • crm()->objects()->batchApi()->create() now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with new BatchResponseSimplePublicObjectWithErrors model.
    • crm()->objects()->batchApi()->read() and update() now handle HTTP 207 (partial success) responses, returning BatchResponseSimplePublicObjectWithErrors.
    • crm()->objects()->batchApi()->upsert() now handles HTTP 207 (partial success) responses, returning BatchResponseSimplePublicUpsertObjectWithErrors.
    • HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicObject no longer includes errors and numErrors fields — those are available on the new BatchResponseSimplePublicObjectWithErrors model.
    • HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicUpsertObject no longer includes errors and numErrors fields — those are available on the new BatchResponseSimplePublicUpsertObjectWithErrors model.
    • Renamed model CollectionResponseSimplePublicObjectWithAssociations to CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.
    • Added new models: BatchResponseSimplePublicObjectWithErrors, BatchResponseSimplePublicUpsertObjectWithErrors, ForwardPaging.
    Open source →
    Release notes

    OAuth

    • Added code_verifier and scope as optional parameters to oauth()->tokensApi()->create().
    • Added refresh_token field to HubSpot\Client\Oauth\Model\TokenResponseIF.
    • Fixed JSON attribute mappings in HubSpot\Client\Oauth\Model\TokenResponseIF to use snake_case keys (access_token, expires_in, hub_id, token_type) matching the actual API response.

    CRM Objects

    • crm()->objects()->basicApi()->create() now returns HTTP 201 instead of 200.
    • crm()->objects()->basicApi()->getPage() return type changed from CollectionResponseSimplePublicObjectWithAssociations to CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.
    • crm()->objects()->batchApi()->create() now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with new BatchResponseSimplePublicObjectWithErrors model.
    • crm()->objects()->batchApi()->read() and update() now handle HTTP 207 (partial success) responses, returning BatchResponseSimplePublicObjectWithErrors.
    • crm()->objects()->batchApi()->upsert() now handles HTTP 207 (partial success) responses, returning BatchResponseSimplePublicUpsertObjectWithErrors.
    • HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicObject no longer includes errors and numErrors fields — those are available on the new BatchResponseSimplePublicObjectWithErrors model.
    • HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicUpsertObject no longer includes errors and numErrors fields — those are available on the new BatchResponseSimplePublicUpsertObjectWithErrors model.
    • Renamed model CollectionResponseSimplePublicObjectWithAssociations to CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.
    • Added new models: BatchResponseSimplePublicObjectWithErrors, BatchResponseSimplePublicUpsertObjectWithErrors, ForwardPaging.
    Open source →
  4. 14.0.5 02 Apr 2026
    Release notes

    CRM Associations V4

    • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->archive() and archiveLabels() to void instead of BatchResponseVoid|Error. The BatchResponseVoid model has been removed.
    • crm()->associations()->v4()->batchApi()->create() now handles HTTP 207 (partial success) responses, returning new BatchResponseLabelsBetweenObjectPairWithErrors model.
    • crm()->associations()->v4()->batchApi()->getPage() now handles HTTP 207 (partial success) responses, returning new BatchResponsePublicAssociationMultiWithLabelWithErrors model.
    • HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPair model no longer includes errors and numErrors fields — those are available on the new HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrors model.
    • Added new models: HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrors, HubSpot\Client\Crm\Associations\V4\Model\BatchResponsePublicAssociationMultiWithLabelWithErrors.
    Open source →
    Release notes

    CRM Associations V4

    • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->archive() and archiveLabels() to void instead of BatchResponseVoid|Error. The BatchResponseVoid model has been removed.
    • crm()->associations()->v4()->batchApi()->create() now handles HTTP 207 (partial success) responses, returning new BatchResponseLabelsBetweenObjectPairWithErrors model.
    • crm()->associations()->v4()->batchApi()->getPage() now handles HTTP 207 (partial success) responses, returning new BatchResponsePublicAssociationMultiWithLabelWithErrors model.
    • HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPair model no longer includes errors and numErrors fields — those are available on the new HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrors model.
    • Added new models: HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrors, HubSpot\Client\Crm\Associations\V4\Model\BatchResponsePublicAssociationMultiWithLabelWithErrors.
    Open source →
  5. 14.0.4 24 Mar 2026
    Release notes

    What's Changed

    • Corrected parameter names for forms in Files and CRM Imports clients.
    Open source →
    Release notes
    • Corrected parameter names for forms in Files and CRM Imports clients.
    Open source →
  6. 14.0.3 04 Mar 2026
    Release notes

    CRM Association V4

    • Updated crm()->associations()->v4()->basicApi()->create() method to return status code 201.
    • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->create() to return LabelsBetweenObjectPair | Error instead of CreatedResponseLabelsBetweenObjectPair | Error.
    • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->getPage() to return CollectionResponseMultiAssociatedObjectWithLabelForwardPaging | Error instead of CollectionResponseMultiAssociatedObjectWithLabel | Error.
    Open source →
    Release notes

    CRM Association V4

    • Updated crm()->associations()->v4()->basicApi()->create() method to return status code 201.
    • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->create() to return LabelsBetweenObjectPair | Error instead of CreatedResponseLabelsBetweenObjectPair | Error.
    • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->getPage() to return CollectionResponseMultiAssociatedObjectWithLabelForwardPaging | Error instead of CollectionResponseMultiAssociatedObjectWithLabel | Error.
    Open source →
  7. 14.0.2 27 Feb 2026
    Release notes

    CRM Objects

    • Updated all batch create methods of CRM objects to return status code 201.
    Open source →
    Release notes

    CRM Objects

    • Updated all batch create methods of CRM objects to return status code 201.
    Open source →
  8. 14.0.1 25 Feb 2026
    Release notes

    CRM Objects

    • Updated all create methods of CRM objects to return status code 201.
    Open source →
    Release notes

    CRM Objects

    • Updated all create methods of CRM objects to return status code 201.
    Open source →
  9. 14.0.0 23 Feb 2026
    Release notes

    CMS Source Code and HubDB

    • Changed the return type of the response object in cms()->sourceCode()->contentApi()->download() from \HubSpot\Client\Cms\SourceCode\Model\Error to \SplFileObject|\HubSpot\Client\Cms\SourceCode\Model\Error.
    • Added the $environment parameter as the first argument to the cms()->sourceCode()->contentApi()->doValidate() method.
    • Added removeTableVersion() method to cms()->hubdb()->tablesApi().
    • Added is_get_localized_schema option to cms()->hubdb()->tablesApi()->getAllDraftTables() and cms()->hubdb()->tablesApi()->getAllTables().
    • Added max_number_of_characters and max_number_of_options properties to HubSpot\Client\Cms\Hubdb\Model\ColumnRequest.
    • Added deleted_at property to HubSpot\Client\Cms\Hubdb\Model\HubDbTableV3.

    CRM

    • Added pipeline_id option to crm()->pipelines()->pipelineStageAuditsApi()->getAudit().
    • Made metadata property required in HubSpot\Client\Crm\Pipelines\Model\PipelineStage, HubSpot\Client\Crm\Pipelines\Model\PipelineStageInput and HubSpot\Client\Crm\Pipelines\Model\PipelineStagePatchInput.
    • Added getById() method to crm()->exports()->publicExportsApi().
    • Added filter_groups property to HubSpot\Client\Crm\Exports\Model\PublicCrmSearchRequest.
    • Added include_labeled_associations and include_primary_display_property_for_associated_objects properties to HubSpot\Client\Crm\Exports\Model\PublicExportListRequest, HubSpot\Client\Crm\Exports\Model\PublicExportViewRequest and HubSpot\Client\Crm\Exports\Model\PublicExportRequest.
    • Removed public_crm_search_request property from HubSpot\Client\Crm\Exports\Model\PublicExportListRequest.
    • Removed list_id property from HubSpot\Client\Crm\Exports\Model\PublicExportViewRequest.
    • Renamed method crm()->extensions()->calling()->channelConnectionSettingsApi()->archive() to crm()->extensions()->calling()->channelConnectionSettingsApi()->remove().
    • Renamed method crm()->extensions()->calling()->channelConnectionSettingsApi()->getById() to crm()->extensions()->calling()->channelConnectionSettingsApi()->get().
    • Renamed method crm()->extensions()->calling()->recordingSettingsApi()->getUrlFormat() to crm()->extensions()->calling()->recordingSettingsApi()->get().
    • Renamed method crm()->extensions()->calling()->recordingSettingsApi()->registerUrlFormat() to crm()->extensions()->calling()->recordingSettingsApi()->create().
    • Renamed method crm()->extensions()->calling()->recordingSettingsApi()->updateUrlFormat() to crm()->extensions()->calling()->recordingSettingsApi()->update().
    • Renamed method crm()->extensions()->calling()->settingsApi()->archive() to crm()->extensions()->calling()->settingsApi()->remove().
    • Renamed method crm()->extensions()->calling()->settingsApi()->getById() to crm()->extensions()->calling()->settingsApi()->get().
    • Renamed crm()->lists()->mappingApi() to crm()->lists()->idMappingApi().
    • Removed crm()->lists()->foldersApi() and moved all methods into crm()->lists()->listManagementApi().
    • Moved getPageOrderedByAddedToListDate() method to crm()->lists()->joinOrderApi().
    • Added getConversionDetails(), scheduleOrUpdateConversion() and cancelConversion() methods to crm()->lists()->listManagementApi().
    • Added list_permissions and membership_settings properties to HubSpot\Client\Crm\Lists\Model\ListCreateRequest and HubSpot\Client\Crm\Lists\Model\PublicObjectList.
    • Added is_public_list property to HubSpot\Client\Crm\Lists\Model\RecordListMembership.
    • Changed property type from filter_branch:PublicPropertyAssociationFilterBranchFilterBranchesInner to filter_branch:ListFilterUpdateRequestFilterBranch in HubSpot\Client\Crm\Lists\Model\ListFilterUpdateRequest and HubSpot\Client\Crm\Lists\Model\PublicObjectList.
    • Updated the return type of the response object in crm()->properties()->batchApi()->create(), crm()->properties()->batchApi()->read() by removing BatchResponsePropertyWithErrors from the possible return types.
    • Added locale option to crm()->properties()->batchApi()->read(), crm()->properties()->groupsApi()->getAll(), crm()->properties()->groupsApi()->getByName().
    • Added data_sensitivity and locale options to crm()->properties()->coreApi()->getAll() and crm()->properties()->coreApi()->getByName().
    • Added data_sensitivity property to HubSpot\Client\Crm\Properties\Model\BatchReadInputPropertyName, HubSpot\Client\Crm\Properties\Model\Property, HubSpot\Client\Crm\Properties\Model\PropertyCreate.
    • Added properties errors and num_errors to HubSpot\Client\Crm\Properties\Model\BatchResponseProperty.

    CRM Objects

    • Updated the return type of basicApi()->getPage() in
      crm()->deals(), crm()->lineItems(), crm()->quotes(), crm()->tickets(),
      crm()->commerce()->invoices(), crm()->objects()->calls(),
      crm()->objects()->communications(), crm()->objects()->emails(),
      crm()->objects()->feedbackSubmissions(), crm()->objects()->goals(),
      crm()->objects()->meetings(), crm()->objects()->notes(),
      crm()->objects()->postalMail(), crm()->objects()->tasks(),
      crm()->objects()->taxes() and crm()->objects()
      to return CollectionResponseSimplePublicObjectWithAssociations | Error instead of
      CollectionResponseSimplePublicObjectWithAssociationsForwardPaging | Error.
    • Updated the return type of batchApi()->create(), batchApi()->read() and batchApi()->update() in
      crm()->companies(), crm()->deals(), crm()->lineItems(), crm()->quotes(),
      crm()->tickets(), crm()->commerce()->invoices(), crm()->objects()->calls(),
      crm()->objects()->communications(), crm()->objects()->emails(),
      crm()->objects()->feedbackSubmissions() (read only), crm()->objects()->goals(),
      crm()->objects()->leads(), crm()->objects()->meetings(), crm()->objects()->notes(),
      crm()->objects()->postalMail(), crm()->objects()->tasks(),
      crm()->objects()->taxes() and crm()->objects()
      by removing BatchResponseSimplePublicObjectWithErrors from the possible return types.
    • Updated the return type of batchApi()->upsert() in
      crm()->companies(), crm()->deals(), crm()->lineItems(), crm()->quotes(),
      crm()->tickets(), crm()->commerce()->invoices(), crm()->objects()->calls(),
      crm()->objects()->communications(), crm()->objects()->emails(),
      crm()->objects()->goals(), crm()->objects()->leads(), crm()->objects()->meetings(),
      crm()->objects()->notes(), crm()->objects()->postalMail(), crm()->objects()->tasks(),
      crm()->objects()->taxes() and crm()->objects()
      by removing BatchResponseSimplePublicUpsertObjectWithErrors from the possible return types.
    • Updated the return type of searchApi()->doSearch() in
      crm()->companies(), crm()->deals(), crm()->lineItems(), crm()->quotes(),
      crm()->tickets(), crm()->commerce()->invoices(), crm()->objects()->calls(),
      crm()->objects()->communications(), crm()->objects()->emails(),
      crm()->objects()->feedbackSubmissions(), crm()->objects()->goals(),
      crm()->objects()->leads(), crm()->objects()->meetings(), crm()->objects()->notes(),
      crm()->objects()->postalMail(), crm()->objects()->tasks(),
      crm()->objects()->taxes() and crm()->objects()
      to return CollectionResponseWithTotalSimplePublicObject | Error instead of
      CollectionResponseWithTotalSimplePublicObjectForwardPaging | Error.
    • Added properties errors and num_errors to
      HubSpot\Client\Crm\Companies\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Companies\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Deals\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Deals\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\LineItems\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\LineItems\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Quotes\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Quotes\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Tickets\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Tickets\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Commerce\Invoices\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Commerce\Invoices\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\Calls\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\Calls\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\Communications\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\Communications\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\Emails\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\Emails\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\FeedbackSubmissions\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\Goals\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\Goals\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\Meetings\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\Meetings\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\Notes\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\Notes\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\PostalMail\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\PostalMail\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\Tasks\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\Tasks\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\Taxes\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\Taxes\Model\BatchResponseSimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicObject,
      HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicUpsertObject.
    • Added property url to
      HubSpot\Client\Crm\Companies\Model\SimplePublicObject,
      HubSpot\Client\Crm\Companies\Model\SimplePublicObjectWithAssociations,
      HubSpot\Client\Crm\Companies\Model\SimplePublicUpsertObject,
      HubSpot\Client\Crm\Deals\Model\SimplePublicObjectWithAssociations,
      HubSpot\Client\Crm\Deals\Model\SimplePublicUpsertObject,
      HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectWithAssociations,
      HubSpot\Client\Crm\LineItems\Model\SimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObject,
      HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectWithAssociations,
      HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectWithAssociations,
      HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObject,
      HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectWithAssociations,
      HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicUpsertObject,
      HubSpot\Client\Crm\Objects\Model\SimplePublicObject,
      HubSpot\Client\Crm\Objects\Model\SimplePublicObjectWithAssociations,
      HubSpot\Client\Crm\Objects\Model\SimplePublicUpsertObject.

    CRM Associations V3

    • Changed the return type of the response object in crm()->associations()->batchApi()->create() from \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation|\HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationWithErrors|\HubSpot\Client\Crm\Associations\Model\Error to \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation|\HubSpot\Client\Crm\Associations\Model\Error.
    • Changed the return type of the response object in crm()->associations()->batchApi()->read() from \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti|\HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMultiWithErrors|\HubSpot\Client\Crm\Associations\Model\Error to \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti|\HubSpot\Client\Crm\Associations\Model\Error.
    • Added properties errors and num_errors to HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation, HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti.

    CRM Associations V4

    • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->create() to return CreatedResponseLabelsBetweenObjectPair | Error instead of LabelsBetweenObjectPair | Error.
    • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->getPage() to return CollectionResponseMultiAssociatedObjectWithLabel | Error instead of CollectionResponseMultiAssociatedObjectWithLabelForwardPaging | Error.
    • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->archive() and crm()->associations()->v4()->batchApi()->archiveLabels() to return \HubSpot\Client\Crm\Associations\V4\Model\BatchResponseVoid|\HubSpot\Client\Crm\Associations\V4\Model\Error instead of void.
    • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->create() by removing BatchResponseLabelsBetweenObjectPairWithErrors from the possible return types.
    • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->getPage() by removing BatchResponsePublicAssociationMultiWithLabelWithErrors from the possible return types.
    • Updated the return type of the response object in crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchCreate() by removing BatchResponsePublicAssociationDefinitionUserConfigurationWithErrors from the possible return types.
    • Updated the return type of the response object in crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchRemove() to return \HubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponseVoid|\HubSpot\Client\Crm\Associations\V4\Schema\Model\Error instead of void.
    • Updated the return type of the response object in crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchUpdate() by removing BatchResponsePublicAssociationDefinitionConfigurationUpdateResultWithErrors from the possible return types.
    • Renamed getAll() to getPage() in crm()->associations()->v4()->schema()->definitionConfigurationsApi(), and updated the return type from CollectionResponsePublicAssociationDefinitionUserConfigurationNoPaging | Error to CollectionResponsePublicAssociationDefinitionUserConfiguration | Error.
    • Renamed getAllBetweenTwoObjectTypes() to getPageBetweenTwoObjectTypes() in crm()->associations()->v4()->schema()->definitionConfigurationsApi(), and updated the return type from CollectionResponsePublicAssociationDefinitionUserConfigurationNoPaging | Error to CollectionResponsePublicAssociationDefinitionUserConfiguration | Error.
    • Changed the return type of crm()->associations()->v4()->schema()->definitionsApi()->create() from CollectionResponseAssociationSpecWithLabelNoPaging | Error to CollectionResponseAssociationSpecWithLabel | Error.
    • Renamed getAll() to getPage() in crm()->associations()->v4()->schema()->definitionsApi(), and updated the return type from CollectionResponseAssociationSpecWithLabelNoPaging | Error to CollectionResponseAssociationSpecWithLabel | Error.
    • Changed the order of parameters in crm()->associations()->v4()->schema()->definitionsApi()->remove() from
      $from_object_type, $to_object_type, $association_type_id
      to
      $association_type_id, $from_object_type, $to_object_type.
    • Added properties errors and num_errors to HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPair, HubSpot\Client\Crm\Associations\V4\Model\BatchResponsePublicAssociationMultiWithLabel, HubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponsePublicAssociationDefinitionConfigurationUpdateResult and HubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponsePublicAssociationDefinitionUserConfiguration.

    Marketing

    • Renamed marketing()->emails()->marketingEmailsApi() to marketing()->emails()->emailsApi().
    • Changed parameter name and type from ContentCloneRequestVNext $content_clone_request_v_next to EmailCloneRequestVNext $email_clone_request_v_next in marketing()->emails()->emailsApi()->callClone().
    • Added archived, included_properties, include_stats, marketing_campaign_names, variant_stats and workflow_names parameters to marketing()->emails()->emailsApi()->getAbTestVariation().
    • Added campaign, published_after, published_at, published_before and variant_stats parameters to marketing()->emails()->emailsApi()->getPage().
    • Added variant_stats optional parameter to marketing()->emails()->emailsApi()->getById().
    • Added folder_id_v2 property to HubSpot\Client\Marketing\Emails\Model\EmailCreateRequest and HubSpot\Marketing\Emails\Model\EmailUpdateRequest.
    • Added all_email_campaign_ids, campaign_utm, cloned_from, email_campaign_group_id, email_template_mode, folder_id_v2, is_ab, preview_key, primary_email_campaign_id, published_by_email, published_by_name, teams_with_access, unpublished_at and users_with_access properties to HubSpot\Client\Marketing\Emails\Model\PublicEmail.
    • Added is_ab_variation property to HubSpot\Client\Marketing\Emails\Model\PublicEmailTestingDetails.
    • Renamed marketing()->events()->addEventAttendeesApi() to marketing()->events()->eventAttendeesApi().
    • Renamed marketing()->events()->changePropertyApi() to marketing()->events()->eventStatusApi().
    • Renamed marketing()->events()->retrieveParticipantStateApi() to marketing()->events()->participantStateApi().
    • Added event_status_v2 property to HubSpot\Client\Marketing\Events\Model\MarketingEventPublicReadResponseV2.
    • Added source_upstream_deployable property to HubSpot\Client\Marketing\Events\Model\PropertyValue.
    • Added embed_type property to HubSpot\Client\Marketing\Forms\Model\HubSpotFormConfiguration.
    • Changed property type from fields:DependentFieldDependentField[] to fields:FieldGroupFieldsInner[] in HubSpot\Client\Marketing\Forms\Model\FieldGroup.
    • Changed property type from legal_consent_options:HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptions to legal_consent_options:HubSpotFormDefinitionPatchRequestLegalConsentOptions in HubSpot\Client\Marketing\Forms\Model\HubSpotFormDefinitionPatchRequest.
    • Renamed marketing()->transactional()->publicSMTPTokensApi() to marketing()->transactional()->smtpTokensApi().
    • Renamed marketing()->transactional()->singleSendApi() to marketing()->transactional()->sendTransactionalEmailApi().
    • Added message property to HubSpot\Client\Marketing\Transactional\Model\EmailSendStatusView.

    CommunicationPreferences, Files, OAuth, Settings and Webhooks

    • Renamed communicationPreferences()->definitionApi() to communicationPreferences()->definitionsApi() API client.
    • Changed parameters order from $file_id, $file = null, $charset_hunch = null, $options = null to $file_id, $charset_hunch = null, $file = null, $options = null in files()->filesApi()->replace().
    • Changed parameters order from $file = null, $folder_id = null, $folder_path = null, $file_name = null, $charset_hunch = null, $options = null to $charset_hunch = null, $file = null, $file_name = null, $folder_id = null, $folder_path = null, $options = null in files()->filesApi()->upload().
    • Added is_private_distribution and signed_access_token properties to HubSpot\Client\Oauth\Model\AccessTokenInfoResponse.
    • Removed refresh_token property from HubSpot\Client\Oauth\Model\TokenResponseIF.
    • Added hub_id, scopes and user_id properties to HubSpot\Client\Oauth\Model\TokenResponseIF.
    • Renamed settings()->businessUnits()->businessUnitApi() to settings()->businessUnits()->businessUnitsApi().
    • Renamed settings()->users()->usersApi()->replace() to settings()->users()->usersApi()->update().
    • Added event_type_name property to HubSpot\Client\Webhooks\Model\SubscriptionCreateRequest and HubSpot\Client\Webhooks\Model\SubscriptionResponse.
    Open source →
    Release notes

    CMS Source Code and HubDB

    • Changed the return type of the response object in cms()->sourceCode()->contentApi()->download() from \HubSpot\Client\Cms\SourceCode\Model\Error to \SplFileObject|\HubSpot\Client\Cms\SourceCode\Model\Error.
    • Added the $environment parameter as the first argument to the cms()->sourceCode()->contentApi()->doValidate() method.
    • Added removeTableVersion() method to cms()->hubdb()->tablesApi().
    • Added is_get_localized_schema option to cms()->hubdb()->tablesApi()->getAllDraftTables() and cms()->hubdb()->tablesApi()->getAllTables().
    • Added max_number_of_characters and max_number_of_options properties to HubSpot\Client\Cms\Hubdb\Model\ColumnRequest.
    • Added deleted_at property to HubSpot\Client\Cms\Hubdb\Model\HubDbTableV3.

    CRM

    • Added pipeline_id option to crm()->pipelines()->pipelineStageAuditsApi()->getAudit().
    • Made metadata property required in HubSpot\Client\Crm\Pipelines\Model\PipelineStage, HubSpot\Client\Crm\Pipelines\Model\PipelineStageInput and HubSpot\Client\Crm\Pipelines\Model\PipelineStagePatchInput.
    • Added getById() method to crm()->exports()->publicExportsApi().
    • Added filter_groups property to HubSpot\Client\Crm\Exports\Model\PublicCrmSearchRequest.
    • Added include_labeled_associations and include_primary_display_property_for_associated_objects properties to HubSpot\Client\Crm\Exports\Model\PublicExportListRequest, HubSpot\Client\Crm\Exports\Model\PublicExportViewRequest and HubSpot\Client\Crm\Exports\Model\PublicExportRequest.
    • Removed public_crm_search_request property from HubSpot\Client\Crm\Exports\Model\PublicExportListRequest.
    • Removed list_id property from HubSpot\Client\Crm\Exports\Model\PublicExportViewRequest.
    • Renamed method crm()->extensions()->calling()->channelConnectionSettingsApi()->archive() to crm()->extensions()->calling()->channelConnectionSettingsApi()->remove().
    • Renamed method crm()->extensions()->calling()->channelConnectionSettingsApi()->getById() to crm()->extensions()->calling()->channelConnectionSettingsApi()->get().
    • Renamed method crm()->extensions()->calling()->recordingSettingsApi()->getUrlFormat() to crm()->extensions()->calling()->recordingSettingsApi()->get().
    • Renamed method crm()->extensions()->calling()->recordingSettingsApi()->registerUrlFormat() to crm()->extensions()->calling()->recordingSettingsApi()->create().
    • Renamed method crm()->extensions()->calling()->recordingSettingsApi()->updateUrlFormat() to crm()->extensions()->calling()->recordingSettingsApi()->update().
    • Renamed method crm()->extensions()->calling()->settingsApi()->archive() to crm()->extensions()->calling()->settingsApi()->remove().
    • Renamed method crm()->extensions()->calling()->settingsApi()->getById() to crm()->extensions()->calling()->settingsApi()->get().
    • Renamed crm()->lists()->mappingApi() to crm()->lists()->idMappingApi().
    • Removed crm()->lists()->foldersApi() and moved all methods into crm()->lists()->listManagementApi().
    • Moved getPageOrderedByAddedToListDate() method to crm()->lists()->joinOrderApi().
    • Added getConversionDetails(), scheduleOrUpdateConversion() and cancelConversion() methods to crm()->lists()->listManagementApi().
    • Added list_permissions and membership_settings properties to HubSpot\Client\Crm\Lists\Model\ListCreateRequest and HubSpot\Client\Crm\Lists\Model\PublicObjectList.
    • Added is_public_list property to HubSpot\Client\Crm\Lists\Model\RecordListMembership.
    • Changed property type from filter_branch:PublicPropertyAssociationFilterBranchFilterBranchesInner to filter_branch:ListFilterUpdateRequestFilterBranch in HubSpot\Client\Crm\Lists\Model\ListFilterUpdateRequest and HubSpot\Client\Crm\Lists\Model\PublicObjectList.
    • Updated the return type of the response object in crm()->properties()->batchApi()->create(), crm()->properties()->batchApi()->read() by removing BatchResponsePropertyWithErrors from the possible return types.
    • Added locale option to crm()->properties()->batchApi()->read(), crm()->properties()->groupsApi()->getAll(), crm()->properties()->groupsApi()->getByName().
    • Added data_sensitivity and locale options to crm()->properties()->coreApi()->getAll() and crm()->properties()->coreApi()->getByName().
    • Added data_sensitivity property to HubSpot\Client\Crm\Properties\Model\BatchReadInputPropertyName, HubSpot\Client\Crm\Properties\Model\Property, HubSpot\Client\Crm\Properties\Model\PropertyCreate.
    • Added properties errors and num_errors to HubSpot\Client\Crm\Properties\Model\BatchResponseProperty.

    CRM Objects

    • Updated the return type of basicApi()->getPage() in crm()->deals(), crm()->lineItems(), crm()->quotes(), crm()->tickets(), crm()->commerce()->invoices(), crm()->objects()->calls(), crm()->objects()->communications(), crm()->objects()->emails(), crm()->objects()->feedbackSubmissions(), crm()->objects()->goals(), crm()->objects()->meetings(), crm()->objects()->notes(), crm()->objects()->postalMail(), crm()->objects()->tasks(), crm()->objects()->taxes() and crm()->objects() to return CollectionResponseSimplePublicObjectWithAssociations | Error instead of CollectionResponseSimplePublicObjectWithAssociationsForwardPaging | Error.
    • Updated the return type of batchApi()->create(), batchApi()->read() and batchApi()->update() in crm()->companies(), crm()->deals(), crm()->lineItems(), crm()->quotes(), crm()->tickets(), crm()->commerce()->invoices(), crm()->objects()->calls(), crm()->objects()->communications(), crm()->objects()->emails(), crm()->objects()->feedbackSubmissions() (read only), crm()->objects()->goals(), crm()->objects()->leads(), crm()->objects()->meetings(), crm()->objects()->notes(), crm()->objects()->postalMail(), crm()->objects()->tasks(), crm()->objects()->taxes() and crm()->objects() by removing BatchResponseSimplePublicObjectWithErrors from the possible return types.
    • Updated the return type of batchApi()->upsert() in crm()->companies(), crm()->deals(), crm()->lineItems(), crm()->quotes(), crm()->tickets(), crm()->commerce()->invoices(), crm()->objects()->calls(), crm()->objects()->communications(), crm()->objects()->emails(), crm()->objects()->goals(), crm()->objects()->leads(), crm()->objects()->meetings(), crm()->objects()->notes(), crm()->objects()->postalMail(), crm()->objects()->tasks(), crm()->objects()->taxes() and crm()->objects() by removing BatchResponseSimplePublicUpsertObjectWithErrors from the possible return types.
    • Updated the return type of searchApi()->doSearch() in crm()->companies(), crm()->deals(), crm()->lineItems(), crm()->quotes(), crm()->tickets(), crm()->commerce()->invoices(), crm()->objects()->calls(), crm()->objects()->communications(), crm()->objects()->emails(), crm()->objects()->feedbackSubmissions(), crm()->objects()->goals(), crm()->objects()->leads(), crm()->objects()->meetings(), crm()->objects()->notes(), crm()->objects()->postalMail(), crm()->objects()->tasks(), crm()->objects()->taxes() and crm()->objects() to return CollectionResponseWithTotalSimplePublicObject | Error instead of CollectionResponseWithTotalSimplePublicObjectForwardPaging | Error.
    • Added properties errors and num_errors to HubSpot\Client\Crm\Companies\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Companies\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Deals\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Deals\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\LineItems\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\LineItems\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Quotes\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Quotes\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Tickets\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Tickets\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Commerce\Invoices\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Commerce\Invoices\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Calls\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Calls\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Communications\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Communications\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Emails\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Emails\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\FeedbackSubmissions\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Goals\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Goals\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Meetings\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Meetings\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Notes\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Notes\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\PostalMail\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\PostalMail\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Tasks\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Tasks\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Taxes\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Taxes\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicUpsertObject.
    • Added property url to HubSpot\Client\Crm\Companies\Model\SimplePublicObject, HubSpot\Client\Crm\Companies\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Companies\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Deals\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\LineItems\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Model\SimplePublicUpsertObject.

    CRM Associations V3

    • Changed the return type of the response object in crm()->associations()->batchApi()->create() from \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation|\HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationWithErrors|\HubSpot\Client\Crm\Associations\Model\Error to \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation|\HubSpot\Client\Crm\Associations\Model\Error.
    • Changed the return type of the response object in crm()->associations()->batchApi()->read() from \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti|\HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMultiWithErrors|\HubSpot\Client\Crm\Associations\Model\Error to \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti|\HubSpot\Client\Crm\Associations\Model\Error.
    • Added properties errors and num_errors to HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation, HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti.

    CRM Associations V4

    • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->create() to return CreatedResponseLabelsBetweenObjectPair | Error instead of LabelsBetweenObjectPair | Error.
    • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->getPage() to return CollectionResponseMultiAssociatedObjectWithLabel | Error instead of CollectionResponseMultiAssociatedObjectWithLabelForwardPaging | Error.
    • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->archive() and crm()->associations()->v4()->batchApi()->archiveLabels() to return \HubSpot\Client\Crm\Associations\V4\Model\BatchResponseVoid|\HubSpot\Client\Crm\Associations\V4\Model\Error instead of void.
    • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->create() by removing BatchResponseLabelsBetweenObjectPairWithErrors from the possible return types.
    • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->getPage() by removing BatchResponsePublicAssociationMultiWithLabelWithErrors from the possible return types.
    • Updated the return type of the response object in crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchCreate() by removing BatchResponsePublicAssociationDefinitionUserConfigurationWithErrors from the possible return types.
    • Updated the return type of the response object in crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchRemove() to return \HubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponseVoid|\HubSpot\Client\Crm\Associations\V4\Schema\Model\Error instead of void.
    • Updated the return type of the response object in crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchUpdate() by removing BatchResponsePublicAssociationDefinitionConfigurationUpdateResultWithErrors from the possible return types.
    • Renamed getAll() to getPage() in crm()->associations()->v4()->schema()->definitionConfigurationsApi(), and updated the return type from CollectionResponsePublicAssociationDefinitionUserConfigurationNoPaging | Error to CollectionResponsePublicAssociationDefinitionUserConfiguration | Error.
    • Renamed getAllBetweenTwoObjectTypes() to getPageBetweenTwoObjectTypes() in crm()->associations()->v4()->schema()->definitionConfigurationsApi(), and updated the return type from CollectionResponsePublicAssociationDefinitionUserConfigurationNoPaging | Error to CollectionResponsePublicAssociationDefinitionUserConfiguration | Error.
    • Changed the return type of crm()->associations()->v4()->schema()->definitionsApi()->create() from CollectionResponseAssociationSpecWithLabelNoPaging | Error to CollectionResponseAssociationSpecWithLabel | Error.
    • Renamed getAll() to getPage() in crm()->associations()->v4()->schema()->definitionsApi(), and updated the return type from CollectionResponseAssociationSpecWithLabelNoPaging | Error to CollectionResponseAssociationSpecWithLabel | Error.
    • Changed the order of parameters in crm()->associations()->v4()->schema()->definitionsApi()->remove() from $from_object_type, $to_object_type, $association_type_id to $association_type_id, $from_object_type, $to_object_type.
    • Added properties errors and num_errors to HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPair, HubSpot\Client\Crm\Associations\V4\Model\BatchResponsePublicAssociationMultiWithLabel, HubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponsePublicAssociationDefinitionConfigurationUpdateResult and HubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponsePublicAssociationDefinitionUserConfiguration.

    Marketing

    • Renamed marketing()->emails()->marketingEmailsApi() to marketing()->emails()->emailsApi().
    • Changed parameter name and type from ContentCloneRequestVNext $content_clone_request_v_next to EmailCloneRequestVNext $email_clone_request_v_next in marketing()->emails()->emailsApi()->callClone().
    • Added archived, included_properties, include_stats, marketing_campaign_names, variant_stats and workflow_names parameters to marketing()->emails()->emailsApi()->getAbTestVariation().
    • Added campaign, published_after, published_at, published_before and variant_stats parameters to marketing()->emails()->emailsApi()->getPage().
    • Added variant_stats optional parameter to marketing()->emails()->emailsApi()->getById().
    • Added folder_id_v2 property to HubSpot\Client\Marketing\Emails\Model\EmailCreateRequest and HubSpot\Marketing\Emails\Model\EmailUpdateRequest.
    • Added all_email_campaign_ids, campaign_utm, cloned_from, email_campaign_group_id, email_template_mode, folder_id_v2, is_ab, preview_key, primary_email_campaign_id, published_by_email, published_by_name, teams_with_access, unpublished_at and users_with_access properties to HubSpot\Client\Marketing\Emails\Model\PublicEmail.
    • Added is_ab_variation property to HubSpot\Client\Marketing\Emails\Model\PublicEmailTestingDetails.
    • Renamed marketing()->events()->addEventAttendeesApi() to marketing()->events()->eventAttendeesApi().
    • Renamed marketing()->events()->changePropertyApi() to marketing()->events()->eventStatusApi().
    • Renamed marketing()->events()->retrieveParticipantStateApi() to marketing()->events()->participantStateApi().
    • Added event_status_v2 property to HubSpot\Client\Marketing\Events\Model\MarketingEventPublicReadResponseV2.
    • Added source_upstream_deployable property to HubSpot\Client\Marketing\Events\Model\PropertyValue.
    • Added embed_type property to HubSpot\Client\Marketing\Forms\Model\HubSpotFormConfiguration.
    • Changed property type from fields:DependentFieldDependentField[] to fields:FieldGroupFieldsInner[] in HubSpot\Client\Marketing\Forms\Model\FieldGroup.
    • Changed property type from legal_consent_options:HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptions to legal_consent_options:HubSpotFormDefinitionPatchRequestLegalConsentOptions in HubSpot\Client\Marketing\Forms\Model\HubSpotFormDefinitionPatchRequest.
    • Renamed marketing()->transactional()->publicSMTPTokensApi() to marketing()->transactional()->smtpTokensApi().
    • Renamed marketing()->transactional()->singleSendApi() to marketing()->transactional()->sendTransactionalEmailApi().
    • Added message property to HubSpot\Client\Marketing\Transactional\Model\EmailSendStatusView.

    CommunicationPreferences, Files, OAuth, Settings and Webhooks

    • Renamed communicationPreferences()->definitionApi() to communicationPreferences()->definitionsApi() API client.
    • Changed parameters order from $file_id, $file = null, $charset_hunch = null, $options = null to $file_id, $charset_hunch = null, $file = null, $options = null in files()->filesApi()->replace().
    • Changed parameters order from $file = null, $folder_id = null, $folder_path = null, $file_name = null, $charset_hunch = null, $options = null to $charset_hunch = null, $file = null, $file_name = null, $folder_id = null, $folder_path = null, $options = null in files()->filesApi()->upload().
    • Added is_private_distribution and signed_access_token properties to HubSpot\Client\Oauth\Model\AccessTokenInfoResponse.
    • Removed refresh_token property from HubSpot\Client\Oauth\Model\TokenResponseIF.
    • Added hub_id, scopes and user_id properties to HubSpot\Client\Oauth\Model\TokenResponseIF.
    • Renamed settings()->businessUnits()->businessUnitApi() to settings()->businessUnits()->businessUnitsApi().
    • Renamed settings()->users()->usersApi()->replace() to settings()->users()->usersApi()->update().
    • Added event_type_name property to HubSpot\Client\Webhooks\Model\SubscriptionCreateRequest and HubSpot\Client\Webhooks\Model\SubscriptionResponse.
    Open source →
  10. 13.2.0 16 Dec 2025
    Release notes

    Updates

    • Updated ObjectType enum.
    Open source →
    Release notes

    Updates

    • Updated ObjectType enum.
    Open source →
  11. 13.1.1 17 Nov 2025
    Release notes

    Fixes

    • Fixed typing in ObjectTypeIDs enum.
    Open source →
  12. 13.1.0 13 Nov 2025
    Release notes

    Updates

    • Added ObjectTypeIDs enum.
    • Updated AssociationTypes enum.
    • Updated crm()->obects() API client.
    Open source →
  13. 13.0.1 13 May 2025
    Release notes

    Updates

    • Fixed RetryMiddlewareFactory.
    Open source →
  14. 13.0.0 12 May 2025
    Release notes

    CRM Tickets

    • Moved method merge() from crm()->tickets()->mergeApi() to crm()->tickets()->basicApi().
    • Removed crm()->tickets()->mergeApi() API.
    • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Tickets\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Tickets\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->tickets()->batchApi()->create().
    • Made association_category and association_type_id properties required in HubSpot\Client\Crm\Tickets\Model\AssociationSpec.
    • Made types and to properties required in HubSpot\Client\Crm\Tickets\Model\PublicAssociationsForObject.
    • Made id property required in HubSpot\Client\Crm\Tickets\Model\PublicObjectId.
    • Added property object_write_trace_id to HubSpot\Client\Crm\Tickets\Model\SimplePublicObject, HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectWithAssociations and HubSpot\Client\Crm\Tickets\Model\SimplePublicUpsertObject.
    • Removed property object_write_trace_id from HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInput and HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInputForCreate.
    • Added email, after and archived optrions to crm()->owners()->getAll().

    Updates

    • Added createMiddlewareByHttpCodeRanges and getRetryFunctionByRanges methods to RetryMiddlewareFactory.
    • 504 http code was removed from RetryMiddlewareFactory::createInternalErrorsMiddleware().
    • 520-599 http codes range is added to RetryMiddlewareFactory::createInternalErrorsMiddleware().
    Open source →
  15. 12.2.0 28 Apr 2025

    Nothing published for this version

  16. 12.1.0 08 Apr 2025

    Nothing published for this version

  17. 12.0.0 28 Oct 2024
    Release notes

    CMS

    • Added laguage consts to HubSpot\Client\Cms\Blogs\BlogPosts\Model\AttachToLangPrimaryRequestVNext.
    • Added parameter campaign_name to HubSpot\Client\Cms\Blogs\BlogPosts\Model\ContentLanguageVariation.
    • Added parameter breakpointStyles to HubSpot\Client\Cms\Blogs\BlogPosts\Model\Styles.
    • Added parameter name to cms()->hubdb()->rowsApi()->cloneDraftTableRow().
    • Added parameter archived to cms()->hubdb()->rowsApi()->getDraftTableRowById() and cms()->hubdb()->rowsApi()->getTableRow().
    • Added parameters offset and archived to cms()->hubdb()->rowsApi()->getTableRows() and cms()->hubdb()->rowsApi()->readDraftTableRows().
    • Changed the response object type from HubSpot\Client\Cms\Hubdb\Model\CollectionResponseWithTotalHubDbTableRowV3ForwardPaging|HubSpot\Client\Cms\Hubdb\Model\Error to HubSpot\Client\Cms\Hubdb\Model\UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3|HubSpot\Client\Cms\Hubdb\Model\Error for cms()->hubdb()->rowsApi()->getTableRows() and cms()->hubdb()->rowsApi()->readDraftTableRows().
    • Changed parameter batch_input_string: HubSpot\Client\Cms\Hubdb\Model\BatchInputString to batch_input_hub_db_table_row_batch_clone_request: HubSpot\Client\Cms\Hubdb\Model\BatchInputHubDbTableRowBatchCloneRequest in cms()->hubdb()->rowsBatchApi()->cloneDraftTableRows().
    • Added parameter content_type before archived parameter to cms()->hubdb()->tablesApi()->getAllDraftTables() and cms()->hubdb()->tablesApi()->getAllTables().
    • Changed parameters from string $table_id_or_name, bool $include_foreign_ids = null, boolean $archived = null to string $table_id_or_name, bool $is_get_localized_schema = null, bool $archived = null, bool $include_foreign_ids = null of cms()->hubdb()->tablesApi()->getDraftTableDetailsById() and cms()->hubdb()->tablesApi()->updateDraftTable().
    • Added parameters created_by_user_id, updated_by, updated_by_user_id, created_at, created_by and updated_at to HubSpot\Client\Cms\Hubdb\Model\Column and HubSpot\Client\Cms\Hubdb\Model\Option.
    • Added the parameter is_hubspot_defined to HubSpot\Client\Cms\Hubdb\Model\HubDbTableCloneRequest.
    • Removed cms()->source_code()->extractApi()->extractByPath() method.
    • Added doAsync() and getAsyncStatus() methods to cms()->source_code()->extractApi().
    • Removed cms()->source_code()->sourceCodeExtractApi.

    CRM

    • Added crm()->associassociations()->v4()->reportApi().
    • Added method markAsReady to crm()->extensions()->calling()->recordingSettingsApi().
    • Added parameter supportsInboundCalling to HubSpot\Client\Crm\Extensions\SettingsPatchRequest, HubSpot\Client\Crm\Extensions\SettingsRequest and HubSpot\Client\Crm\Extensions\SettingsResponse.
    • Added method upsert to crm()->companies()->batchApi(), crm()->contacts()->batchApi(), crm()->deals()->batchApi(), crm()->lineItems()->batchApi(), crm()->objects()->batchApi(), crm()->objects()->calls()->batchApi(), crm()->objects()->communications()->batchApi(), crm()->objects()->emails()->batchApi(), crm()->objects()->meetings()->batchApi(), crm()->objects()->notes()->batchApi(), crm()->objects()->postalMail()->batchApi(), crm()->objects()->tasks()->batchApi(), crm()->objects()->taxes()->batchApi(), crm()->products()->batchApi(), crm()->quotes()->batchApi() and crm()->tickets()->batchApi().
    • Removed crm()->companies()->GDPRApi(), crm()->deals()->GDPRApi(), crm()->lineItems()->GDPRApi(), crm()->objects()->GDPRApi(), crm()->objects()->calls()->GDPRApi(), crm()->objects()->communications()->GDPRApi(), crm()->objects()->emails()->GDPRApi(), crm()->objects()->feedbackSubmissions()->GDPRApi(), crm()->objects()->goals()->GDPRApi(), crm()->objects()->meetings()->GDPRApi(), crm()->objects()->notes()->GDPRApi(), crm()->objects()->postalMail()->GDPRApi(), crm()->objects()->tasks()->GDPRApi(), crm()->objects()->taxes()->GDPRApi(), crm()->products()->GDPRApi(), crm()->quotes()->GDPRApi(), crm()->tickets()->GDPRApi().
    • Renamed publicObjectApi to mergeApi in crm()->companies(), crm()->contacts(), crm()->deals() and crm()->tickets().
    • Removed crm()->lineItems()->publicObjectApi(), crm()->objects()->publicObjectApi(), crm()->objects()->calls()->publicObjectApi(), crm()->objects()->communications()->publicObjectApi(), crm()->objects()->emails()->publicObjectApi(), crm()->objects()->feedbackSubmissions()->publicObjectApi(), crm()->objects()->goals()->publicObjectApi(), crm()->objects()->meetings()->publicObjectApi(), crm()->objects()->notes()->publicObjectApi(), crm()->objects()->postalMail()->publicObjectApi(), crm()->objects()->tasks()->publicObjectApi(), crm()->objects()->taxes()->publicObjectApi(), crm()->products()->publicObjectApi() and crm()->quotes()->publicObjectApi().
    • Made associationCategory and associationTypeId parameters nullable in HubSpot\Client\Crm\Companies\Model\AssociationSpec, HubSpot\Client\Crm\Contacts\Model\AssociationSpec, HubSpot\Client\Crm\Deals\Model\AssociationSpec, HubSpot\Client\Crm\Tickets\Model\AssociationSpec.
    • Made types and to parameters nullable in HubSpot\Client\Crm\Companies\Model\PublicAssociationsForObject, HubSpot\Client\Crm\Contacts\Model\PublicAssociationsForObject, HubSpot\Client\Crm\Deals\Model\PublicAssociationsForObject, HubSpot\Client\Crm\Tickets\Model\PublicAssociationsForObject.
    • Made id parameter nullable in HubSpot\Client\Crm\Companies\Model\PublicObjectId, HubSpot\Client\Crm\Contacts\Model\PublicObjectId, HubSpot\Client\Crm\Deals\Model\PublicObjectId and HubSpot\Client\Crm\Tickets\Model\PublicObjectId.
    • Made limit, after, sorts, properties and filterGroups parameters nullable in HubSpot\Client\Crm\Companies\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Contacts\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Deals\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\LineItems\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Calls\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Communications\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Emails\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\FeedbackSubmissions\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Goals\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Leads\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Meetings\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Notes\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\PostalMail\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Tasks\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Taxes\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Products\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Quotes\Model\PublicObjectSearchRequest and HubSpot\Client\Crm\Tickets\Model\PublicObjectSearchRequest.
    • Made properties parameter required in HubSpot\Client\Crm\LineItems\Model\SimplePublicObject.
    • Added parameter objectWriteTraceId to HubSpot\Client\Crm\Companies\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Companies\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Companies\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectInput, HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Calls\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Calls\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Calls\Model\SimplePublicObjectInputForCreate,HubSpot\Client\Crm\Objects\Communications\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Communications\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Communications\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Emails\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Emails\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Emails\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectBatchInputUpsert, HubSpot\Client\Crm\Objects\Meetings\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Meetings\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Meetings\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Tasks\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Tasks\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Tasks\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Taxes\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Taxes\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Taxes\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Products\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Products\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Products\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Quotes\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Quotes\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Quotes\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInput and HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInputForCreate.
    • Made associations parameter nullable in HubSpot\Client\Crm\Companies\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectInputForCreate and HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInputForCreate.
    • Removed archive, create and update methods from crm()->objects()->feedbackSubmissions()->basicApi(), crm()->objects()->feedbackSubmissions()->batchApi(), crm()->objects()->goals()->basicApi() and crm()->objects()->goals()->batchApi().
    • Changed response object type HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicObject|HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicObjectWithErrors|HubSpot\Client\Crm\Objects\Leads\Model\Error to HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicUpsertObject|HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicUpsertObjectWithErrors|HubSpot\Client\Crm\Objects\Leads\Model\Error of crm()->objects()->leads()->rowsApi()->upsert().
    • Added parameters user_id_including_inactive and type to HubSpot\Client\Crm\Owners\Model\PublicOwner.
    • Made metadata parameter nullable in HubSpot\Client\Crm\Pipelines\Model\PipelineStage, HubSpot\Client\Crm\Pipelines\Model\PipelineStageInput and HubSpot\Client\Crm\Pipelines\Model\PipelineStagePatchInput.
    • Removed crm()->schemas()->publicObjectSchemasApi().
    • Added parameters created_by_user_id and updated_by_user_id to HubSpot\Client\Crm\Schemas\Model\ObjectSchema.
    • Added parameter clear_description to HubSpot\Client\Crm\Schemas\Model\ObjectTypeDefinitionPatch.
    Open source →
  18. 11.3.0 15 Aug 2024
    Release notes
    • Added lead's association types to Enums\AssociationTypes Enum.
    Open source →
  19. 11.2.0 13 Aug 2024
    Release notes
    • Added crm()->objects()->leads() api client.
    Open source →
  20. 11.1.0 18 Apr 2024
    Release notes

    CRM Lists Beta

    • Cnanged type of list_id, app_id, email_id and business_unit_id from int to string in whole client.
    • Added method getLists() to crm()->lists()->membershipsApi().
    • Changed the return type from CollectionResponseLong|Error to ApiCollectionResponseJoinTimeAndRecordId|Error of getPage() method of crm()->lists()->membershipsApi().
    • Changed type from int to string in HubSpot\Client\Crm\Lists\Model\PublicObjectList:updated_by_id and HubSpot\Client\Crm\Lists\Model\PublicObjectList:created_by_id.
    Open source →
  21. 11.0.0 06 Mar 2024
    Release notes

    Major change for SDK

    • Update Php version >=7.4

    Automation Action client

    • Changed type of $extension_action_definition_input input param from ExtensionActionDefinition to PublicActionDefinition in automation()->actions()->definitionsApi()->create().
    • Renamed and changed type the third input param of automation()->actions()->definitionsApi()->update() from ExtensionActionDefinitionPatch $extension_action_definition_patch to PublicActionDefinition $public_action_definition_patch.
    • Changed the return type from ExtensionActionDefinition|Error to PublicActionDefinition|Error of create(), getById() and update() methods of automation()->actions()->definitionsApi().
    • Changed the return type from CollectionResponseExtensionActionDefinitionForwardPaging|Error to CollectionResponsePublicActionDefinitionForwardPaging|Error of getPage() method of automation()->actions()->definitionsApi().
    • Changed the return type from ActionFunctionIdentifier|Error to PublicActionFunctionIdentifier|Error of createOrReplaceByFunctionType() and createOrReplace() methods of automation()->actions()->functionsApi().
    • Changed the return type from ActionFunction|Error to PublicActionFunction|Error of getByFunctionType() and getById() methods of automation()->actions()->functionsApi().
    • Changed the return type from CollectionResponseActionFunctionIdentifierNoPaging|Error to CollectionResponsePublicActionFunctionIdentifierNoPaging|Error of getPage() method of automation()->actions()->functionsApi().
    • Changed the return type from ActionRevision|Error to PublicActionRevision|Error of getById() method of automation()->actions()->revisionsApi().
    • Changed the return type from CollectionResponseActionRevisionForwardPaging|Error to CollectionResponsePublicActionRevisionForwardPaging|Error of getPage() method of automation()->actions()->revisionsApi().
    • Added automation_field_type param to HubSpot\Client\Automation\Actions\Model\InputFieldDefinition.
    • Added new params to HubSpot\Client\Automation\Actions\Model\FieldTypeDefinition:
      'help_text' => 'string',
      'name' => 'string',
      'description' => 'string',
      'external_options_reference_type' => 'string',
      'label' => 'string',
      'type' => 'string',
      'field_type' => 'string',
      'options_url' => 'string',
      'external_options' => 'bool'
    

    CMS clients

    • Changed the order of input params from $object_id = null, $user_id = null, $after = null, $before = null, $sort = null, $event_type = null, $limit = null, $object_type = null to $user_id = null, $event_type = null, $object_type = null, $object_id = null, $after = null, $before = null, $limit = null, $sort = null in cms()->auditLogs()->auditLogsApi()->getPage().
    • Removed params scope_to_scope_group_pks, trial_scopes and trial_scope_to_scope_group_pks from HubSpot\Client\Auth\OAuth\Model\AccessTokenInfoResponse.
    • Added prev param to HubSpot\Client\Cms\AuditLogs\Model\Paging.
    • Added property param to getById() and getPage() methods of cms()->blogs()->authors()->blogAuthorsApi(), cms()->blogs()->blogPosts()->blogPostsApi() and cms()->blogs()->tags()->blogTagsApi().
    • Change return type from Error to void of attachToLangGroup(), detachFromLangGroup() and updateLangs() methods of cms()->blogs()->authors()->blogAuthorsApi(), cms()->blogs()->blogPosts()->blogPostsApi() and cms()->blogs()->tags()->blogTagsApi().
    • Removed languages constants from AttachToLangPrimaryRequestVNext and UpdateLanguagesRequestVNext objects for all CMS blogs clients.
    • Changed type from object to string in StandardError:category for all CMS blogs clients.
    • Removed background position's constants from HubSpot\Client\Cms\Blogs\BlogPosts\Model\BackgroundImage.
    • Changed type from int to string in HubSpot\Client\Cms\Hubdb\Model\HubDbTableRowV3BatchUpdateRequest:id.
    • Renamed method get() to download() of cms()->sourceCode()->contentApi().
    • Renamed method replace() to createOrUpdate() of cms()->sourceCode()->contentApi().
    • Added param properties to cms()->sourceCode()->metadataApi()->get().
    • Added param hash to HubSpot\Client\Cms\SourceCode\Model\AssetFileMetadata.

    CRM Associations and Objects clients

    [!NOTE] Please note that CRM Objects includes: companies, contacts, deals, line items, all CRM objects crm->objects(), products, quotes and tickets

    • Changed type of $object_id and $to_object_id params from int to string in crm()->associations()->v4()->basicApi()->archive().
    • Changed type of $object_id and $to_object_id params from int to string in crm()->associations()->v4()->basicApi()->create().
    • Changed type of $from_object_id and $to_object_id params from int to string in crm()->associations()->v4()->basicApi()->createDefault().
    • Changed type of $object_id param from int to string in crm()->associations()->v4()->basicApi()->getPage().
    • Changed type from StandardError1[] to StandardError[] in HubSpot\Client\Crm\Associations\v4\Model\BatchResponsePublicDefaultAssociation:errors.
    • Changed type of to_object_id and from_object_id params from int to string in HubSpot\Client\Crm\Associations\v4\Model\LabelsBetweenObjectPair.
    • Changed type from int to string in HubSpot\Client\Crm\Associations\v4\Model\MultiAssociatedObjectWithLabel:to_object_id.
    • Changed type from ErrorCategory to string in HubSpot\Client\Crm\Associations\v4\Model\StandardError:category.
    • Renamed method delete() to archive() of crm()->associations()->v4()->schema()->definitionsApi().
    • Added param inverseLabel to HubSpot\Client\Crm\Associations\v4\Model\PublicAssociationDefinitionCreateRequest and HubSpot\Client\Crm\Associations\v4\Model\PublicAssociationDefinitionUpdateRequest.
    • Changed type from ErrorCategory to string in HubSpot\Client\Crm\Associations\Model\StandardError:category.
    • Changed type from int to string in PublicObjectSearchRequest:after in all CRM objects clients.
    • Added param id_property to SimplePublicObjectBatchInput in all CRM objects clients.
    • Removed crm()->objects()->associationsApi().
    • Renamed param from $postal_mail to $postal_mail_id in archive(), getById() and update() of crm()->objects()->postalMail()->basicApi().

    Added APIs to CRM Objects clients

    • crm()->companies()->gdprApi() API.
    • crm()->deals()->gdprApi() API.
    • crm()->lineItems()->gdprApi() API.
    • crm()->objects()->calls()->gdprApi() API.
    • crm()->objects()->communications()->gdprApi() API.
    • crm()->objects()->emails()->gdprApi() API.
    • crm()->objects()->feedbackSubmissions()->gdprApi() API.
    • crm()->objects()->meetings()->gdprApi() API.
    • crm()->objects()->notes()->gdprApi() API.
    • crm()->objects()->postalMail()->GDPRApi() API.
    • crm()->objects()->tasks()->gdprApi() API.
    • crm()->products()->gdprApi() API.
    • crm()->quotes()->gdprApi() API.
    • crm()->tickets()->gdprApi() API.

    The other CRM clients

    • Changed the order of input params from $app_id, $card_id to $card_id, $app_id in crm()->extensions()->cards()->cardsApi()->archive().
    • Changed the return type from CardResponse|Error to PublicCardResponse|Error of create(), getById() and update() methods of crm()->extensions()->cards()->cardsApi().
    • Changed the return type from CardListResponse|Error to PublicCardListResponse|Error of getAll() method of crm()->extensions()->cards()->cardsApi().
    • Changed the order of input params from $app_id, $card_id to $card_id, $app_id in crm()->extensions()->cards()->cardsApi()->getById().
    • Changed the order of input params from $app_id, $card_id, $card_patch_request to $card_id, $app_id, $card_patch_request in crm()->extensions()->cards()->cardsApi()->update().
    • Added serverless_function and card_type params to HubSpot\Client\Crm\Extensions\Cards\Model\CardFetchBody and HubSpot\Client\Crm\Extensions\Cards\Model\CardFetchBodyPatch.
    • Added NAME_MARKETING_EVENTS const to HubSpot\Client\Crm\Extensions\Cards\Model\CardObjectTypeBody.
    • Added audit_history param to HubSpot\Client\Crm\Extensions\Cards\Model\PublicCardResponse.
    • Added fetch_accounts_uri param to HubSpot\Client\Crm\Extensions\Videoconferencing\Model\ExternalSettings.
    • Added import_template and import_source params to HubSpot\Client\Crm\Imports\Model\PublicImportResponse.
    • Renamed method delete() to remove() of crm()->lists()->listsApi().
    • Renamed method deleteAll() to removeAll() of crm()->lists()->listsApi().
    • Added param $validate_deal_stage_usages_before_delete to crm()->pipelines()->pipelinesApi()->archive(), crm()->pipelines()->pipelinesApi()->replace() and crm()->pipelines()->pipelinesApi()->update().
    • Added write_permissions param to HubSpot\Client\Crm\Pipelines\Model\PipelineStage.
    • Added description param to HubSpot\Client\Crm\Schemas\Model\ObjectSchema, HubSpot\Client\Crm\Schemas\Model\ObjectSchemaEgg, HubSpot\Client\Crm\Schemas\Model\ObjectTypeDefinition and HubSpot\Client\Crm\Schemas\Model\ObjectTypeDefinitionPatch.
    • Added option_sort_strategy, show_currency_symbol, form_field, referenced_object_type, text_display_hint, searchable_in_global_search and number_display_hint params to HubSpot\Client\Crm\Schemas\Model\ObjectTypePropertyCreate.
    • Added calculation_formula param to HubSpot\Client\Crm\Schemas\Model\Property.
    • Changed the return type from BatchResponseTimelineEventResponse|BatchResponseTimelineEventResponseWithErrors|Error to void of createBatch() method of crm()-timeline()->eventsApi().
    • Changed type from ErrorCategory to string in HubSpot\Client\Crm\Timeline\Model\StandardError:category.
    • Removed hapikey from crm()->extensions()->videoconferencing() API client.
    • Added crm()->extensions()->calling()->recordingSettingsApi() API.

    Marketing clients

    • Added marketing()->events()->basicApi() API.
    • Added marketing()->events()->batchApi() API.
    • Moved method archive from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
    • Moved method create from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
    • Moved method doCancel from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
    • Moved method getById from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
    • Moved method replace from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
    • Moved method update from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
    • Moved and rename method archiveBatch => archive from marketing()->events()->marketingEventsExternalApi()->archiveBatch() to marketing()->events()->batchApi()->archive().
    • Moved method doUpsert from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->batchApi().
    • Moved method doEmailUpsertById from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->subscriberStateChanges().
    • Moved method doUpsertById from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->subscriberStateChanges.
    • Renamed marketing()->events()->settingsExternalApi() => marketing()->events()->settingsApi().
    • Added is_large_value param to HubSpot\Client\Marketing\Events\Model\PropertyValue.
    • Changed type from ErrorCategory to string in HubSpot\Client\Marketing\Events\Model\StandardError:category.
    • Changed type from object to HubSpotFormDefinitionAllOfLegalConsentOptions in HubSpot\Client\Marketing\Forms\Model\CollectionResponseFormDefinitionBaseForwardPagingResultsInner:legal_consent_options, HubSpot\Client\Marketing\Forms\Model\FormDefinitionBase:legal_consent_options, HubSpot\Client\Marketing\Forms\Model\FormDefinitionCreateRequestBase:legal_consent_options, HubSpot\Client\Marketing\Forms\Model\HubSpotFormDefinition:legal_consent_options and HubSpot\Client\Marketing\Forms\Model\HubSpotFormDefinitionCreateRequest:legal_consent_options.
    • Added lifecycle_stages param to HubSpot\Client\Marketing\Forms\Model\HubSpotFormConfiguration.

    Events, Files and Settings clients

    • Changed input params from $occurred_after = null, $occurred_before = null, $object_type = null, $object_id = null, $event_type = null, $after = null, $before = null, $limit = null, $sort = null to $object_type = null, $event_type = null, $occurred_after = null, $occurred_before = null, $object_id = null, $index_table_name = null, $index_specific_metadata = null, $after = null, $before = null, $limit = null, $sort = null, $object_property_propname = null, $property_propname = null, $id = null in events()->eventsApi()->getPage().
    • Added prev param to HubSpot\Client\Events\Model\Paging.
    • Renamed behavioralEventsTrackingApi API to customEventDataApi in events()->send() API client.
    • Added method getMetadata() to files()->filesApi().
    • Added expires_at param to HubSpot\Client\Files\Model\File and HubSpot\Client\Files\Model\FileUpdateInput.
    • Changed type from ErrorCategory to string in HubSpot\Client\Files\Model\StandardError:category.
    • Added role_ids, send_welcome_email and super_admin params to HubSpot\Client\Settings\Users\Model\PublicUser.
    Open source →
  22. 10.3.0 13 Dec 2023

    Nothing published for this version

  23. 10.2.0 23 Nov 2023

    Nothing published for this version

  24. 10.1.2 15 Nov 2023

    Nothing published for this version

  25. 10.1.1 15 Nov 2023

    Nothing published for this version

  26. 10.1.0 27 Jul 2023

    Nothing published for this version

  27. 10.0.1 27 Jul 2023

    Nothing published for this version

  28. 10.0.0 08 Jun 2023

    Nothing published for this version

  29. 10.0.0-beta.3 11 May 2023 pre-release

    Nothing published for this version

  30. 10.0.0-beta.2 27 Apr 2023 pre-release

    Nothing published for this version

  31. 10.0.0-beta 12 Apr 2023 pre-release

    Nothing published for this version

  32. 9.4.0 02 Mar 2023
    Release notes

    Added

    • Update models for crm()->properties() API client
    Open source →
  33. 9.3.0 20 Feb 2023
    Release notes

    Added

    • crm()->associations()->v4 API client

    Fixed

    • Fix auth()->oauth()->refreshTokensApi()->archiveRefreshToken() method
    Open source →
  34. 9.2.2 12 Jan 2023
    Release notes

    Fixed

    • Fix crm()->associations() API client
    Open source →
  35. 9.2.1 22 Dec 2022
    Release notes

    Fixed

    • Added pipelineAuditsApi and pipelineStageAuditsApi tocrm()->pipelines() discovery
    Open source →
  36. 9.2.0 19 Dec 2022
    Release notes

    Added

    • crm()->objects()->postalMail() API client
    Open source →
  37. 9.1.0 06 Dec 2022
    Release notes

    Updated

    • Added Private App access token to cms()->domains()
    Open source →
  38. 9.0.1 05 Dec 2022
    Release notes

    Fixed

    • Fix all association APIs

    Updated

    • crm()->{objects}()->associationApi()->create($contact_id, $to_object_type, $to_object_id, string $association_type => AssociationSpec[] $association_spec)
    Open source →
  39. 9.0.0 21 Nov 2022
    Release notes

    Updated

    • Regenerate all clients
    • Added Private App access token to crm()->schemas() , crm()->imports() and crm()->objects()->feedbackSubmissions()
    • Updated marketing()->events() API client
    • Deprecated crm()->extensions()->accounting() API client
    Open source →
  40. 8.4.1 17 Oct 2022
    Release notes

    Fixed

    • Fixed RequestTest namespace
    Open source →
  41. 8.4.0 12 Oct 2022
    Release notes

    Added

    • add apiRequest method
    Open source →
  42. 8.3.1 01 Sep 2022
    Release notes

    Fixed

    • adapt OAuth Util for php 8.1
    Open source →
  43. 8.3.0 15 Jul 2022
    Release notes

    Added

    • Signature's Util HubSpot\Utils\Signature

    Deprecated

    • Webhook's Util HubSpot\Utils\Webhooks
    Open source →
  44. 8.2.1 10 Jun 2022
    Release notes

    Fixed

    • crm()->objects()->feedbackSubmissions() method names
    • crm()->quotes()->publicObjectApi()
    Open source →
  45. 8.2.0 07 Jun 2022
    Release notes

    Added

    • crm()->quotes()->publicObjectApi()
    • added $id_property to update and getById methods of crm()->contacts()->basicApi()
    Open source →
  46. 8.1.2 12 May 2022
    Release notes

    Fixed

    • crm()->contacts()->gdprApi()
    • crm()->objects()->gdprApi()
    Open source →
  47. 8.1.1 12 May 2022
    Release notes

    Fixed

    • add $properties_with_history to crm->*object's apis*->getAll methods
    Open source →
  48. 8.1.0 14 Apr 2022
    Release notes

    Added

    • crm()->companies()->publicObjectApi()
    • crm()->contacts()->publicObjectApi()
    • crm()->deals()->publicObjectApi()
    • crm()->lineItems()->publicObjectApi()
    • crm()->objects()->calls()->publicObjectApi()
    • crm()->objects()->publicObjectApi()
    • crm()->objects()->emails()->publicObjectApi()
    • crm()->objects()->meetings()->publicObjectApi()
    • crm()->objects()->notes()->publicObjectApi()
    • crm()->objects()->tasks()->publicObjectApi()
    • crm()->products()->publicObjectApi()
    • crm()->tickets()->publicObjectApi()
    • add field "values" to all CRM objects Filter
    Open source →
  49. 8.0.0 08 Apr 2022
    Release notes

    Added

    • add to cms()->blogs()->authors()->blogAuthorsApi Language methods
    • add to cms()->blogs()->blogPosts()->blogPostsApi Language methods
    • add to cms()->blogs()->tags()->blogTagsApi Language methods

    Update

    • rename crm()->pipelines()->pipelineStagesApi()->getCrmV3PipelinesObjectTypePipelineIdAudit() => crm()->pipelines()->pipelineStagesApi()->getAudit()
    • rename crm()->pipelines()->pipelinesApi()->getCrmV3PipelinesObjectTypePipelineIdStagesStageIdAudit() => crm()->pipelines()->pipelinesApi()->getAudit()
    Open source →
  50. 7.0.0 29 Mar 2022
    Release notes

    Update

    • Rename crm()->contacts()->gdprApi()->delete() to crm()->contacts()->gdprApi()->purge()
    • Rename crm()->objects()->gdprApi()->delete() to crm()->objects()->gdprApi()->purge()

    Fixed

    • TimelineEvents
    • Webhooks and Timeline double appId
    Open source →
  51. 6.0.1 25 Mar 2022
    Release notes

    Fixed

    • Fix bugs in all ObjectSerializers
    Open source →
  52. 6.0.0 21 Mar 2022
    Release notes

    Added

    • cms()->sourceCode() API client
    • crm()->objects()->calls() API client
    • crm()->objects()->emails() API client
    • crm()->objects()->meetings() API client
    • crm()->objects()->notes() API client
    • crm()->objects()->tasks() API client
    • marketing()->events() API client
    • settings()->users() API client

    Fixed

    • Fix warnings on php 8.1
    • Rename crm()->contacts()->gdprApi()->postCrmV3ObjectsContactsGdprDelete() to crm()->contacts()->gdprApi()->delete()
    • Rename crm()->objects()->gdprApi()->postCrmV3ObjectsContactsGdprDelete() to crm()->objects()->gdprApi()->delete()
    Open source →
  53. 5.1.1 10 Mar 2022
    Release notes

    Updated

    • Regenerate all clients

    Fixed

    • Fix Archived params in all clients
    Open source →
  54. 5.1.0 17 Feb 2022
    Release notes

    Updated

    • Regenerate all clients
    • Update all dev dependencies
    Open source →
  55. 5.0.0 15 Dec 2021
    Release notes

    Updated

    • Update Guzzle version (^7.3)
    • Update Php version (>=7.3)

    Fixed (breaking changes)

    • cms()->blogs()->authors()->authorApi() => cms()->blogs()->authors()->blogAuthorsApi()
    • cms()->blogs()->blogPosts()->blogPostApi() => cms()->blogs()->blogPosts()->blogPostsApi()
    • cms()->blogs()->tags()->tagApi() => cms()->blogs()->tags()->blogTagsApi()
    Open source →
  56. 4.0.0 07 Sep 2021
    Release notes

    Added

    • crm()->objects()->gdprApi() API client
    • crm()->contacts()->gdprApi() API client

    Fixed (breaking changes)

    • oauth() fully regenerated
    • cms()->auditLogs()->defaultApi() => cms()->auditLogs()->auditLogsApi()
    • cms()->blogs()->authors()->defaultApi() => cms()->blogs()->authors()->authorApi()
    • cms()->blogs()->blogPosts()->defaultApi() => cms()->blogs()->blogPosts()->blogPostApi()
    • cms()->blogs()->tags()->defaultApi() => cms()->blogs()->tags()->tagApi()
    • cms()->performance()->defaultApi() => cms()->performance()->publicPerformanceApi()
    • cms()->siteSearch()->defaultApi() => cms()->siteSearch()->publicApi()
    • crm()->imports()->defaultApi() => crm()->imports()->publicImportsApi()
    • crm()->owners()->defaultApi() => crm()->owners()->ownersApi()
    • crm()->schemas()->defaultApi() => crm()->schemas()->publicObjectSchemasApi() and crm()->schemas()->coreApi()
    • marketing()->transactional()->defaultApi() => marketing()->transactional()->publicSmtpTokensApi() and marketing()->transactional()->singleSendApi()
    Open source →
  57. 3.1.0 22 Jul 2021
    Release notes

    Added

    • communicationPreferences() API client
    • files() API client
    Open source →
  58. 3.0.2 21 Jun 2021
    Release notes

    Fixed

    • guzzle/psr7 to 1.*
    Open source →
  59. 3.0.1 18 Jun 2021
    Release notes

    Fixed (breaking changes)

    • fix composer json
    • rename method "search" => "doSearch" crm()->objects()->searchApi() API clients
    • regenerate all clients
    Open source →
  60. 2.8.1 17 Feb 2021
    Release notes

    Fixed

    • fix generateToken method in conversations()->visitorIdentification() API clients
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive