curl -L 'https://api.turso.tech/v1/auth/validate' \ -H 'Authorization: Bearer TOKEN'
{ "exp": 999 }
Validates an API token belonging to a user.
Successful response
The time of expiration for the provided token in unix epoch seconds, or -1 if there is no expiration.
-1
999
Was this page helpful?