Skip to main content
Verify second factors and unlock a token

Query Parameters

token
string

The locked token signing in handed back. Leave it out and the one in the request's cookies is used.

Pattern: ^[A-Za-z0-9._-]+$
Example:

"cir_a11b868cbba3c.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

Body

application/json
factors
object[]
required

The factors being answered and the code for each. They do not all have to be sent at once - answer them in as many calls as suits you.

Required array length: 1 - 3 elements

Response

Reports whether the token is now unlocked, and how each factor that was answered ended up. Answering wrongly is reported here rather than as a failure.

factors
object[]

How each factor named in the request ended up. A factor the token does not carry is left out entirely.

isUnlocked
boolean

Whether every factor on the token is now verified and the token can be used. It stays false while any factor is outstanding, including factors this call did not touch.

Example:

false