We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Chat REST Service

Accepted answer
27
Views
2
Comments
edited Oct 16, 2019 7:37AM in Integrations and APIs 2 comments

Summary

Issue with establish session - Chat REST API

Content

Hi,

I'm trying to invoke Chat REST services for a custom integration. But I am getting an error while calling establish session REST API. Please find the details below. .

API: https://xxxxx.custhelp.com/services/rest/crossChannelServices/latest/establishSessions

Body

{
 "sessionInformation": {
 "emailAddress" : "[email protected]", 
 "firstName" : "Vijay",
 "lastName": "Krishna", 
 "question" : "Test Chat",
 "auxiliaryData" : {
"BROWSER" : "Mobile Safari 11.0", 
"OPERATING_SYSTEM" : "iPhone OS", 
"USER_AGENT" : "Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1"

  }
 }
 
Response
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!