Hello,
I want to get the all the properties of the deal using the hubspot rest api. But i am not getting few properties like “deal owner” and “account sales executive”.
I am trying with this “https://api.hubapi.com/crm/v3/objects/deals/<deal_id >?associations=contacts,companies” endpoint but its returning only few properties as below :
{
“amount”: null,
“closedate”: “2000-05-22T18:09:23.890Z”,
“createdate”: “2000-03-12T21:27:59.451Z”,
“dealname”: “deal_name”,
“dealstage”: “12121212”,
“hs_lastmodifieddate”: “2000-01-22T18:09:24.459Z”,
“hs_object_id”: “121212”,
“pipeline”: “45554545”
}
I am expecting that there should be many other properties should return by the api.
Please help us to resolve this.
Thank you.
Hi @ScaleArmy_n
You need to specify the name of the properties you want to return.
Use the following curl:
curl --request GET \
--url 'https://api.hubapi.com/crm/v3/objects/deals/{dealID}?properties=Property1&properties=Propert2&properties=property3&archived=false' \
--header 'authorization: Bearer YOUR_ACCESS_TOKEN'
You can refer to the link attached for more reference and clarity :
https://api.hubapi.com/crm/v3/objects/deals/{dealID}?properties=Property1&properties=Propert2&properties=property3&archived=false
I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!
Hello,
Is there a way to display all the propeties without listing them in the api url?
Thanks
IDoe
March 19, 2025, 9:47am
4
Try to use this api:
https://api.hubapi.com/engagements/v1/engagements/:engagementId
Thanks @GRajput for your reply.