# API for fetching Tickets Statuses names

**URL:** <https://community.hubspot.com/t/api-for-fetching-tickets-statuses-names/96398>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [December 19, 2023, 10:50am UTC](https://community.hubspot.com/t/api-for-fetching-tickets-statuses-names/96398 "2023-12-19T10:50:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmydlarz](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dmydlarz/32/62150_2.png) [@dmydlarz](https://community.hubspot.com/u/dmydlarz)\
**Post date:** [December 19, 2023, 10:50am UTC](https://community.hubspot.com/t/api-for-fetching-tickets-statuses-names/96398/1 "2023-12-19T10:50:54Z")

</div>

Hello there 👋  
When using API for Tickets objects, we’re suppose to use the

hs\_pipeline\_stage

field which is a numeric value (0, 1, 2, …).

I struggled to find an API endpoint that would return me a mapping between those numeric values with a names of stages (like: “New”, “Closed”, etc).

 ![dmydlarz_0-1702982922201.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/d/3d0f18dfb8744b2534d3613f8605124959c95576.png)

Am I missing something when browsing the docs, or the API doesn’t actually exists?  
When I call for Properties API for tickets I’m getting the field back, but the options list is empty.  
Is this supposed to work like that?

 ![dmydlarz_1-1702983041351.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/f/4f8da6b5f480d87c483f88bf567d99c36005e753.png)

Thanks in advance for your help

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 19, 2023, 10:29pm UTC](https://community.hubspot.com/t/api-for-fetching-tickets-statuses-names/96398/2 "2023-12-19T22:29:36Z")

</div>

Hey, @dmydlarz 👋 Thanks for your question.

Have you tried out the **[Pipelines API](https://developers.hubspot.com/docs/api/crm/pipelines)**? It works for Deals and Tickets to return the specific values for individual pipelines.

Additionally, I agree that the way the Ticket endpoints handle pipeline responses is confusing.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![dmydlarz](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dmydlarz/32/62150_2.png) [@dmydlarz](https://community.hubspot.com/u/dmydlarz)\
**Post date:** [December 20, 2023, 6:58pm UTC](https://community.hubspot.com/t/api-for-fetching-tickets-statuses-names/96398/3 "2023-12-20T18:58:07Z")

</div>

That’s what I’ve been looking for. Thank you Jaycee 🙂
