Jan 31, 20238:36 AM - edited Jan 31, 20238:37 AM
Participant
Properties are missing options object
SOLVE
I have a problem, with the usage of properties API https://developers.hubspot.com/docs/api/crm/properties When I use it to get some specific properties, like: hs_call_disposition of object calls, the API returns me the property WITHOUT the options.
Hey, @jomasjoao👋 I found this to be confusing as well. To get the values for the call disposition property, you have two options:
You can find the default disposition listed here — Engagements | Calls | Dispositions. This includes both the name (label) and the internal GUID value.
You can make a request to this endpoint and get all of your dispositions — default and custom. Get call engagement dispositions.
Here's a quick example using Postman and hs_call_disposition:
GET https://api.hubapi.com/calling/v1/dispositions
The response includes both the default dispositions + the custom disposition I created for this test
To be honest, there isn't a document that explains why we have to use a separate endpoint. I do not have any additional details. And I wanted you to know what is available and where to find the info you are after.
Hey, @jomasjoao👋 I found this to be confusing as well. To get the values for the call disposition property, you have two options:
You can find the default disposition listed here — Engagements | Calls | Dispositions. This includes both the name (label) and the internal GUID value.
You can make a request to this endpoint and get all of your dispositions — default and custom. Get call engagement dispositions.
Here's a quick example using Postman and hs_call_disposition:
GET https://api.hubapi.com/calling/v1/dispositions
The response includes both the default dispositions + the custom disposition I created for this test
To be honest, there isn't a document that explains why we have to use a separate endpoint. I do not have any additional details. And I wanted you to know what is available and where to find the info you are after.
Hey, i also need to find the options for dealstage for Deal, the v3 api has the same problem, it doesn't return the options. :(. Can you help with that?