Newer Version Available

This content describes an older version of this product. View Latest

SessionId

Establishes a new Chat session. The SessionId request is required as the first request to create every Chat session.

Syntax

URI
https://hostname/chat/rest/System/SessionId/X-LIVEAGENT-SESSION-KEY (where you only need /X-LIVEAGENT-SESSION-KEY if you use the DELETE method)
Available since release
This resource is available in API versions 29.0 and later.
Formats
JSON
HTTP methods
GET—Creates a session. Don't pass a session key to the URL.
DELETE—Deletes the session. Pass a session key to the URL.
Request headers
X-LIVEAGENT-AFFINITY
X-LIVEAGENT-API-VERSION
Request body
None
Request parameters
None
Response Body
SessionId response