Report API 404

Hi I am calling

https://api.clockify.me/api/v1/workspaces/{workspaceId}/reports/summary (I have replaced the workspaceId}

I get the following back.

{
“timestamp”: “2023-07-06T14:01:18.715+00:00”,
“status”: 404,
“error”: “Not Found”,
“path”: “/v1/workspaces/…ad1df/reports/summary”
}

This is my payload

{
“dateRangeEnd”: “2023-06-30T00:00:00.000Z”,
“dateRangeStart”: “2023-06-01T00:00:00.000Z”,

“summaryFilter”: {
“groups”: [
“MONTH”,
“PROJECT”,
“TIMEENTRY”
]
},
“exportType”: “JSON”
}

Using thunderclient in VS Code.

Hi there,

The endpoint for the report should be https://reports.api.clockify.me/v1/workspaces/{workspaceId}/reports/summary. Also, the export type can only be CSV, PDF and Excel. While the content type can be set to JSON.

Hopefully, that helps.

Cheers!