Validate a session for a given access token. This will ensure both that the token signature is valid and that the token has not been revoked.
cURL
curl --request POST \ --url https://api.authsignal.com/v1/sessions/validate \ --header 'Content-Type: application/json' \ --data '{ "accessToken": "eyJhbGciOiJ...", "clientIds": [ "64818035-68c3-4087-a449-bdd176a166c4" ] }'
{ "user": {}, "expiresAt": 123, "verificationMethod": "SMS" }
OK
The response is of type object.
object
Was this page helpful?