Skip to main content
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' 

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth 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.

Example:

999