Validate the result of a challenge using a token obtained after redirecting back from the pre-built UI or returned by an Authsignal SDK.
cURL
curl --request POST \ --url https://api.authsignal.com/v1/validate \ --header 'Content-Type: application/json' \ --data '{ "token": "eyJhbGciOiJ..." }'
{ "isValid": true, "state": "CHALLENGE_SUCCEEDED", "stateUpdatedAt": "2023-11-07T05:31:56Z", "userId": "<string>", "action": "<string>", "idempotencyKey": "<string>", "verificationMethod": "SMS" }
OK
The response is of type object.
object
Was this page helpful?