traccar api token

Mohamed Elaggouni 7 years ago

Hello,
I was able to get a traccar client position in a map using the api with a token generatd on the traccar account dashboaed, but it expired
How can I get the token automatically for the api use without generating manually peridically

regards,

Anton Tananaev 7 years ago

Tokens don't expire.

Mohamed Elaggouni 7 years ago

Ok so if I generate a token (in the permissions popup) I can use it for the api undefinitely? I get the impression it was temporary because the token I got yesterday was not accepted today in my website (I am using demo server for the moment)

Anton Tananaev 7 years ago

It works until you change it to something else. There is no expiration.

Lpk naura 4 years ago

hi Anton, how to make token with api, without login?

Anton Tananaev 4 years ago

You'll need a login, obviously.