SDK Explorer

Lists all user challenges.

Parameters
input
object
Required

Represents the input parameters for fetching a user's challenges.

userToken
string
Required

The JSON Web Token (JWT) representing the user.

Responses
Example
1const response = await client.listUserChallenges({
2  userToken: 'dummy-user-token',
3})
4console.log(response.data?.challenges)
ResponseChoose an example
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}
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.