Creates a user token.
Represents the input parameters for creating a user token.
The unique identifier generated by your system for the user.
1const response = await client.createUserToken({
2 userId: 'user-id',
3})
4console.log(response.data)
1{
2 "data": {
3 "userToken": "eyJhbGciOiJS...-F8EFYDYjAxIUw",
4 "encryptionKey": "7LcOsm4lUAK2Mg...+6fPjr58="
5 }
6}