I'm setting the first parameter to 500, but the API response contains only 50 records.
This the query:
query Cards($pipe_id: ID!, $first: Int!, $after: String) {
cards(pipe_id: $pipe_id, first: $first, after: $after) {
edges {
node {
id
fields { name value }
}
}
}
pageInfo {
endCursor
hasNextPage
}
}
}
Page 1 / 1
The Pipefy API enforces a maximum limit of 50 records per request to ensure stability. This limit applies even if you ask for a larger number in the first parameter.
To retrieve more than 50 records, you must use cursor-based pagination. This means you make your first request (for 50 items) and check the pageInfo in the response. If hasNextPage is true, you take the endCursor value and pass it as the after parameter in your next request to fetch the next batch of 50. You repeat this process until hasNextPage is false.
Join us in the Pipefy Community! 🚀
No account yet? Create an account
Login with your Pipefy credentials
or
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
