List all challenges by status for a user.
Unique system generated JWT session token for specific user.
Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
Filter by external challenge status.
1from circle.web3 import user_controlled_wallets
2from circle.web3 import utils
3
4client = utils.init_user_controlled_wallets_client(api_key=key)
5
6api_instance = user_controlled_wallets.UsersApi(client)
7
8response = api_instance.list_user_challenges(x_user_token=user_token)
9print(response.json())
10
1{
2 "data": {
3 "challenges": [
4 {
5 "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
6 "correlation_ids": [
7 "54399e5a-1bf6-4921-9559-10c1115678cd"
8 ],
9 "error_code": 155121,
10 "error_message": "challenge expired",
11 "status": "PENDING",
12 "type": "SET_PIN"
13 }
14 ]
15 }
16}