APIs & Integrations

Abhimanyu
Contributor

Pagination For showing tickets

SOLVE

Hi 

I want to do pagination using association api 

Document URL: https://developers.hubspot.com/docs/api/crm/companies

Api Name: List associations of a company by type

/crm/v3/objects/companies/{companyId}/associations/{toObjectType}

 

I want to show 10 record per page and if I hit this api I am getting first 10 record with token to fetch the record for page 2 in "After" and issue I am facing is if I fetch the record of first 10 tickets and I want to go on Page 5 but there is no token available for that because for that I have to go on Page 4 which will return the tocken to fetch the record for page 5.

 

How can I go from page 1 to page 5?


Thank You 


0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Pagination For showing tickets

SOLVE

Hello @Abhimanyu 

At this time, we do not support jumping pages.  I would suggest adding this as an idea to the Ideas forum and linking back here so anyone who is looking for this solution can upvote your idea.

Good luck!

View solution in original post

2 Replies 2
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Pagination For showing tickets

SOLVE

Hello @Abhimanyu 

At this time, we do not support jumping pages.  I would suggest adding this as an idea to the Ideas forum and linking back here so anyone who is looking for this solution can upvote your idea.

Good luck!

dennisedson
HubSpot Product Team
HubSpot Product Team

Pagination For showing tickets

SOLVE

Hey @Abhimanyu 

I am asking around internally to see how that after property is generated.  I would not expect an answer back until after the holidays, though