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 2026Releases
latest 60 of 79-
14.1.012 May 2026Release notes
Open source →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$curlErrorCodesand$maxRetries. Delay::getExponentialDelayFunction()is deprecated — passnullas the delay function instead to use Guzzle's built-in exponential backoff.
Release notes
Open source →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$curlErrorCodesand$maxRetries. Delay::getExponentialDelayFunction()is deprecated — passnullas the delay function instead to use Guzzle's built-in exponential backoff.
- Added
-
14.0.723 Apr 2026Release notes
Open source →CRM Associations V3
crm()->associations()->batchApi()->create()now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with newBatchResponsePublicAssociationWithErrorsmodel.crm()->associations()->batchApi()->read()now handles HTTP 207 (partial success) responses, returningBatchResponsePublicAssociationMultiWithErrors.HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationno longer includeserrorsandnumErrorsfields — those are available on the newBatchResponsePublicAssociationWithErrorsmodel.HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMultino longer includeserrorsandnumErrorsfields — those are available on the newBatchResponsePublicAssociationMultiWithErrorsmodel.- 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 newBatchResponsePropertyWithErrorsmodel.crm()->properties()->batchApi()->read()now handles HTTP 207 (partial success) responses, returningBatchResponsePropertyWithErrors.HubSpot\Client\Crm\Properties\Model\BatchResponsePropertyno longer includeserrorsandnumErrorsfields — those are available on the newBatchResponsePropertyWithErrorsmodel.- Added new fields
currencyPropertyName,numberDisplayHint, andshowCurrencySymboltoProperty,PropertyCreate, andPropertyUpdatemodels. - Added new model:
BatchResponsePropertyWithErrors.
Release notes
Open source →CRM Associations V3
crm()->associations()->batchApi()->create()now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with newBatchResponsePublicAssociationWithErrorsmodel.crm()->associations()->batchApi()->read()now handles HTTP 207 (partial success) responses, returningBatchResponsePublicAssociationMultiWithErrors.HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationno longer includeserrorsandnumErrorsfields — those are available on the newBatchResponsePublicAssociationWithErrorsmodel.HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMultino longer includeserrorsandnumErrorsfields — those are available on the newBatchResponsePublicAssociationMultiWithErrorsmodel.- 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 newBatchResponsePropertyWithErrorsmodel.crm()->properties()->batchApi()->read()now handles HTTP 207 (partial success) responses, returningBatchResponsePropertyWithErrors.HubSpot\Client\Crm\Properties\Model\BatchResponsePropertyno longer includeserrorsandnumErrorsfields — those are available on the newBatchResponsePropertyWithErrorsmodel.- Added new fields
currencyPropertyName,numberDisplayHint, andshowCurrencySymboltoProperty,PropertyCreate, andPropertyUpdatemodels. - Added new model:
BatchResponsePropertyWithErrors.
-
14.0.622 Apr 2026Release notes
Open source →OAuth
- Added
code_verifierandscopeas optional parameters tooauth()->tokensApi()->create(). - Added
refresh_tokenfield toHubSpot\Client\Oauth\Model\TokenResponseIF. - Fixed JSON attribute mappings in
HubSpot\Client\Oauth\Model\TokenResponseIFto 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 fromCollectionResponseSimplePublicObjectWithAssociationstoCollectionResponseSimplePublicObjectWithAssociationsForwardPaging.crm()->objects()->batchApi()->create()now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with newBatchResponseSimplePublicObjectWithErrorsmodel.crm()->objects()->batchApi()->read()andupdate()now handle HTTP 207 (partial success) responses, returningBatchResponseSimplePublicObjectWithErrors.crm()->objects()->batchApi()->upsert()now handles HTTP 207 (partial success) responses, returningBatchResponseSimplePublicUpsertObjectWithErrors.HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicObjectno longer includeserrorsandnumErrorsfields — those are available on the newBatchResponseSimplePublicObjectWithErrorsmodel.HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicUpsertObjectno longer includeserrorsandnumErrorsfields — those are available on the newBatchResponseSimplePublicUpsertObjectWithErrorsmodel.- Renamed model
CollectionResponseSimplePublicObjectWithAssociationstoCollectionResponseSimplePublicObjectWithAssociationsForwardPaging. - Added new models:
BatchResponseSimplePublicObjectWithErrors,BatchResponseSimplePublicUpsertObjectWithErrors,ForwardPaging.
Release notes
Open source →OAuth
- Added
code_verifierandscopeas optional parameters tooauth()->tokensApi()->create(). - Added
refresh_tokenfield toHubSpot\Client\Oauth\Model\TokenResponseIF. - Fixed JSON attribute mappings in
HubSpot\Client\Oauth\Model\TokenResponseIFto 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 fromCollectionResponseSimplePublicObjectWithAssociationstoCollectionResponseSimplePublicObjectWithAssociationsForwardPaging.crm()->objects()->batchApi()->create()now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with newBatchResponseSimplePublicObjectWithErrorsmodel.crm()->objects()->batchApi()->read()andupdate()now handle HTTP 207 (partial success) responses, returningBatchResponseSimplePublicObjectWithErrors.crm()->objects()->batchApi()->upsert()now handles HTTP 207 (partial success) responses, returningBatchResponseSimplePublicUpsertObjectWithErrors.HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicObjectno longer includeserrorsandnumErrorsfields — those are available on the newBatchResponseSimplePublicObjectWithErrorsmodel.HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicUpsertObjectno longer includeserrorsandnumErrorsfields — those are available on the newBatchResponseSimplePublicUpsertObjectWithErrorsmodel.- Renamed model
CollectionResponseSimplePublicObjectWithAssociationstoCollectionResponseSimplePublicObjectWithAssociationsForwardPaging. - Added new models:
BatchResponseSimplePublicObjectWithErrors,BatchResponseSimplePublicUpsertObjectWithErrors,ForwardPaging.
- Added
-
14.0.502 Apr 2026Release notes
Open source →CRM Associations V4
- Updated the return type of the response object in
crm()->associations()->v4()->batchApi()->archive()andarchiveLabels()tovoidinstead ofBatchResponseVoid|Error. TheBatchResponseVoidmodel has been removed. crm()->associations()->v4()->batchApi()->create()now handles HTTP 207 (partial success) responses, returning newBatchResponseLabelsBetweenObjectPairWithErrorsmodel.crm()->associations()->v4()->batchApi()->getPage()now handles HTTP 207 (partial success) responses, returning newBatchResponsePublicAssociationMultiWithLabelWithErrorsmodel.HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairmodel no longer includeserrorsandnumErrorsfields — those are available on the newHubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrorsmodel.- Added new models:
HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrors,HubSpot\Client\Crm\Associations\V4\Model\BatchResponsePublicAssociationMultiWithLabelWithErrors.
Release notes
Open source →CRM Associations V4
- Updated the return type of the response object in
crm()->associations()->v4()->batchApi()->archive()andarchiveLabels()tovoidinstead ofBatchResponseVoid|Error. TheBatchResponseVoidmodel has been removed. crm()->associations()->v4()->batchApi()->create()now handles HTTP 207 (partial success) responses, returning newBatchResponseLabelsBetweenObjectPairWithErrorsmodel.crm()->associations()->v4()->batchApi()->getPage()now handles HTTP 207 (partial success) responses, returning newBatchResponsePublicAssociationMultiWithLabelWithErrorsmodel.HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairmodel no longer includeserrorsandnumErrorsfields — those are available on the newHubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrorsmodel.- Added new models:
HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrors,HubSpot\Client\Crm\Associations\V4\Model\BatchResponsePublicAssociationMultiWithLabelWithErrors.
- Updated the return type of the response object in
-
14.0.424 Mar 2026Release notes
Open source →What's Changed
- Corrected parameter names for forms in Files and CRM Imports clients.
-
14.0.304 Mar 2026Release notes
Open source →CRM Association V4
- Updated
crm()->associations()->v4()->basicApi()->create()method to return status code201. - Updated the return type of the response object in
crm()->associations()->v4()->basicApi()->create()to returnLabelsBetweenObjectPair | Errorinstead ofCreatedResponseLabelsBetweenObjectPair | Error. - Updated the return type of the response object in
crm()->associations()->v4()->basicApi()->getPage()to returnCollectionResponseMultiAssociatedObjectWithLabelForwardPaging | Errorinstead ofCollectionResponseMultiAssociatedObjectWithLabel | Error.
Release notes
Open source →CRM Association V4
- Updated
crm()->associations()->v4()->basicApi()->create()method to return status code201. - Updated the return type of the response object in
crm()->associations()->v4()->basicApi()->create()to returnLabelsBetweenObjectPair | Errorinstead ofCreatedResponseLabelsBetweenObjectPair | Error. - Updated the return type of the response object in
crm()->associations()->v4()->basicApi()->getPage()to returnCollectionResponseMultiAssociatedObjectWithLabelForwardPaging | Errorinstead ofCollectionResponseMultiAssociatedObjectWithLabel | Error.
- Updated
-
14.0.227 Feb 2026Release notes
Open source →CRM Objects
- Updated all batch create methods of CRM objects to return status code
201.
Release notes
Open source →CRM Objects
- Updated all batch create methods of CRM objects to return status code
201.
- Updated all batch create methods of CRM objects to return status code
-
14.0.125 Feb 2026Release notes
Open source →CRM Objects
- Updated all create methods of CRM objects to return status code
201.
Release notes
Open source →CRM Objects
- Updated all create methods of CRM objects to return status code
201.
- Updated all create methods of CRM objects to return status code
-
14.0.023 Feb 2026Release notes
Open source →CMS Source Code and HubDB
- Changed the return type of the response object in
cms()->sourceCode()->contentApi()->download()from\HubSpot\Client\Cms\SourceCode\Model\Errorto\SplFileObject|\HubSpot\Client\Cms\SourceCode\Model\Error. - Added the
$environmentparameter as the first argument to thecms()->sourceCode()->contentApi()->doValidate()method. - Added
removeTableVersion()method tocms()->hubdb()->tablesApi(). - Added
is_get_localized_schemaoption tocms()->hubdb()->tablesApi()->getAllDraftTables()andcms()->hubdb()->tablesApi()->getAllTables(). - Added
max_number_of_charactersandmax_number_of_optionsproperties toHubSpot\Client\Cms\Hubdb\Model\ColumnRequest. - Added
deleted_atproperty toHubSpot\Client\Cms\Hubdb\Model\HubDbTableV3.
CRM
- Added
pipeline_idoption tocrm()->pipelines()->pipelineStageAuditsApi()->getAudit(). - Made
metadataproperty required inHubSpot\Client\Crm\Pipelines\Model\PipelineStage,HubSpot\Client\Crm\Pipelines\Model\PipelineStageInputandHubSpot\Client\Crm\Pipelines\Model\PipelineStagePatchInput. - Added
getById()method tocrm()->exports()->publicExportsApi(). - Added
filter_groupsproperty toHubSpot\Client\Crm\Exports\Model\PublicCrmSearchRequest. - Added
include_labeled_associationsandinclude_primary_display_property_for_associated_objectsproperties toHubSpot\Client\Crm\Exports\Model\PublicExportListRequest,HubSpot\Client\Crm\Exports\Model\PublicExportViewRequestandHubSpot\Client\Crm\Exports\Model\PublicExportRequest. - Removed
public_crm_search_requestproperty fromHubSpot\Client\Crm\Exports\Model\PublicExportListRequest. - Removed
list_idproperty fromHubSpot\Client\Crm\Exports\Model\PublicExportViewRequest. - Renamed method
crm()->extensions()->calling()->channelConnectionSettingsApi()->archive()tocrm()->extensions()->calling()->channelConnectionSettingsApi()->remove(). - Renamed method
crm()->extensions()->calling()->channelConnectionSettingsApi()->getById()tocrm()->extensions()->calling()->channelConnectionSettingsApi()->get(). - Renamed method
crm()->extensions()->calling()->recordingSettingsApi()->getUrlFormat()tocrm()->extensions()->calling()->recordingSettingsApi()->get(). - Renamed method
crm()->extensions()->calling()->recordingSettingsApi()->registerUrlFormat()tocrm()->extensions()->calling()->recordingSettingsApi()->create(). - Renamed method
crm()->extensions()->calling()->recordingSettingsApi()->updateUrlFormat()tocrm()->extensions()->calling()->recordingSettingsApi()->update(). - Renamed method
crm()->extensions()->calling()->settingsApi()->archive()tocrm()->extensions()->calling()->settingsApi()->remove(). - Renamed method
crm()->extensions()->calling()->settingsApi()->getById()tocrm()->extensions()->calling()->settingsApi()->get(). - Renamed
crm()->lists()->mappingApi()tocrm()->lists()->idMappingApi(). - Removed
crm()->lists()->foldersApi()and moved all methods intocrm()->lists()->listManagementApi(). - Moved
getPageOrderedByAddedToListDate()method tocrm()->lists()->joinOrderApi(). - Added
getConversionDetails(),scheduleOrUpdateConversion()andcancelConversion()methods tocrm()->lists()->listManagementApi(). - Added
list_permissionsandmembership_settingsproperties toHubSpot\Client\Crm\Lists\Model\ListCreateRequestandHubSpot\Client\Crm\Lists\Model\PublicObjectList. - Added
is_public_listproperty toHubSpot\Client\Crm\Lists\Model\RecordListMembership. - Changed property type from
filter_branch:PublicPropertyAssociationFilterBranchFilterBranchesInnertofilter_branch:ListFilterUpdateRequestFilterBranchinHubSpot\Client\Crm\Lists\Model\ListFilterUpdateRequestandHubSpot\Client\Crm\Lists\Model\PublicObjectList. - Updated the return type of the response object in
crm()->properties()->batchApi()->create(),crm()->properties()->batchApi()->read()by removingBatchResponsePropertyWithErrorsfrom the possible return types. - Added
localeoption tocrm()->properties()->batchApi()->read(),crm()->properties()->groupsApi()->getAll(),crm()->properties()->groupsApi()->getByName(). - Added
data_sensitivityandlocaleoptions tocrm()->properties()->coreApi()->getAll()andcrm()->properties()->coreApi()->getByName(). - Added
data_sensitivityproperty toHubSpot\Client\Crm\Properties\Model\BatchReadInputPropertyName,HubSpot\Client\Crm\Properties\Model\Property,HubSpot\Client\Crm\Properties\Model\PropertyCreate. - Added properties
errorsandnum_errorstoHubSpot\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()andcrm()->objects()
to returnCollectionResponseSimplePublicObjectWithAssociations | Errorinstead of
CollectionResponseSimplePublicObjectWithAssociationsForwardPaging | Error. - Updated the return type of
batchApi()->create(),batchApi()->read()andbatchApi()->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()andcrm()->objects()
by removingBatchResponseSimplePublicObjectWithErrorsfrom 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()andcrm()->objects()
by removingBatchResponseSimplePublicUpsertObjectWithErrorsfrom 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()andcrm()->objects()
to returnCollectionResponseWithTotalSimplePublicObject | Errorinstead of
CollectionResponseWithTotalSimplePublicObjectForwardPaging | Error. - Added properties
errorsandnum_errorsto
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
urlto
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\Errorto\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\Errorto\HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti|\HubSpot\Client\Crm\Associations\Model\Error. - Added properties
errorsandnum_errorstoHubSpot\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 returnCreatedResponseLabelsBetweenObjectPair | Errorinstead ofLabelsBetweenObjectPair | Error. - Updated the return type of the response object in
crm()->associations()->v4()->basicApi()->getPage()to returnCollectionResponseMultiAssociatedObjectWithLabel | Errorinstead ofCollectionResponseMultiAssociatedObjectWithLabelForwardPaging | Error. - Updated the return type of the response object in
crm()->associations()->v4()->batchApi()->archive()andcrm()->associations()->v4()->batchApi()->archiveLabels()to return\HubSpot\Client\Crm\Associations\V4\Model\BatchResponseVoid|\HubSpot\Client\Crm\Associations\V4\Model\Errorinstead ofvoid. - Updated the return type of the response object in
crm()->associations()->v4()->batchApi()->create()by removingBatchResponseLabelsBetweenObjectPairWithErrorsfrom the possible return types. - Updated the return type of the response object in
crm()->associations()->v4()->batchApi()->getPage()by removingBatchResponsePublicAssociationMultiWithLabelWithErrorsfrom the possible return types. - Updated the return type of the response object in
crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchCreate()by removingBatchResponsePublicAssociationDefinitionUserConfigurationWithErrorsfrom 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\Errorinstead ofvoid. - Updated the return type of the response object in
crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchUpdate()by removingBatchResponsePublicAssociationDefinitionConfigurationUpdateResultWithErrorsfrom the possible return types. - Renamed
getAll()togetPage()incrm()->associations()->v4()->schema()->definitionConfigurationsApi(), and updated the return type fromCollectionResponsePublicAssociationDefinitionUserConfigurationNoPaging | ErrortoCollectionResponsePublicAssociationDefinitionUserConfiguration | Error. - Renamed
getAllBetweenTwoObjectTypes()togetPageBetweenTwoObjectTypes()incrm()->associations()->v4()->schema()->definitionConfigurationsApi(), and updated the return type fromCollectionResponsePublicAssociationDefinitionUserConfigurationNoPaging | ErrortoCollectionResponsePublicAssociationDefinitionUserConfiguration | Error. - Changed the return type of
crm()->associations()->v4()->schema()->definitionsApi()->create()fromCollectionResponseAssociationSpecWithLabelNoPaging | ErrortoCollectionResponseAssociationSpecWithLabel | Error. - Renamed
getAll()togetPage()incrm()->associations()->v4()->schema()->definitionsApi(), and updated the return type fromCollectionResponseAssociationSpecWithLabelNoPaging | ErrortoCollectionResponseAssociationSpecWithLabel | 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
errorsandnum_errorstoHubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPair,HubSpot\Client\Crm\Associations\V4\Model\BatchResponsePublicAssociationMultiWithLabel,HubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponsePublicAssociationDefinitionConfigurationUpdateResultandHubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponsePublicAssociationDefinitionUserConfiguration.
Marketing
- Renamed
marketing()->emails()->marketingEmailsApi()tomarketing()->emails()->emailsApi(). - Changed parameter name and type from
ContentCloneRequestVNext $content_clone_request_v_nexttoEmailCloneRequestVNext $email_clone_request_v_nextinmarketing()->emails()->emailsApi()->callClone(). - Added
archived,included_properties,include_stats,marketing_campaign_names,variant_statsandworkflow_namesparameters tomarketing()->emails()->emailsApi()->getAbTestVariation(). - Added
campaign,published_after,published_at,published_beforeandvariant_statsparameters tomarketing()->emails()->emailsApi()->getPage(). - Added
variant_statsoptional parameter tomarketing()->emails()->emailsApi()->getById(). - Added
folder_id_v2property toHubSpot\Client\Marketing\Emails\Model\EmailCreateRequestandHubSpot\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_atandusers_with_accessproperties toHubSpot\Client\Marketing\Emails\Model\PublicEmail. - Added
is_ab_variationproperty toHubSpot\Client\Marketing\Emails\Model\PublicEmailTestingDetails. - Renamed
marketing()->events()->addEventAttendeesApi()tomarketing()->events()->eventAttendeesApi(). - Renamed
marketing()->events()->changePropertyApi()tomarketing()->events()->eventStatusApi(). - Renamed
marketing()->events()->retrieveParticipantStateApi()tomarketing()->events()->participantStateApi(). - Added
event_status_v2property toHubSpot\Client\Marketing\Events\Model\MarketingEventPublicReadResponseV2. - Added
source_upstream_deployableproperty toHubSpot\Client\Marketing\Events\Model\PropertyValue. - Added
embed_typeproperty toHubSpot\Client\Marketing\Forms\Model\HubSpotFormConfiguration. - Changed property type from
fields:DependentFieldDependentField[]tofields:FieldGroupFieldsInner[]inHubSpot\Client\Marketing\Forms\Model\FieldGroup. - Changed property type from
legal_consent_options:HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptionstolegal_consent_options:HubSpotFormDefinitionPatchRequestLegalConsentOptionsinHubSpot\Client\Marketing\Forms\Model\HubSpotFormDefinitionPatchRequest. - Renamed
marketing()->transactional()->publicSMTPTokensApi()tomarketing()->transactional()->smtpTokensApi(). - Renamed
marketing()->transactional()->singleSendApi()tomarketing()->transactional()->sendTransactionalEmailApi(). - Added
messageproperty toHubSpot\Client\Marketing\Transactional\Model\EmailSendStatusView.
CommunicationPreferences, Files, OAuth, Settings and Webhooks
- Renamed
communicationPreferences()->definitionApi()tocommunicationPreferences()->definitionsApi()API client. - Changed parameters order from
$file_id, $file = null, $charset_hunch = null, $options = nullto$file_id, $charset_hunch = null, $file = null, $options = nullinfiles()->filesApi()->replace(). - Changed parameters order from
$file = null, $folder_id = null, $folder_path = null, $file_name = null, $charset_hunch = null, $options = nullto$charset_hunch = null, $file = null, $file_name = null, $folder_id = null, $folder_path = null, $options = nullinfiles()->filesApi()->upload(). - Added
is_private_distributionandsigned_access_tokenproperties toHubSpot\Client\Oauth\Model\AccessTokenInfoResponse. - Removed
refresh_tokenproperty fromHubSpot\Client\Oauth\Model\TokenResponseIF. - Added
hub_id,scopesanduser_idproperties toHubSpot\Client\Oauth\Model\TokenResponseIF. - Renamed
settings()->businessUnits()->businessUnitApi()tosettings()->businessUnits()->businessUnitsApi(). - Renamed
settings()->users()->usersApi()->replace()tosettings()->users()->usersApi()->update(). - Added
event_type_nameproperty toHubSpot\Client\Webhooks\Model\SubscriptionCreateRequestandHubSpot\Client\Webhooks\Model\SubscriptionResponse.
Release notes
Open source →CMS Source Code and HubDB
- Changed the return type of the response object in
cms()->sourceCode()->contentApi()->download()from\HubSpot\Client\Cms\SourceCode\Model\Errorto\SplFileObject|\HubSpot\Client\Cms\SourceCode\Model\Error. - Added the
$environmentparameter as the first argument to thecms()->sourceCode()->contentApi()->doValidate()method. - Added
removeTableVersion()method tocms()->hubdb()->tablesApi(). - Added
is_get_localized_schemaoption tocms()->hubdb()->tablesApi()->getAllDraftTables()andcms()->hubdb()->tablesApi()->getAllTables(). - Added
max_number_of_charactersandmax_number_of_optionsproperties toHubSpot\Client\Cms\Hubdb\Model\ColumnRequest. - Added
deleted_atproperty toHubSpot\Client\Cms\Hubdb\Model\HubDbTableV3.
CRM
- Added
pipeline_idoption tocrm()->pipelines()->pipelineStageAuditsApi()->getAudit(). - Made
metadataproperty required inHubSpot\Client\Crm\Pipelines\Model\PipelineStage,HubSpot\Client\Crm\Pipelines\Model\PipelineStageInputandHubSpot\Client\Crm\Pipelines\Model\PipelineStagePatchInput. - Added
getById()method tocrm()->exports()->publicExportsApi(). - Added
filter_groupsproperty toHubSpot\Client\Crm\Exports\Model\PublicCrmSearchRequest. - Added
include_labeled_associationsandinclude_primary_display_property_for_associated_objectsproperties toHubSpot\Client\Crm\Exports\Model\PublicExportListRequest,HubSpot\Client\Crm\Exports\Model\PublicExportViewRequestandHubSpot\Client\Crm\Exports\Model\PublicExportRequest. - Removed
public_crm_search_requestproperty fromHubSpot\Client\Crm\Exports\Model\PublicExportListRequest. - Removed
list_idproperty fromHubSpot\Client\Crm\Exports\Model\PublicExportViewRequest. - Renamed method
crm()->extensions()->calling()->channelConnectionSettingsApi()->archive()tocrm()->extensions()->calling()->channelConnectionSettingsApi()->remove(). - Renamed method
crm()->extensions()->calling()->channelConnectionSettingsApi()->getById()tocrm()->extensions()->calling()->channelConnectionSettingsApi()->get(). - Renamed method
crm()->extensions()->calling()->recordingSettingsApi()->getUrlFormat()tocrm()->extensions()->calling()->recordingSettingsApi()->get(). - Renamed method
crm()->extensions()->calling()->recordingSettingsApi()->registerUrlFormat()tocrm()->extensions()->calling()->recordingSettingsApi()->create(). - Renamed method
crm()->extensions()->calling()->recordingSettingsApi()->updateUrlFormat()tocrm()->extensions()->calling()->recordingSettingsApi()->update(). - Renamed method
crm()->extensions()->calling()->settingsApi()->archive()tocrm()->extensions()->calling()->settingsApi()->remove(). - Renamed method
crm()->extensions()->calling()->settingsApi()->getById()tocrm()->extensions()->calling()->settingsApi()->get(). - Renamed
crm()->lists()->mappingApi()tocrm()->lists()->idMappingApi(). - Removed
crm()->lists()->foldersApi()and moved all methods intocrm()->lists()->listManagementApi(). - Moved
getPageOrderedByAddedToListDate()method tocrm()->lists()->joinOrderApi(). - Added
getConversionDetails(),scheduleOrUpdateConversion()andcancelConversion()methods tocrm()->lists()->listManagementApi(). - Added
list_permissionsandmembership_settingsproperties toHubSpot\Client\Crm\Lists\Model\ListCreateRequestandHubSpot\Client\Crm\Lists\Model\PublicObjectList. - Added
is_public_listproperty toHubSpot\Client\Crm\Lists\Model\RecordListMembership. - Changed property type from
filter_branch:PublicPropertyAssociationFilterBranchFilterBranchesInnertofilter_branch:ListFilterUpdateRequestFilterBranchinHubSpot\Client\Crm\Lists\Model\ListFilterUpdateRequestandHubSpot\Client\Crm\Lists\Model\PublicObjectList. - Updated the return type of the response object in
crm()->properties()->batchApi()->create(),crm()->properties()->batchApi()->read()by removingBatchResponsePropertyWithErrorsfrom the possible return types. - Added
localeoption tocrm()->properties()->batchApi()->read(),crm()->properties()->groupsApi()->getAll(),crm()->properties()->groupsApi()->getByName(). - Added
data_sensitivityandlocaleoptions tocrm()->properties()->coreApi()->getAll()andcrm()->properties()->coreApi()->getByName(). - Added
data_sensitivityproperty toHubSpot\Client\Crm\Properties\Model\BatchReadInputPropertyName,HubSpot\Client\Crm\Properties\Model\Property,HubSpot\Client\Crm\Properties\Model\PropertyCreate. - Added properties
errorsandnum_errorstoHubSpot\Client\Crm\Properties\Model\BatchResponseProperty.
CRM Objects
- Updated the return type of
basicApi()->getPage()incrm()->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()andcrm()->objects()to returnCollectionResponseSimplePublicObjectWithAssociations | Errorinstead ofCollectionResponseSimplePublicObjectWithAssociationsForwardPaging | Error. - Updated the return type of
batchApi()->create(),batchApi()->read()andbatchApi()->update()incrm()->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()andcrm()->objects()by removingBatchResponseSimplePublicObjectWithErrorsfrom the possible return types. - Updated the return type of
batchApi()->upsert()incrm()->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()andcrm()->objects()by removingBatchResponseSimplePublicUpsertObjectWithErrorsfrom the possible return types. - Updated the return type of
searchApi()->doSearch()incrm()->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()andcrm()->objects()to returnCollectionResponseWithTotalSimplePublicObject | Errorinstead ofCollectionResponseWithTotalSimplePublicObjectForwardPaging | Error. - Added properties
errorsandnum_errorstoHubSpot\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
urltoHubSpot\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\Errorto\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\Errorto\HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti|\HubSpot\Client\Crm\Associations\Model\Error. - Added properties
errorsandnum_errorstoHubSpot\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 returnCreatedResponseLabelsBetweenObjectPair | Errorinstead ofLabelsBetweenObjectPair | Error. - Updated the return type of the response object in
crm()->associations()->v4()->basicApi()->getPage()to returnCollectionResponseMultiAssociatedObjectWithLabel | Errorinstead ofCollectionResponseMultiAssociatedObjectWithLabelForwardPaging | Error. - Updated the return type of the response object in
crm()->associations()->v4()->batchApi()->archive()andcrm()->associations()->v4()->batchApi()->archiveLabels()to return\HubSpot\Client\Crm\Associations\V4\Model\BatchResponseVoid|\HubSpot\Client\Crm\Associations\V4\Model\Errorinstead ofvoid. - Updated the return type of the response object in
crm()->associations()->v4()->batchApi()->create()by removingBatchResponseLabelsBetweenObjectPairWithErrorsfrom the possible return types. - Updated the return type of the response object in
crm()->associations()->v4()->batchApi()->getPage()by removingBatchResponsePublicAssociationMultiWithLabelWithErrorsfrom the possible return types. - Updated the return type of the response object in
crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchCreate()by removingBatchResponsePublicAssociationDefinitionUserConfigurationWithErrorsfrom 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\Errorinstead ofvoid. - Updated the return type of the response object in
crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchUpdate()by removingBatchResponsePublicAssociationDefinitionConfigurationUpdateResultWithErrorsfrom the possible return types. - Renamed
getAll()togetPage()incrm()->associations()->v4()->schema()->definitionConfigurationsApi(), and updated the return type fromCollectionResponsePublicAssociationDefinitionUserConfigurationNoPaging | ErrortoCollectionResponsePublicAssociationDefinitionUserConfiguration | Error. - Renamed
getAllBetweenTwoObjectTypes()togetPageBetweenTwoObjectTypes()incrm()->associations()->v4()->schema()->definitionConfigurationsApi(), and updated the return type fromCollectionResponsePublicAssociationDefinitionUserConfigurationNoPaging | ErrortoCollectionResponsePublicAssociationDefinitionUserConfiguration | Error. - Changed the return type of
crm()->associations()->v4()->schema()->definitionsApi()->create()fromCollectionResponseAssociationSpecWithLabelNoPaging | ErrortoCollectionResponseAssociationSpecWithLabel | Error. - Renamed
getAll()togetPage()incrm()->associations()->v4()->schema()->definitionsApi(), and updated the return type fromCollectionResponseAssociationSpecWithLabelNoPaging | ErrortoCollectionResponseAssociationSpecWithLabel | Error. - Changed the order of parameters in
crm()->associations()->v4()->schema()->definitionsApi()->remove()from$from_object_type, $to_object_type, $association_type_idto$association_type_id, $from_object_type, $to_object_type. - Added properties
errorsandnum_errorstoHubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPair,HubSpot\Client\Crm\Associations\V4\Model\BatchResponsePublicAssociationMultiWithLabel,HubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponsePublicAssociationDefinitionConfigurationUpdateResultandHubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponsePublicAssociationDefinitionUserConfiguration.
Marketing
- Renamed
marketing()->emails()->marketingEmailsApi()tomarketing()->emails()->emailsApi(). - Changed parameter name and type from
ContentCloneRequestVNext $content_clone_request_v_nexttoEmailCloneRequestVNext $email_clone_request_v_nextinmarketing()->emails()->emailsApi()->callClone(). - Added
archived,included_properties,include_stats,marketing_campaign_names,variant_statsandworkflow_namesparameters tomarketing()->emails()->emailsApi()->getAbTestVariation(). - Added
campaign,published_after,published_at,published_beforeandvariant_statsparameters tomarketing()->emails()->emailsApi()->getPage(). - Added
variant_statsoptional parameter tomarketing()->emails()->emailsApi()->getById(). - Added
folder_id_v2property toHubSpot\Client\Marketing\Emails\Model\EmailCreateRequestandHubSpot\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_atandusers_with_accessproperties toHubSpot\Client\Marketing\Emails\Model\PublicEmail. - Added
is_ab_variationproperty toHubSpot\Client\Marketing\Emails\Model\PublicEmailTestingDetails. - Renamed
marketing()->events()->addEventAttendeesApi()tomarketing()->events()->eventAttendeesApi(). - Renamed
marketing()->events()->changePropertyApi()tomarketing()->events()->eventStatusApi(). - Renamed
marketing()->events()->retrieveParticipantStateApi()tomarketing()->events()->participantStateApi(). - Added
event_status_v2property toHubSpot\Client\Marketing\Events\Model\MarketingEventPublicReadResponseV2. - Added
source_upstream_deployableproperty toHubSpot\Client\Marketing\Events\Model\PropertyValue. - Added
embed_typeproperty toHubSpot\Client\Marketing\Forms\Model\HubSpotFormConfiguration. - Changed property type from
fields:DependentFieldDependentField[]tofields:FieldGroupFieldsInner[]inHubSpot\Client\Marketing\Forms\Model\FieldGroup. - Changed property type from
legal_consent_options:HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptionstolegal_consent_options:HubSpotFormDefinitionPatchRequestLegalConsentOptionsinHubSpot\Client\Marketing\Forms\Model\HubSpotFormDefinitionPatchRequest. - Renamed
marketing()->transactional()->publicSMTPTokensApi()tomarketing()->transactional()->smtpTokensApi(). - Renamed
marketing()->transactional()->singleSendApi()tomarketing()->transactional()->sendTransactionalEmailApi(). - Added
messageproperty toHubSpot\Client\Marketing\Transactional\Model\EmailSendStatusView.
CommunicationPreferences, Files, OAuth, Settings and Webhooks
- Renamed
communicationPreferences()->definitionApi()tocommunicationPreferences()->definitionsApi()API client. - Changed parameters order from
$file_id, $file = null, $charset_hunch = null, $options = nullto$file_id, $charset_hunch = null, $file = null, $options = nullinfiles()->filesApi()->replace(). - Changed parameters order from
$file = null, $folder_id = null, $folder_path = null, $file_name = null, $charset_hunch = null, $options = nullto$charset_hunch = null, $file = null, $file_name = null, $folder_id = null, $folder_path = null, $options = nullinfiles()->filesApi()->upload(). - Added
is_private_distributionandsigned_access_tokenproperties toHubSpot\Client\Oauth\Model\AccessTokenInfoResponse. - Removed
refresh_tokenproperty fromHubSpot\Client\Oauth\Model\TokenResponseIF. - Added
hub_id,scopesanduser_idproperties toHubSpot\Client\Oauth\Model\TokenResponseIF. - Renamed
settings()->businessUnits()->businessUnitApi()tosettings()->businessUnits()->businessUnitsApi(). - Renamed
settings()->users()->usersApi()->replace()tosettings()->users()->usersApi()->update(). - Added
event_type_nameproperty toHubSpot\Client\Webhooks\Model\SubscriptionCreateRequestandHubSpot\Client\Webhooks\Model\SubscriptionResponse.
- Changed the return type of the response object in
-
13.2.016 Dec 2025 -
13.1.117 Nov 2025 -
13.1.013 Nov 2025Release notes
Open source →Updates
- Added
ObjectTypeIDsenum. - Updated
AssociationTypesenum. - Updated
crm()->obects()API client.
- Added
-
13.0.113 May 2025 -
13.0.012 May 2025Release notes
Open source →CRM Tickets
- Moved method
merge()fromcrm()->tickets()->mergeApi()tocrm()->tickets()->basicApi(). - Removed
crm()->tickets()->mergeApi()API. - Changed option type
batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Tickets\Model\BatchInputSimplePublicObjectInputForCreatetobatch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Tickets\Model\BatchInputSimplePublicObjectBatchInputForCreateincrm()->tickets()->batchApi()->create(). - Made
association_categoryandassociation_type_idproperties required inHubSpot\Client\Crm\Tickets\Model\AssociationSpec. - Made
typesandtoproperties required inHubSpot\Client\Crm\Tickets\Model\PublicAssociationsForObject. - Made
idproperty required inHubSpot\Client\Crm\Tickets\Model\PublicObjectId. - Added property
object_write_trace_idtoHubSpot\Client\Crm\Tickets\Model\SimplePublicObject,HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectWithAssociationsandHubSpot\Client\Crm\Tickets\Model\SimplePublicUpsertObject. - Removed property
object_write_trace_idfromHubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInputandHubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInputForCreate. - Added
email,afterandarchivedoptrions tocrm()->owners()->getAll().
Updates
- Added
createMiddlewareByHttpCodeRangesandgetRetryFunctionByRangesmethods toRetryMiddlewareFactory. 504http code was removed fromRetryMiddlewareFactory::createInternalErrorsMiddleware().520-599http codes range is added toRetryMiddlewareFactory::createInternalErrorsMiddleware().
- Moved method
-
12.2.028 Apr 2025Nothing published for this version
-
12.1.008 Apr 2025Nothing published for this version
-
12.0.028 Oct 2024Release notes
Open source →CMS
- Added laguage consts to
HubSpot\Client\Cms\Blogs\BlogPosts\Model\AttachToLangPrimaryRequestVNext. - Added parameter
campaign_nametoHubSpot\Client\Cms\Blogs\BlogPosts\Model\ContentLanguageVariation. - Added parameter
breakpointStylestoHubSpot\Client\Cms\Blogs\BlogPosts\Model\Styles. - Added parameter
nametocms()->hubdb()->rowsApi()->cloneDraftTableRow(). - Added parameter
archivedtocms()->hubdb()->rowsApi()->getDraftTableRowById()andcms()->hubdb()->rowsApi()->getTableRow(). - Added parameters
offsetandarchivedtocms()->hubdb()->rowsApi()->getTableRows()andcms()->hubdb()->rowsApi()->readDraftTableRows(). - Changed the response object type from
HubSpot\Client\Cms\Hubdb\Model\CollectionResponseWithTotalHubDbTableRowV3ForwardPaging|HubSpot\Client\Cms\Hubdb\Model\ErrortoHubSpot\Client\Cms\Hubdb\Model\UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3|HubSpot\Client\Cms\Hubdb\Model\Errorforcms()->hubdb()->rowsApi()->getTableRows()andcms()->hubdb()->rowsApi()->readDraftTableRows(). - Changed parameter
batch_input_string: HubSpot\Client\Cms\Hubdb\Model\BatchInputStringtobatch_input_hub_db_table_row_batch_clone_request: HubSpot\Client\Cms\Hubdb\Model\BatchInputHubDbTableRowBatchCloneRequestincms()->hubdb()->rowsBatchApi()->cloneDraftTableRows(). - Added parameter
content_typebeforearchivedparameter tocms()->hubdb()->tablesApi()->getAllDraftTables()andcms()->hubdb()->tablesApi()->getAllTables(). - Changed parameters from
string $table_id_or_name, bool $include_foreign_ids = null, boolean $archived = nulltostring $table_id_or_name, bool $is_get_localized_schema = null, bool $archived = null, bool $include_foreign_ids = nullofcms()->hubdb()->tablesApi()->getDraftTableDetailsById()andcms()->hubdb()->tablesApi()->updateDraftTable(). - Added parameters
created_by_user_id,updated_by,updated_by_user_id,created_at,created_byandupdated_attoHubSpot\Client\Cms\Hubdb\Model\ColumnandHubSpot\Client\Cms\Hubdb\Model\Option. - Added the parameter
is_hubspot_definedtoHubSpot\Client\Cms\Hubdb\Model\HubDbTableCloneRequest. - Removed
cms()->source_code()->extractApi()->extractByPath()method. - Added
doAsync()andgetAsyncStatus()methods tocms()->source_code()->extractApi(). - Removed
cms()->source_code()->sourceCodeExtractApi.
CRM
- Added
crm()->associassociations()->v4()->reportApi(). - Added method
markAsReadytocrm()->extensions()->calling()->recordingSettingsApi(). - Added parameter
supportsInboundCallingtoHubSpot\Client\Crm\Extensions\SettingsPatchRequest,HubSpot\Client\Crm\Extensions\SettingsRequestandHubSpot\Client\Crm\Extensions\SettingsResponse. - Added method
upserttocrm()->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()andcrm()->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
publicObjectApitomergeApiincrm()->companies(),crm()->contacts(),crm()->deals()andcrm()->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()andcrm()->quotes()->publicObjectApi(). - Made
associationCategoryandassociationTypeIdparameters nullable inHubSpot\Client\Crm\Companies\Model\AssociationSpec,HubSpot\Client\Crm\Contacts\Model\AssociationSpec,HubSpot\Client\Crm\Deals\Model\AssociationSpec,HubSpot\Client\Crm\Tickets\Model\AssociationSpec. - Made
typesandtoparameters nullable inHubSpot\Client\Crm\Companies\Model\PublicAssociationsForObject,HubSpot\Client\Crm\Contacts\Model\PublicAssociationsForObject,HubSpot\Client\Crm\Deals\Model\PublicAssociationsForObject,HubSpot\Client\Crm\Tickets\Model\PublicAssociationsForObject. - Made
idparameter nullable inHubSpot\Client\Crm\Companies\Model\PublicObjectId,HubSpot\Client\Crm\Contacts\Model\PublicObjectId,HubSpot\Client\Crm\Deals\Model\PublicObjectIdandHubSpot\Client\Crm\Tickets\Model\PublicObjectId. - Made
limit,after,sorts,propertiesandfilterGroupsparameters nullable inHubSpot\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\PublicObjectSearchRequestandHubSpot\Client\Crm\Tickets\Model\PublicObjectSearchRequest. - Made
propertiesparameter required inHubSpot\Client\Crm\LineItems\Model\SimplePublicObject. - Added parameter
objectWriteTraceIdtoHubSpot\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\SimplePublicObjectInputandHubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInputForCreate. - Made
associationsparameter nullable inHubSpot\Client\Crm\Companies\Model\SimplePublicObjectInputForCreate,HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectInputForCreate,HubSpot\Client\Crm\Deals\Model\SimplePublicObjectInputForCreateandHubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInputForCreate. - Removed
archive,createandupdatemethods fromcrm()->objects()->feedbackSubmissions()->basicApi(),crm()->objects()->feedbackSubmissions()->batchApi(),crm()->objects()->goals()->basicApi()andcrm()->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\ErrortoHubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicUpsertObject|HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicUpsertObjectWithErrors|HubSpot\Client\Crm\Objects\Leads\Model\Errorofcrm()->objects()->leads()->rowsApi()->upsert(). - Added parameters
user_id_including_inactiveandtypetoHubSpot\Client\Crm\Owners\Model\PublicOwner. - Made
metadataparameter nullable inHubSpot\Client\Crm\Pipelines\Model\PipelineStage,HubSpot\Client\Crm\Pipelines\Model\PipelineStageInputandHubSpot\Client\Crm\Pipelines\Model\PipelineStagePatchInput. - Removed
crm()->schemas()->publicObjectSchemasApi(). - Added parameters
created_by_user_idandupdated_by_user_idtoHubSpot\Client\Crm\Schemas\Model\ObjectSchema. - Added parameter
clear_descriptiontoHubSpot\Client\Crm\Schemas\Model\ObjectTypeDefinitionPatch.
- Added laguage consts to
-
11.3.015 Aug 2024 -
11.2.013 Aug 2024 -
11.1.018 Apr 2024Release notes
Open source →CRM Lists Beta
- Cnanged type of
list_id,app_id,email_idandbusiness_unit_idfrominttostringin whole client. - Added method
getLists()tocrm()->lists()->membershipsApi(). - Changed the return type from
CollectionResponseLong|ErrortoApiCollectionResponseJoinTimeAndRecordId|ErrorofgetPage()method ofcrm()->lists()->membershipsApi(). - Changed type from
inttostringinHubSpot\Client\Crm\Lists\Model\PublicObjectList:updated_by_idandHubSpot\Client\Crm\Lists\Model\PublicObjectList:created_by_id.
- Cnanged type of
-
11.0.006 Mar 2024Release notes
Open source →Major change for SDK
- Update Php version >=7.4
Automation Action client
- Changed type of
$extension_action_definition_inputinput param fromExtensionActionDefinitiontoPublicActionDefinitioninautomation()->actions()->definitionsApi()->create(). - Renamed and changed type the third input param of
automation()->actions()->definitionsApi()->update()fromExtensionActionDefinitionPatch $extension_action_definition_patchtoPublicActionDefinition $public_action_definition_patch. - Changed the return type from
ExtensionActionDefinition|ErrortoPublicActionDefinition|Errorofcreate(),getById()andupdate()methods ofautomation()->actions()->definitionsApi(). - Changed the return type from
CollectionResponseExtensionActionDefinitionForwardPaging|ErrortoCollectionResponsePublicActionDefinitionForwardPaging|ErrorofgetPage()method ofautomation()->actions()->definitionsApi(). - Changed the return type from
ActionFunctionIdentifier|ErrortoPublicActionFunctionIdentifier|ErrorofcreateOrReplaceByFunctionType()andcreateOrReplace()methods ofautomation()->actions()->functionsApi(). - Changed the return type from
ActionFunction|ErrortoPublicActionFunction|ErrorofgetByFunctionType()andgetById()methods ofautomation()->actions()->functionsApi(). - Changed the return type from
CollectionResponseActionFunctionIdentifierNoPaging|ErrortoCollectionResponsePublicActionFunctionIdentifierNoPaging|ErrorofgetPage()method ofautomation()->actions()->functionsApi(). - Changed the return type from
ActionRevision|ErrortoPublicActionRevision|ErrorofgetById()method ofautomation()->actions()->revisionsApi(). - Changed the return type from
CollectionResponseActionRevisionForwardPaging|ErrortoCollectionResponsePublicActionRevisionForwardPaging|ErrorofgetPage()method ofautomation()->actions()->revisionsApi(). - Added
automation_field_typeparam toHubSpot\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 = nullto$user_id = null, $event_type = null, $object_type = null, $object_id = null, $after = null, $before = null, $limit = null, $sort = nullincms()->auditLogs()->auditLogsApi()->getPage(). - Removed params
scope_to_scope_group_pks,trial_scopesandtrial_scope_to_scope_group_pksfromHubSpot\Client\Auth\OAuth\Model\AccessTokenInfoResponse. - Added
prevparam toHubSpot\Client\Cms\AuditLogs\Model\Paging. - Added
propertyparam togetById()andgetPage()methods ofcms()->blogs()->authors()->blogAuthorsApi(),cms()->blogs()->blogPosts()->blogPostsApi()andcms()->blogs()->tags()->blogTagsApi(). - Change return type from
ErrortovoidofattachToLangGroup(),detachFromLangGroup()andupdateLangs()methods ofcms()->blogs()->authors()->blogAuthorsApi(),cms()->blogs()->blogPosts()->blogPostsApi()andcms()->blogs()->tags()->blogTagsApi(). - Removed languages constants from
AttachToLangPrimaryRequestVNextandUpdateLanguagesRequestVNextobjects for all CMS blogs clients. - Changed type from
objecttostringinStandardError:categoryfor all CMS blogs clients. - Removed background position's constants from
HubSpot\Client\Cms\Blogs\BlogPosts\Model\BackgroundImage. - Changed type from
inttostringinHubSpot\Client\Cms\Hubdb\Model\HubDbTableRowV3BatchUpdateRequest:id. - Renamed method
get()todownload()ofcms()->sourceCode()->contentApi(). - Renamed method
replace()tocreateOrUpdate()ofcms()->sourceCode()->contentApi(). - Added param
propertiestocms()->sourceCode()->metadataApi()->get(). - Added param
hashtoHubSpot\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_idand$to_object_idparams frominttostringincrm()->associations()->v4()->basicApi()->archive(). - Changed type of
$object_idand$to_object_idparams frominttostringincrm()->associations()->v4()->basicApi()->create(). - Changed type of
$from_object_idand$to_object_idparams frominttostringincrm()->associations()->v4()->basicApi()->createDefault(). - Changed type of
$object_idparam frominttostringincrm()->associations()->v4()->basicApi()->getPage(). - Changed type from
StandardError1[]toStandardError[]inHubSpot\Client\Crm\Associations\v4\Model\BatchResponsePublicDefaultAssociation:errors. - Changed type of
to_object_idandfrom_object_idparams frominttostringinHubSpot\Client\Crm\Associations\v4\Model\LabelsBetweenObjectPair. - Changed type from
inttostringinHubSpot\Client\Crm\Associations\v4\Model\MultiAssociatedObjectWithLabel:to_object_id. - Changed type from
ErrorCategorytostringinHubSpot\Client\Crm\Associations\v4\Model\StandardError:category. - Renamed method
delete()toarchive()ofcrm()->associations()->v4()->schema()->definitionsApi(). - Added param
inverseLabeltoHubSpot\Client\Crm\Associations\v4\Model\PublicAssociationDefinitionCreateRequestandHubSpot\Client\Crm\Associations\v4\Model\PublicAssociationDefinitionUpdateRequest. - Changed type from
ErrorCategorytostringinHubSpot\Client\Crm\Associations\Model\StandardError:category. - Changed type from
inttostringinPublicObjectSearchRequest:afterin all CRM objects clients. - Added param
id_propertytoSimplePublicObjectBatchInputin all CRM objects clients. - Removed
crm()->objects()->associationsApi(). - Renamed param from
$postal_mailto$postal_mail_idinarchive(),getById()andupdate()ofcrm()->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_idto$card_id, $app_idincrm()->extensions()->cards()->cardsApi()->archive(). - Changed the return type from
CardResponse|ErrortoPublicCardResponse|Errorofcreate(),getById()andupdate()methods ofcrm()->extensions()->cards()->cardsApi(). - Changed the return type from
CardListResponse|ErrortoPublicCardListResponse|ErrorofgetAll()method ofcrm()->extensions()->cards()->cardsApi(). - Changed the order of input params from
$app_id, $card_idto$card_id, $app_idincrm()->extensions()->cards()->cardsApi()->getById(). - Changed the order of input params from
$app_id, $card_id, $card_patch_requestto$card_id, $app_id, $card_patch_requestincrm()->extensions()->cards()->cardsApi()->update(). - Added
serverless_functionandcard_typeparams toHubSpot\Client\Crm\Extensions\Cards\Model\CardFetchBodyandHubSpot\Client\Crm\Extensions\Cards\Model\CardFetchBodyPatch. - Added
NAME_MARKETING_EVENTSconst toHubSpot\Client\Crm\Extensions\Cards\Model\CardObjectTypeBody. - Added
audit_historyparam toHubSpot\Client\Crm\Extensions\Cards\Model\PublicCardResponse. - Added
fetch_accounts_uriparam toHubSpot\Client\Crm\Extensions\Videoconferencing\Model\ExternalSettings. - Added
import_templateandimport_sourceparams toHubSpot\Client\Crm\Imports\Model\PublicImportResponse. - Renamed method
delete()toremove()ofcrm()->lists()->listsApi(). - Renamed method
deleteAll()toremoveAll()ofcrm()->lists()->listsApi(). - Added param
$validate_deal_stage_usages_before_deletetocrm()->pipelines()->pipelinesApi()->archive(),crm()->pipelines()->pipelinesApi()->replace()andcrm()->pipelines()->pipelinesApi()->update(). - Added
write_permissionsparam toHubSpot\Client\Crm\Pipelines\Model\PipelineStage. - Added
descriptionparam toHubSpot\Client\Crm\Schemas\Model\ObjectSchema,HubSpot\Client\Crm\Schemas\Model\ObjectSchemaEgg,HubSpot\Client\Crm\Schemas\Model\ObjectTypeDefinitionandHubSpot\Client\Crm\Schemas\Model\ObjectTypeDefinitionPatch. - Added
option_sort_strategy,show_currency_symbol,form_field,referenced_object_type,text_display_hint,searchable_in_global_searchandnumber_display_hintparams toHubSpot\Client\Crm\Schemas\Model\ObjectTypePropertyCreate. - Added
calculation_formulaparam toHubSpot\Client\Crm\Schemas\Model\Property. - Changed the return type from
BatchResponseTimelineEventResponse|BatchResponseTimelineEventResponseWithErrors|ErrortovoidofcreateBatch()method ofcrm()-timeline()->eventsApi(). - Changed type from
ErrorCategorytostringinHubSpot\Client\Crm\Timeline\Model\StandardError:category. - Removed
hapikeyfromcrm()->extensions()->videoconferencing()API client. - Added
crm()->extensions()->calling()->recordingSettingsApi()API.
Marketing clients
- Added
marketing()->events()->basicApi()API. - Added
marketing()->events()->batchApi()API. - Moved method
archivefrommarketing()->events()->marketingEventsExternalApi()tomarketing()->events()->basicApi(). - Moved method
createfrommarketing()->events()->marketingEventsExternalApi()tomarketing()->events()->basicApi(). - Moved method
doCancelfrommarketing()->events()->marketingEventsExternalApi()tomarketing()->events()->basicApi(). - Moved method
getByIdfrommarketing()->events()->marketingEventsExternalApi()tomarketing()->events()->basicApi(). - Moved method
replacefrommarketing()->events()->marketingEventsExternalApi()tomarketing()->events()->basicApi(). - Moved method
updatefrommarketing()->events()->marketingEventsExternalApi()tomarketing()->events()->basicApi(). - Moved and rename method
archiveBatch => archivefrommarketing()->events()->marketingEventsExternalApi()->archiveBatch()tomarketing()->events()->batchApi()->archive(). - Moved method
doUpsertfrommarketing()->events()->marketingEventsExternalApi()tomarketing()->events()->batchApi(). - Moved method
doEmailUpsertByIdfrommarketing()->events()->marketingEventsExternalApi()tomarketing()->events()->subscriberStateChanges(). - Moved method
doUpsertByIdfrommarketing()->events()->marketingEventsExternalApi()tomarketing()->events()->subscriberStateChanges. - Renamed
marketing()->events()->settingsExternalApi()=>marketing()->events()->settingsApi(). - Added
is_large_valueparam toHubSpot\Client\Marketing\Events\Model\PropertyValue. - Changed type from
ErrorCategorytostringinHubSpot\Client\Marketing\Events\Model\StandardError:category. - Changed type from
objecttoHubSpotFormDefinitionAllOfLegalConsentOptionsinHubSpot\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_optionsandHubSpot\Client\Marketing\Forms\Model\HubSpotFormDefinitionCreateRequest:legal_consent_options. - Added
lifecycle_stagesparam toHubSpot\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 = nullto$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 = nullinevents()->eventsApi()->getPage(). - Added
prevparam toHubSpot\Client\Events\Model\Paging. - Renamed
behavioralEventsTrackingApiAPI tocustomEventDataApiinevents()->send()API client. - Added method
getMetadata()tofiles()->filesApi(). - Added
expires_atparam toHubSpot\Client\Files\Model\FileandHubSpot\Client\Files\Model\FileUpdateInput. - Changed type from
ErrorCategorytostringinHubSpot\Client\Files\Model\StandardError:category. - Added
role_ids,send_welcome_emailandsuper_adminparams toHubSpot\Client\Settings\Users\Model\PublicUser.
-
10.3.013 Dec 2023Nothing published for this version
-
10.2.023 Nov 2023Nothing published for this version
-
10.1.215 Nov 2023Nothing published for this version
-
10.1.115 Nov 2023Nothing published for this version
-
10.1.027 Jul 2023Nothing published for this version
-
10.0.127 Jul 2023Nothing published for this version
-
10.0.008 Jun 2023Nothing published for this version
-
10.0.0-beta.311 May 2023 pre-releaseNothing published for this version
-
10.0.0-beta.227 Apr 2023 pre-releaseNothing published for this version
-
10.0.0-beta12 Apr 2023 pre-releaseNothing published for this version
-
9.4.002 Mar 2023 -
9.3.020 Feb 2023Release notes
Open source →Added
crm()->associations()->v4API client
Fixed
- Fix
auth()->oauth()->refreshTokensApi()->archiveRefreshToken()method
-
9.2.212 Jan 2023 -
9.2.122 Dec 2022Release notes
Open source →Fixed
- Added
pipelineAuditsApiandpipelineStageAuditsApitocrm()->pipelines()discovery
- Added
-
9.2.019 Dec 2022 -
9.1.006 Dec 2022 -
9.0.105 Dec 2022Release notes
Open source →Fixed
- Fix all association APIs
Updated
crm()->{objects}()->associationApi()->create($contact_id, $to_object_type, $to_object_id, string $association_type => AssociationSpec[] $association_spec)
-
9.0.021 Nov 2022Release notes
Open source →Updated
- Regenerate all clients
- Added Private App access token to
crm()->schemas(),crm()->imports()andcrm()->objects()->feedbackSubmissions() - Updated
marketing()->events()API client - Deprecated
crm()->extensions()->accounting()API client
-
8.4.117 Oct 2022 -
8.4.012 Oct 2022 -
8.3.101 Sep 2022 -
8.3.015 Jul 2022Release notes
Open source →Added
- Signature's Util
HubSpot\Utils\Signature
Deprecated
- Webhook's Util
HubSpot\Utils\Webhooks
- Signature's Util
-
8.2.110 Jun 2022Release notes
Open source →Fixed
crm()->objects()->feedbackSubmissions()method namescrm()->quotes()->publicObjectApi()
-
8.2.007 Jun 2022Release notes
Open source →Added
crm()->quotes()->publicObjectApi()- added
$id_propertytoupdateandgetByIdmethods ofcrm()->contacts()->basicApi()
-
8.1.212 May 2022 -
8.1.112 May 2022Release notes
Open source →Fixed
- add $properties_with_history to
crm->*object's apis*->getAllmethods
- add $properties_with_history to
-
8.1.014 Apr 2022Release notes
Open source →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
-
8.0.008 Apr 2022Release notes
Open source →Added
- add to
cms()->blogs()->authors()->blogAuthorsApiLanguage methods - add to
cms()->blogs()->blogPosts()->blogPostsApiLanguage methods - add to
cms()->blogs()->tags()->blogTagsApiLanguage methods
Update
- rename
crm()->pipelines()->pipelineStagesApi()->getCrmV3PipelinesObjectTypePipelineIdAudit()=>crm()->pipelines()->pipelineStagesApi()->getAudit() - rename
crm()->pipelines()->pipelinesApi()->getCrmV3PipelinesObjectTypePipelineIdStagesStageIdAudit()=>crm()->pipelines()->pipelinesApi()->getAudit()
- add to
-
7.0.029 Mar 2022Release notes
Open source →Update
- Rename
crm()->contacts()->gdprApi()->delete()tocrm()->contacts()->gdprApi()->purge() - Rename
crm()->objects()->gdprApi()->delete()tocrm()->objects()->gdprApi()->purge()
Fixed
- TimelineEvents
- Webhooks and Timeline double appId
- Rename
-
6.0.125 Mar 2022 -
6.0.021 Mar 2022Release notes
Open source →Added
cms()->sourceCode()API clientcrm()->objects()->calls()API clientcrm()->objects()->emails()API clientcrm()->objects()->meetings()API clientcrm()->objects()->notes()API clientcrm()->objects()->tasks()API clientmarketing()->events()API clientsettings()->users()API client
Fixed
- Fix warnings on php 8.1
- Rename
crm()->contacts()->gdprApi()->postCrmV3ObjectsContactsGdprDelete()tocrm()->contacts()->gdprApi()->delete() - Rename
crm()->objects()->gdprApi()->postCrmV3ObjectsContactsGdprDelete()tocrm()->objects()->gdprApi()->delete()
-
5.1.110 Mar 2022 -
5.1.017 Feb 2022 -
5.0.015 Dec 2021Release notes
Open source →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()
-
4.0.007 Sep 2021Release notes
Open source →Added
crm()->objects()->gdprApi()API clientcrm()->contacts()->gdprApi()API client
Fixed (breaking changes)
oauth()fully regeneratedcms()->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()andcrm()->schemas()->coreApi()marketing()->transactional()->defaultApi()=>marketing()->transactional()->publicSmtpTokensApi()andmarketing()->transactional()->singleSendApi()
-
3.1.022 Jul 2021 -
3.0.221 Jun 2021 -
3.0.118 Jun 2021Release notes
Open source →Fixed (breaking changes)
- fix composer json
- rename method "search" => "doSearch"
crm()->objects()->searchApi()API clients - regenerate all clients
-
2.8.117 Feb 2021Release notes
Open source →Fixed
- fix generateToken method in
conversations()->visitorIdentification()API clients
- fix generateToken method in