API Support & FAQ

Ask a Question
Back to All

400 error when adding date filter to timesheet API request

I am trying to retrieve data from the timesheet endpoint. The following request works correctly:

https://next.liquidplanner.com/api/workspaces/my_id/timesheet/v1/export/json

but this request fails with a 400 error:

https://next.liquidplanner.com/api/workspaces/my_id/timesheet/v1/export/json?date[between]=["2023-05-01","2023-05-31"]

Could you help clarify the correct format for adding a date filter to an API request for timesheets?