There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API keys are no longer a supported authentication method for accessing HubSpot APIs. Instead, you should use a private app access token or OAuth to authenticate API calls. Learn more about this change and how to migrate an API key integration to use a private app instead.

Get Recently Modified Deals

Last updated May 15, 2023

GET /deals/v1/deal/recent/modified

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

CRM

Required Scope:

crm.objects.deals.read

Get recently modified deals in an account sorted by their last modified date, starting with the most recently modified deals. Use the offset parameter described below to page backwards through the deals.

Note: This endpoint will only return records modified in the last 30 days, or the 10k most recently modified records.  If you need to get all of your deals, please use this endpoint.

Required Parameters How to use Description
OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.

Optional Parameters How to use Description
Count &count=x This parameter lets you specify the amount of deals to return in your API call.  The default for this parameter (if it isn't specified) is 20 deals. The maximum amount of deals you can have returned to you via this parameter is 100.
Offset &offset=x Used to page backwards through recent deals. Use the value of the offset field returned in the previous response to get the next set of deal records.
Since &since=x Only return deals modified after and including timestamp x. x must be a UNIX formatted timestamp in milliseconds.
Include property versions &includePropertyVersions=true By default, you will only get data for the most recent version of a property in the "versions" data.  If you include this parameter, you will get data for all previous versions.