Skip to main content
Version: 5.6.0

GetSessionForProfile

Creates and returns a session for the profileId provided.

This method is used for when you need a session for a user other than the one calling the script, or when a script does not have a user context by default (ex. S2S or Scheduled).

Method Parameters

ParameterDescription
profileIdThe profile Id

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab