Invalid Token Responce

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”)


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

Thank you, that works.