{
id: string,
status: 'pending' | 'canceled' | 'saved',
saveReason: 'footer_link' | 'abandoned' | 'custom',
callbackURL: string,
createdAt: ISO8601 Date,
completedAt: ISO8601 Date,
environmentID: 'production' | 'testing',
// Customer info that you passed when you created the session
customer: {
name: string,
domain: string,
id: string,
createdAt: number, // Timestamp in ms
email: string
},
// Questions & Answers
questions: {
[questionID: string]: {
type: 'multipleChoice',
title: string,
required: boolean,
multipleAnswers: boolean,
answers: [{
id: string,
index: string,
text: string
}]
},
[questionID: string]: {
type: 'text',
title: string,
required: boolean,
answer: string
}
},
// Variables info that you passed when you created the session
variables: {}
}