SDK Explorer

Generate user session and SDK secret key.

Parameters
UserTokenRequest
object
Required
user_id
string
Required

Unique system generated identifier for the user.

x_request_id
string

Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.

Responses
Example
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.PINAuthenticationApi(client)
7request = user_controlled_wallets.UserTokenRequest.from_dict({
8    "userId": "kakarot",
9})
10response = api_instance.get_user_token(user_token_request=request)
11print(response.json())
12
ResponseChoose an example
1{
2  "data": {
3    "user_token": "eyJhbGciOiJS...-F8EFYDYjAxIUw",
4    "encryption_key": "7LcOsm4lUAK2Mg...+6fPjr58="
5  }
6}
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.