Ticket Status List API

Is there any way to get a list of all the ticket status values and labels (for agent and customers) included custom statuses? I need the values so I can use them to filter API queries of tickets.

I figured this out.

  1. I used /api/v2/admin/ticket_fields to get the id for the status
  2. With the status id, I used /api/v2/admin/ticket_fields/[status_id] to get the status object
  3. The status object has a choices collection which contained exactly what I needed.
1 Like