Invalid Token Responce

Hi
I have a problem with API calls.
When I was tried to call this(DOMAIN/api/v1/clients) or other methods, I got the response (“Invalid Token”).
Can’t understand why, please help me.
I got an API token from here, you can see it in the screenshot, and this is my curl request
(curl -X GET DOMAIN/api/v1/clients -H “X-Ninja-Token: TOKEN” -H “X-Requested-With: XMLHttpRequest”)

Hi,

In v5 the API header has changed to X-API-Token

https://invoiceninja.github.io/docs/developer-guide/#migrating-from-v4

Thank you, that works.