SDK Explorer

Creates a user token.

Parameters
input
object
Required

Represents the input parameters for creating a user token.

userId
string
Required

The unique identifier generated by your system for the user.

Responses
Example
1const response = await client.createUserToken({
2  userId: 'user-id',
3})
4console.log(response.data)
ResponseChoose an example
1{
2  "data": {
3    "userToken": "eyJhbGciOiJS...-F8EFYDYjAxIUw",
4    "encryptionKey": "7LcOsm4lUAK2Mg...+6fPjr58="
5  }
6}
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.