Triggering makes internal api /hooks - capped to only 50?

:bullseye: What is your goal?

Hi everyone, I’m currently testing Make’s API and calling the GET /hooks endpoint, which is returning a successful response.

:thinking: What is the problem & what have you tried?

The issue is that the response seems to be limited to only 50 webhooks, but I need to retrieve all of them. I have tried to increase the limit as well as the offset via /hooks?teamId=*****&limit=1000 but that does not seem to get the job done either..

:clipboard: Error messages or input/output bundles

the reponse keeps holding on this: {“pg”:{“sortBy”:“name”,“limit”:50,“sortDir”:“asc”,“offset”:0,“returnTotalCount”:false}

1 Like

Hey Peter,

I think its pg[limit] in the query, not just limit.

The /hooks endpoint is currently hard-limited to 50 items per request, and the limit parameter doesn’t override that limit. To retrieve all webhooks, you need to paginate manually by using the offset value and making multiple calls (0, 50, 100, 150, etc.). Make does not support returning all hooks in a single request, so pagination is the only way to get the full list.