Hi!
I am trying to get some information via HubSpot API but can’t seem to find a way to pull it.
Currently I am sending an API request to:
crm/v3/objects/tickets
and getting unmeaningful IDs, I am trying to get the labels of these IDs.
E.g: the status of the ticket (I am getting
“hs_pipeline_stage”: “1” instead).
Is there additional param I should add to get the Label? (E.g: Closed/Open ticket).
Also, is there a way to track the status changes?
I saw I can use the param - propertiesWithHistory so if I can get the labels of the status with this param it would be great.
Lastly, how can I get additional information such as first reply time and when the ticket was resolved.
Thanks a lot!
There is a way to get pipeline stage names via the API so that you can store it in your application. What I would do is query your pipeline from time to time to make sure your application’s labels are in sync in the event that someone changes names in the UI.
There is also a way for your application to get alerted when a ticket changes stages via developer app webhooks. This would require you to have superadmin on your HubSpot portal so that you can install your developer app. From there, you can set up webhooks to ping a specific URL on your application.