APIs & Integrations

jholyoak
参加者

Is Ticket Status available in the Tickets API?

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 いいね!
1件の返信
WendyGoh
HubSpot Employee
HubSpot Employee

Is Ticket Status available in the Tickets API?

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 いいね!