How to get all time entries from the API

Hello,

I am using the v9 API to retrieve time entries. Is there a way to retrieve more than 3 months of time entries. Whenever I try to retrieve more than 3 months, I get response from API saying “start_date must not be earlier than 2024-09-08”.

This is the endpoint and query params I am using: https://api.track.toggl.com/api/v9/me/time_entries?start_date=2024-01-01&end_date=2024-12-08

Using docs from here: Time entries | Toggl Engineering

1 Like

@Joe_Enser

Sorry for the late reply!

You are using the me endpoint, which is basically the equivalent of the Timer page, which is limited to how far back it can show data.

Try using the Reports Endpoints instead, you set a date range of 365 days there: Reports API - Toggl Community