Returns an authentication token that is valid for 5 minutes, for the session user.
You can use this action when developing LifeTime plug-ins that require using the LifeTime Services API. When using the LifeTime Services API you need to send an authentication token, so instead of using your own credentials to obtain an authentication token, you can use the GetUserSessionToken action together with the built-in Username session variable to obtain an authentication token for the user that is currently logged in into LifeTime.
Using this action will make your LifeTime plug-in independent of the environment where it is running.
Username: A LifeTime username. Use the buit-in Username session variable to get the username of the user that is currently logged in.
Text Type. Mandatory.
Token: A session token. This token expires 5 minutes after it has been created. Use this token for using functionality of the LifeTime Services API.
ResponseMessage: A human readable message that explains why the call to the API failed.
ResponseAdditionalInfo: More information about why the call to the API failed.
Overview of the LifeTime SDK | About APIs