In February 2024, we announced the sunset of the v2 Owners API. This is a reminder that on August 30, 2024, we will be sunsetting v2 of the Owners API. To avoid disruptions, we strongly encourage users to migrate to v3 of the Owners API before this date. After the sunset date, all endpoints from https://api.hubapi.com/owners/v2
will return a 404
error response.
The data returned by both versions of the API is similar, but there are a few differences for the v3 API:
ownerId
field in v2 is replaced by the id field in v3.remoteList
and related remote IDs are no longer supported in the v3 API.userId
field instead of being included as a remote ID.Below are the listed ways we suggest migrating specific endpoints from Owners API v2 to Owners API v3 and any applicable changes to be aware of:
GET api.hubspot.com/owners/v2/owners/{ownerId}
to GET api.hubspot.com/crm/v3/owners/{ownerId}
GET /owners/v2/owners/
to GET /crm/v3/owners
paging.next.after
field in the response as the value of the &after= query parameter in your next request to get the next page of results.email=
query parameter.Because the v3 Owners API uses pagination, you may need to make multiple API requests to obtain the complete list of owners. Therefore, it is crucial to monitor your usage to avoid hitting the rate limits.
This sunset goes into effect on August 30, 2024. Read more about our v3 Owners API, view examples, and begin planning your migration to the new API version.
We encourage you to share your thoughts and queries in the developer forums.