GET
/
v1
/
auth
/
validate
curl -L 'https://api.turso.tech/v1/auth/validate' \
  -H 'Authorization: Bearer TOKEN'
{
  "exp": 999
}
curl -L 'https://api.turso.tech/v1/auth/validate' \
  -H 'Authorization: Bearer TOKEN'

Response

200 - application/json
Successful response
exp
integer

The time of expiration for the provided token in unix epoch seconds, or -1 if there is no expiration.