Lists all user challenges.
Represents the input parameters for fetching a user's challenges.
The JSON Web Token (JWT) representing the user.
1const response = await client.listUserChallenges({
2 userToken: 'dummy-user-token',
3})
4console.log(response.data?.challenges)
1{
2 "data": {
3 "challenges": [
4 {
5 "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
6 "correlationIds": [
7 "54399e5a-1bf6-4921-9559-10c1115678cd"
8 ],
9 "errorCode": 155121,
10 "errorMessage": "challenge expired",
11 "status": "PENDING",
12 "type": "SET_PIN"
13 }
14 ]
15 }
16}