API giving 'auth invalid'

Hi, I am using the API as mentioned here https://tradetron.tech/html-view/API but everytime I make the call I am getting Auth Invalid error.
I have double checked the token. How can I debug this further? What am I doing wrong?