Is Ticket Status available in the Tickets API?

jholyoak
Participant

Our tech team is working to build a search and return call set through the Tickets API so that we can create our own customer-specific view into outstanding tickets (gap in Service Hub native functionality). Have others found that Ticket Status is a value that is returned by the API after querires?

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee

Hey @jholyoak,

 

When looking to retrieve ticket status from tickets API, you can look at the internal name - `hs_pipeline_stage`. 

 

i.e. if you'd like to find ticket status == waiting on contact

GET crm/v3/objects/tickets/search

POST body

{
    "filters": [
      {
        "propertyName": "hs_pipeline_stage",
        "operator": "EQ",
        "value": "2"
      }
    ]
  }

In which the pipeline internal value can be retrieve from the ticket pipeline settings:

 

ticket.png 

 

 

0 Upvotes