Download OpenAPI specification:
Multi-factor authentication for your application: set up a second step for your users, and check it at sign-in. Every error is a problem detail (RFC 9457) with a stable code.
SignInContext (object) or null | |
| factorId required | string <uuid> |
| language | string or nullja|en |
| userId required | string <uuid> |
{- "context": {
- "ipAddress": "string",
- "userAgent": "string"
}, - "factorId": "9edc2daa-1203-44d7-9f41-d6f0d1fc180b",
- "language": "string",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}{- "approvedWith": "FACTOR",
- "attemptsRemaining": 0,
- "completedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "deniedReason": "NOT_ME",
- "email": {
- "expiresAt": "2019-08-24T14:15:22Z",
- "sentTo": "string"
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "factorId": "9edc2daa-1203-44d7-9f41-d6f0d1fc180b",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "push": {
- "number": 0
}, - "status": "PENDING",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}| challengeId required | string <uuid> |
{- "approvedWith": "FACTOR",
- "attemptsRemaining": 0,
- "completedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "deniedReason": "NOT_ME",
- "email": {
- "expiresAt": "2019-08-24T14:15:22Z",
- "sentTo": "string"
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "factorId": "9edc2daa-1203-44d7-9f41-d6f0d1fc180b",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "push": {
- "number": 0
}, - "status": "PENDING",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}| challengeId required | string <uuid> |
| code required | string [ 0 .. 64 ] characters |
{- "code": "string"
}{- "challenge": {
- "approvedWith": "FACTOR",
- "attemptsRemaining": 0,
- "completedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "deniedReason": "NOT_ME",
- "email": {
- "expiresAt": "2019-08-24T14:15:22Z",
- "sentTo": "string"
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "factorId": "9edc2daa-1203-44d7-9f41-d6f0d1fc180b",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "push": {
- "number": 0
}, - "status": "PENDING",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}, - "recoveryCodesRemaining": 0,
- "verified": true
}| challengeId required | string <uuid> |
| code required | string\d{6} |
{- "code": "string"
}{- "challenge": {
- "approvedWith": "FACTOR",
- "attemptsRemaining": 0,
- "completedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "deniedReason": "NOT_ME",
- "email": {
- "expiresAt": "2019-08-24T14:15:22Z",
- "sentTo": "string"
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "factorId": "9edc2daa-1203-44d7-9f41-d6f0d1fc180b",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "push": {
- "number": 0
}, - "status": "PENDING",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}, - "verified": true
}[- {
- "activatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "emailHint": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "status": "PENDING",
- "type": "TOTP"
}
]| userId required | string <uuid> |
string or null [ 0 .. 254 ] characters | |
| label | string or null [ 0 .. 100 ] characters |
| language | string or nullja|en |
| type required | string Enum: "TOTP" "PUSH" "EMAIL" |
{- "email": "string",
- "label": "string",
- "language": "string",
- "type": "TOTP"
}{- "email": {
- "expiresAt": "2019-08-24T14:15:22Z",
- "sentTo": "string"
}, - "factor": {
- "activatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "emailHint": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "status": "PENDING",
- "type": "TOTP"
}, - "push": {
- "activationNumber": 0,
- "enrollmentUri": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "qrCode": "string"
}, - "totp": {
- "otpauthUri": "string",
- "qrCode": "string",
- "secret": "string"
}
}| userId required | string <uuid> |
| factorId required | string <uuid> |
{- "challengeId": "007cfdcc-a46d-4340-a4c6-216ec2e4009c",
- "claimed": true,
- "clientIp": "string",
- "code": "invalid_request",
- "detail": "string",
- "errors": [
- {
- "field": "string",
- "message": "string"
}
], - "instance": "string",
- "lockedUntil": "2019-08-24T14:15:22Z",
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "retryAfter": "2019-08-24T14:15:22Z",
- "status": 0,
- "title": "string",
}| userId required | string <uuid> |
| factorId required | string <uuid> |
| code required | string\d{6} |
{- "code": "string"
}{- "activatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "emailHint": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "status": "PENDING",
- "type": "TOTP"
}| externalId required | string |
{- "createdAt": "2019-08-24T14:15:22Z",
- "displayName": "string",
- "externalId": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}| displayName | string or null [ 0 .. 255 ] characters |
| externalId required | string [ 0 .. 255 ] characters |
{- "displayName": "string",
- "externalId": "string"
}{- "createdAt": "2019-08-24T14:15:22Z",
- "displayName": "string",
- "externalId": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}| userId required | string <uuid> |
{- "challengeId": "007cfdcc-a46d-4340-a4c6-216ec2e4009c",
- "claimed": true,
- "clientIp": "string",
- "code": "invalid_request",
- "detail": "string",
- "errors": [
- {
- "field": "string",
- "message": "string"
}
], - "instance": "string",
- "lockedUntil": "2019-08-24T14:15:22Z",
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "retryAfter": "2019-08-24T14:15:22Z",
- "status": 0,
- "title": "string",
}| userId required | string <uuid> |
| displayName | string or null [ 0 .. 255 ] characters |
{- "displayName": "string"
}{- "createdAt": "2019-08-24T14:15:22Z",
- "displayName": "string",
- "externalId": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}| userId required | string <uuid> |
| issuedBy | string or null [ 0 .. 100 ] characters |
{- "issuedBy": "string"
}{- "accessPass": "string",
- "expiresAt": "2019-08-24T14:15:22Z"
}| userId required | string <uuid> |
| challengeId required | string <uuid> |
{- "challengeId": "007cfdcc-a46d-4340-a4c6-216ec2e4009c"
}{- "expiresAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "token": "string"
}| userId required | string <uuid> |
| token required | string [ 0 .. 200 ] characters |
{- "token": "string"
}{- "expiresAt": "2019-08-24T14:15:22Z",
- "trusted": true
}