# Update API for tickets

**URL:** <https://community.hubspot.com/t/update-api-for-tickets/67903>\
**Category:** Tickets & Conversations\
**Created:** [October 26, 2022, 9:30am UTC](https://community.hubspot.com/t/update-api-for-tickets/67903 "2022-10-26T09:30:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JNallareddy](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@JNallareddy](https://community.hubspot.com/u/JNallareddy)\
**Post date:** [October 26, 2022, 9:30am UTC](https://community.hubspot.com/t/update-api-for-tickets/67903/1 "2022-10-26T09:30:51Z")

</div>

1.Do Hubspot have Update API for tickets other than channel logs?

2.To know the association between contacts, tickets and companies there is a long process. Is there any other way to the relation between them.

---

<div class="post-metadata">

**Author:** ![MrJustinGivens](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mrjustingivens/32/49537_2.png) [@MrJustinGivens](https://community.hubspot.com/u/MrJustinGivens)\
**Post date:** [October 26, 2022, 10:02pm UTC](https://community.hubspot.com/t/update-api-for-tickets/67903/2 "2022-10-26T22:02:35Z")

</div>

@JNallareddy Here’s the API for Tickets: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/tickets)

You can do just about anything with that API.

You can also get all the associations by type, for example:

**Contacts:** /crm/v4/objects/tickets/{ticketId}/associations/contact

**Company:** /crm/v4/objects/tickets/{ticketId}/associations/company

---

<div class="post-metadata">

**Author:** ![JNallareddy](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@JNallareddy](https://community.hubspot.com/u/JNallareddy)\
**Post date:** [October 27, 2022, 4:34am UTC](https://community.hubspot.com/t/update-api-for-tickets/67903/3 "2022-10-27T04:34:21Z")

</div>

Hi @MrJustinGivens  
Thank you for the reply.

Q1)But i need to know tickets that are modified within a specific range of time. The time range should be mentioned by us.

Q2)for example i have 1L tickets, to know the association for that do i need to hit 1L apis only for contacts?

---

<div class="post-metadata">

**Author:** ![MrJustinGivens](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mrjustingivens/32/49537_2.png) [@MrJustinGivens](https://community.hubspot.com/u/MrJustinGivens)\
**Post date:** [October 27, 2022, 2:21pm UTC](https://community.hubspot.com/t/update-api-for-tickets/67903/4 "2022-10-27T14:21:03Z")

</div>

@JNallareddy Then you need to use the search API for tickets.

/crm/v3/objects/tickets/search

You can then filter off the last modified time or other properties.

---

<div class="post-metadata">

**Author:** ![JNallareddy](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@JNallareddy](https://community.hubspot.com/u/JNallareddy)\
**Post date:** [October 28, 2022, 6:01am UTC](https://community.hubspot.com/t/update-api-for-tickets/67903/5 "2022-10-28T06:01:50Z")

</div>

Hi @MrJustinGivens  
Thank you for the solution!!  
I have one more question  
I need to know the association for between contacts , Tickets , compnaies in one API instead hitting indivisual api for every ticket ID.
