Limitação de retorno - organizations/id/deals

Olá pessoal.
Estou a consumir a api do pipedrive usando o a url (organizations/id/deals),porem estou tendo problemas em questão de retorno pois a api limita em no maximo 500 linhas e necessito que me retorne todos os registros .

Queria saber como solucionar esse problema, por que precisava da api sem limite de retorno!

desde já agradeço.

Welcome to the community @Alana_Francino :wave:

The GET /organizations/{id}/deals endpoint has the 500 response items limit as part of pagination. Most of our GET endpoints use pagination to make sure that responses with a big amount of data are easier to handle and that the API runs smoothly and effectively.

You can read more about how our pagination works in Developer Docs here. If you need to consume all the records of that endpoint, you could use a recursive method to consume the different paginated entities.

May I ask what is the goal / use case behind calling that endpoint to get all the results? Maybe I can suggest some other solution to your case :slight_smile: