SDK Explorer

Retrieves a user challenge by token.

Parameters
input
object
Required

Represents the input parameters for fetching a challenge.

challengeId
string
Required

The unique identifier for the challenge.

userToken
string
Required

The JSON Web Token (JWT) representing the user.

Responses
Example
1const response = await client.getUserChallenge({
2  userToken: 'dummy-user-token',
3  challengeId: 'challenge-id',
4})
5console.log(response.data?.challenge)
ResponseChoose an example
1{
2  "data": {
3    "challenge": {
4      "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
5      "correlationIds": [
6        "54399e5a-1bf6-4921-9559-10c1115678cd"
7      ],
8      "errorCode": 155121,
9      "errorMessage": "challenge expired",
10      "status": "PENDING",
11      "type": "SET_PIN"
12    }
13  }
14}
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.