Create Session Request
Request body for creating a new session. The structure varies based on the channel type.
Language code for the session
ENembeddedData object
Embedded data variables
property name* object
- string
- number<double>
- boolean
Channel type for the session (optional - if not provided, defaults to anonymous behavior)
Possible values: [anonymous, distribution, eiLink]
distribution object
Distribution settings for distribution-based sessions (only required when channel is 'distribution')
Recipient identifier
CGC_123456789Distribution identifier
EMD_123456789eiLink object
EI Link settings for EI Link sessions (only required when channel is 'eiLink')
Project identifier (Q_TS_ID)
TS_123456789Person identifier (Q_TS_PID)
P_123456789Relationship type (Q_TS_RS)
SelfEvaluator identifier (Q_TS_RE_PID)
P_123456789Whether to anonymize the session (Q_EE_ANON)
trueWhether the session is unsolicited (Q_TS_UNSOL)
trueWhether to strip HTML from responses
falseNumber of questions to display per page
Possible values: >= 1 and <= 100
1{
"language": "EN",
"embeddedData": {
"customVar": "value",
"userId": "12345"
},
"channel": "anonymous",
"distribution": {
"recipientId": "CGC_123456789",
"distributionId": "EMD_123456789"
},
"eiLink": {
"projectId": "TS_123456789",
"personId": "P_123456789",
"relationship": "Self",
"evaluatorId": "P_123456789",
"anonymous": true,
"unsolicited": true
},
"stripHTML": false,
"questionsPerPage": 1
}