# Ticket list per contact

**URL:** <https://community.hubspot.com/t/ticket-list-per-contact/46815>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [November 11, 2021, 8:26am UTC](https://community.hubspot.com/t/ticket-list-per-contact/46815 "2021-11-11T08:26:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![web-developer1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/web-developer1/32/191885_2.png) [@web-developer1](https://community.hubspot.com/u/web-developer1)\
**Post date:** [November 11, 2021, 8:26am UTC](https://community.hubspot.com/t/ticket-list-per-contact/46815/1 "2021-11-11T08:26:43Z")

</div>

Hi everyone,

we would like to build an thrid party application to show all tickets which have an association to anspecific contact object.

I read already the api documentation and stuck at the point, that we need a bunch of requests to get all data to one single ticket.

This is the request workflow:

1. list of associations from contact to tickets, api path: _“/crm/v3/objects/contacts/{{CONTACT\_ID}}/associations/ticket”_
2. per ticket the details, api path: _“/crm/v3/objects/tickets/{{TICKET\_ID}}”_
3. list of associations from ticket to engagements, api path: _“/crm/v3/objects/tickets/{{TICKET\_ID}}/associations/engagement”_
4. per engagement the details, api path: _“/crm/v3/objects/engagement/{{ENGAGEMENT\_ID}}”_
5. per attachment id of the engagement details the meta data of the files,api path: _“/files/v3/files/{{FILE\_ID}}”_
6. per attachment file one file request

Do you have any advice to reduce the counts of requests?

Best regards

---

<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:** [November 12, 2021, 5:13pm UTC](https://community.hubspot.com/t/ticket-list-per-contact/46815/2 "2021-11-12T17:13:50Z")

</div>

@Teun , any thoughts on trimming this down 😬

---

<div class="post-metadata">

**Author:** ![Teun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/teun/32/28739_2.png) [@Teun](https://community.hubspot.com/u/Teun)\
**Post date:** [November 15, 2021, 7:52am UTC](https://community.hubspot.com/t/ticket-list-per-contact/46815/3 "2021-11-15T07:52:36Z")

</div>

Hi @web-developer1 and @dennisedson ,

I went through the docs, but I wasn’t able to find any way to reduce the number of requests.

HOWEVER, WITH THE AMAZING GRAPHQL ANNOUNCEMENT DURING DEVELOPER DAY, YOU SHOULD BE ABLE TO RETRIEVE ALL THIS WITH A SINGLE REQUEST.

I apologize for my enthusiasm. Check the [docs](https://developers.hubspot.com/docs/cms/data/query-hubspot-data-using-graphql#use-a-graphql-query-in-an-api-request).
