CRM

DA8
メンバー

Association of companies with contacts

解決

Hey @PamCotton,  Thanks for your response it is really helpfull. I found this API endpoint https://api.hubapi.com/crm/v4/associations/{fromObjectType}/{toObjectType}/batch/read for associtaion of contacts. But my further question is in this API, is there any limit of result? Because i found "after" field here but not found any limit. i think it is retriving all records depends on input id

0 いいね!
2件の承認済みベストアンサー
alicemorgan3303
解決策
メンバー

Association of companies with contacts

解決

Hi @PamCotton, I appreciate your helpful response! Regarding the API endpoint you mentioned for associating contacts, it's great that you found it. To answer your question, there is indeed a limit on the number of results returned by the API. Typically, HubSpot APIs have a default limit (often around 100) on the number of records returned in a single request, but you can use pagination to retrieve additional results.

The "after" field you mentioned is used for pagination, allowing you to fetch the next set of records. If you need to retrieve more records, you would include the "after" parameter in your subsequent requests to continue from where the last batch left off. Always check the API documentation for specific details on pagination limits and handling results! Let me know if you have any more questions!

元の投稿で解決策を見る

0 いいね!
himanshurauthan
解決策
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

Association of companies with contacts

解決

Hi @DA8

 

When using the HubSpot API endpoint for associations (https://api.hubapi.com/crm/v4/associations/{fromObjectType}/{toObjectType}/batch/read), keep in mind the following key points: HubSpot APIs generally limit results to a maximum of 100 records per request, though this may not be explicitly stated. The after field in the response indicates pagination, allowing you to retrieve additional results by using the provided after value in subsequent requests. You can specify multiple input IDs in the request body to get associations for those specific IDs. use this https://api.hubapi.com/crm/v3/objects/contacts?limit=100&archived=falsev Accordingly you can add the limit, take the reference https://developers.hubspot.com/docs/api/crm/contacts

 

Best regards!

Digital Marketing & Inbound Expert In Growth Hacking Technology

元の投稿で解決策を見る

0 いいね!
2件の返信
himanshurauthan
解決策
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

Association of companies with contacts

解決

Hi @DA8

 

When using the HubSpot API endpoint for associations (https://api.hubapi.com/crm/v4/associations/{fromObjectType}/{toObjectType}/batch/read), keep in mind the following key points: HubSpot APIs generally limit results to a maximum of 100 records per request, though this may not be explicitly stated. The after field in the response indicates pagination, allowing you to retrieve additional results by using the provided after value in subsequent requests. You can specify multiple input IDs in the request body to get associations for those specific IDs. use this https://api.hubapi.com/crm/v3/objects/contacts?limit=100&archived=falsev Accordingly you can add the limit, take the reference https://developers.hubspot.com/docs/api/crm/contacts

 

Best regards!

Digital Marketing & Inbound Expert In Growth Hacking Technology
0 いいね!
alicemorgan3303
解決策
メンバー

Association of companies with contacts

解決

Hi @PamCotton, I appreciate your helpful response! Regarding the API endpoint you mentioned for associating contacts, it's great that you found it. To answer your question, there is indeed a limit on the number of results returned by the API. Typically, HubSpot APIs have a default limit (often around 100) on the number of records returned in a single request, but you can use pagination to retrieve additional results.

The "after" field you mentioned is used for pagination, allowing you to fetch the next set of records. If you need to retrieve more records, you would include the "after" parameter in your subsequent requests to continue from where the last batch left off. Always check the API documentation for specific details on pagination limits and handling results! Let me know if you have any more questions!

0 いいね!