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
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!
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!