Expenses API - Project filter not working for me

Hi there.

I am new here so apologies in advance if this is not in the right place to publish this question.

I a trying to retrieve expenses for a particular project. I have followed the documentation and used the api:

GET https://api.freeagent.com/v2/expenses?project=https://api.freeagent.com/v2/projects/<PROJECT_ID>

I know for a fact that the project I have provided has expenses as I can see it on the FreeAgent UI however the API returns an empty set.

Does anyone know what could be happening here?


irst Ensure the <PROJECT_ID> in your API call matches the exact ID of the project you’re trying to filter by. Verify that your API credentials have the necessary permissions to access expenses for the specific project Then FreeAgent’s API might have rate limits in place. Make sure you’re not exceeding the allowed number of requests within a specific timeframe.
In rare cases, cached data might be causing outdated information. While unlikely, there could be a slight discrepancy between the documented API endpoint and the actual functionality.