Not able to get response from api

I am not able to get a response from the api it is saying expired or invalid token but i have just activated the token . After so many tries i am not able to find any response . Help from your side would be appreciated

Welcome, Dhruv! Thanks for reaching out.

Could you paste the API URL that you’re trying to access and the exact error message that you’re receiving?
Moreover, could you let us know if you’re using an account API token or a project API token?