# Hubspot api,Only 100 tickets per request!

**URL:** <https://community.hubspot.com/t/hubspot-api-only-100-tickets-per-request/11645>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [November 30, 2018, 1:21pm UTC](https://community.hubspot.com/t/hubspot-api-only-100-tickets-per-request/11645 "2018-11-30T13:21:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [November 30, 2018, 1:21pm UTC](https://community.hubspot.com/t/hubspot-api-only-100-tickets-per-request/11645/1 "2018-11-30T13:21:02Z")

</div>

Hi team, I came across this situation were I was trying to find a newly created ticket but I could not see it in the response I was requesting, found it bit odd that I always got a array of 100 elements, so I check documentation and it only allows 100 tickets per request → [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/methods/tickets/get-all-tickets)

> Blockquote Get all tickets from a portal, up to 100 per request.

I can get ticket by id ( [https://developers.hubspot.com/docs/methods/tickets/get\_ticket\_by\_id](https://developers.hubspot.com/docs/methods/tickets/get_ticket_by_id) ) but…I need to get all tickets…how can I solve this?

best regards

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 30, 2018, 9:48pm UTC](https://community.hubspot.com/t/hubspot-api-only-100-tickets-per-request/11645/2 "2018-11-30T21:48:35Z")

</div>

Hi [@codeling](https://community.hubspot.com/u/codeling),

Happy to clarify.

When you make that first request, it will return a `hasMore` boolean and an `offset` value. You can then append the `offset` value to the request URL to get the next 100 tickets in your second call, and so on until `"hasMore": false`.

There are a number of ways to approach this, but Connor’s repo [here](https://github.com/cbarley10/hubspot-pagination) may be a good place to start if you’re not sure how to set up the looping requests.
