# API

**URL:** <https://community.hubspot.com/t/api/54261>\
**Category:** APIs & Integrations\
**Created:** [April 1, 2022, 11:56am UTC](https://community.hubspot.com/t/api/54261 "2022-04-01T11:56:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahaurz](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@mahaurz](https://community.hubspot.com/u/mahaurz)\
**Post date:** [April 1, 2022, 11:56am UTC](https://community.hubspot.com/t/api/54261/1 "2022-04-01T11:56:23Z")

</div>

Hello,

I can get tickets id easily. no problem.

as i have

![mahaurz_0-1648814051367.png](https://d2qpr2jzcazej7.cloudfront.net/optimized/3X/c/c/cced17eef0c17b9fec5ff7933abde5bfd1d57d3a_2_690x21.png)

but I need ticket id with something which does not fall in groupname - ticketinformation

like this screenshot

![mahaurz_1-1648814138793.png](https://d2qpr2jzcazej7.cloudfront.net/optimized/3X/7/f/7f4020c7900542da2622cab5a91b12834eb4adc6_2_690x20.png)

How to get these two?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [April 1, 2022, 5:58pm UTC](https://community.hubspot.com/t/api/54261/2 "2022-04-01T17:58:17Z")

</div>

@mahaurz

You can see all available properties that can be returned for tickets [here](https://developers.hubspot.com/docs/api/crm/properties)

Once you have decided on the properties you want returned, you have a couple options

1. append the props as a query parameter to the ticket objects read endpoint.

eg: **[https://api.hubapi.com/crm/v3/objects/tickets?limit=10&properties=prop1](https://api.hubapi.com/crm/v3/objects/tickets?limit=10&properties=prop1)**

2. Use the [search the crm endpoint](https://developers.hubspot.com/docs/api/crm/search) and add the properties to the json body that you will send

eg:

` "properties": ["prop1", "prop2"]`
