
Charles Contreras asked a question.
I need help with the Podio get tasks api, where we can fetch upto 99 tasks, i tried to set the offset to get more tasks, but it shows blank json array.
this is the api https://api.podio.com/task
this api has a limit of 99 tasks
this is the api https://api.podio.com/task
this api has a limit of 99 tasks
Hello,.
To retrieve tasks using the Podio API, you can set the offset parameter to fetch additional tasks beyond the initial limit. Here’s how you can do it:
API Endpoint:
The endpoint for getting tasks is GET /task/.
It returns a list of tasks based on the specified filters and grouping.
Offset and Limit:
Use the offset parameter to indicate the starting point for fetching tasks.
By default, the limit is 30 tasks, but you can adjust it as needed.
For example, to get tasks beyond the first 30, set offset to 30 (for the next batch) or 60 (for the third batch), and so on.
Blank JSON Array Issue:
If you’re getting a blank JSON array, ensure that your authentication and request headers are correctly set.
Double-check the API call, including the endpoint, headers, and any other parameters.
Also, consider rate limits (maximum API calls per hour Official Site) to avoid hitting any restrictions.
Example Request:
To fetch tasks with an offset of 30 and a limit of 99, your API call might look like this:
GET https://api.podio.com/task/?offset=30&limit=99
Hope this will help you.
Best regards,
Cheri Cruz