SessionId
Establishes a new Chat session. The SessionId request is required as the first request to create every Chat session.
This resource is available in API versions 29.0 and later.
URI
https://HOSTNAME/chat/rest/System/SessionId/
https://HOSTNAME/chat/rest/System/SessionId/X_LIVEAGENT_SESSION_KEY
Where HOSTNAME and X_LIVEAGENT_SESSION_KEY are variables.
Formats
JSON
HTTP methods
GET—Creates a session. Don’t pass X-LIVEAGENT-SESSION-KEY to the URL.
DELETE—Deletes the session. Pass X-LIVEAGENT-SESSION-KEY, the session key, to the URL.
Request headers
X-LIVEAGENT-AFFINITY
X-LIVEAGENT-API-VERSION
Request body
None
Request parameters
None
Response Body
SessionId response
See Also