APIs & Integrations

sculptdental
Member

Get All Contacts API Limit

I would like to raise the query below as per our discussion with Kristen Su (HubSpot Implementation Specialist).

 

We are currently using HubSpot CRM Get All Contacts End point to populate the Custom fields of JIRA with HubSpot Contact details, specifically a dropdown select list populated with all the contacts but there is a restriction with the API that limits the number contacts returned to 100 at a time.

 

To do this, we tried using plugins from Jira, namely, CRM for Jira and External Data for Jira Fields.

 

Here are the further details:

1. End goal: 

    To pull all the contacts from HubSpot

2. Restriction with External data

    Doesn’t support pagination of HubSpot

3. Restriction with CRM for Jira

    Can’t get the details from the selected contact, which will be used in other app integrations
4. API solution needed

    A customized API to get all the contacts without the pagination

5. Current workaround

    We created our own custom Web API that loops all the contacts using the pagination from the HubSpot and hosted it in another cloud site, and then integrate it with External Data for Jira Fields instead of directly integrating to HubSpot API.

 

Now, what we want to know is that is there a possibility to increase the API limit response to atleast 200-250 just for our client (Sculpt Lab) instead of using the customized API as a workaround?

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee
HubSpot Employee

Get All Contacts API Limit

Hi @sculptdental,

 

I hope all is well with you 😄

 

Looks like this question is best suited to be posted under the forum topic - APIs & Integrationsas it is a API-related query. Moving foward, you may want to post any API related query here: https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations. For now, let's walk through your issue here.

 

Currently it is not possible to increase the number of contacts return limit for the Get all contacts | Contacts API or any other HubSpot endpoints with a return limit. The reason behind having a limit is because there may be portals with significant number of contacts and returning all of them in a single request would result in timeouts and/or huge response sizes.

 

That said, I do have a suggestion. For the workaround that you shared across, I was thinking, instead of always getting all contacts using the Get all contacts | Contacts API > Moving forward, maybe you can look into this endpoint Get recently created contacts | Contacts API so that you do not have to loop through existing contacts that has already been created on your cloud site. 

 

I hope this helps to further clarify things!