Conversation API/API Reference
Create Session
Creates a new authentication session for Helper
Request Body
application/json
Requiredemail
stringEmail address of the user
Format:
"email"
emailHash
stringHMAC hash of the email and timestamp
mailboxSlug
RequiredstringSlug of the mailbox to connect to
timestamp
integerCurrent timestamp in milliseconds
Format:
"int64"
customerMetadata
objectAdditional metadata about the customer
experimentalReadPage
booleanWhether to enable experimental page reading
currentURL
RequiredstringThe current URL where the chat is being initiated
Response Body
Session created successfully
valid
RequiredbooleanWhether the authentication was successful
token
RequiredstringJWT token to use for subsequent API calls
showWidget
RequiredbooleanWhether the chat widget should be shown to this customer
notifications
array<object>Optional array of unread notifications for the customer
experimentalReadPage
boolean | nullWhether experimental page reading is enabled