This page was last edited on May 29, 2018, at 20:38.
Comments or questions about this documentation? Contact us for support!
The Session Management API allows you to bundle requests and set your customer ID for your entire session. This is the technical part of the interface, and its concepts and actions are only of interest to developers.
The operations carried out by the Session Management API can be accessed by all roles.
Description | Creates new named or anonymous (agentId, customerId, visitId not provided) session | ||||||||||||
URL | /sessions/new | ||||||||||||
Method | PUT | ||||||||||||
Request Content-Type | application/json | ||||||||||||
Response Content-Type | application/json | ||||||||||||
Role | Any | ||||||||||||
URL Identifiers | None | ||||||||||||
URL Parameters |
| ||||||||||||
HTTP Header |
| ||||||||||||
Request Body | Optional
| ||||||||||||
Response | SessionInfo | ||||||||||||
Notes | In case of success returns payload in response field of "response" of declared structure. In case of error returns code and description of error. |
Description | Retrieves information about an existing session by sessionId | ||||||||||||
URL | /sessions/{sessionId} | ||||||||||||
Method | GET | ||||||||||||
Request Content-Type | — | ||||||||||||
Response Content-Type | application/json | ||||||||||||
Role | Any | ||||||||||||
URL Identifiers |
| ||||||||||||
URL parameters |
| ||||||||||||
HTTP Header |
| ||||||||||||
Response | SessionInfo | ||||||||||||
Notes | Returns information about existing session of specified id, or about automatically created new session. |
Description | Assosiate recognized user with previously started anonymous session | ||||||||||||
URL | /sessions/{sessionId} | ||||||||||||
Method | POST | ||||||||||||
Request Content-Type | application/json | ||||||||||||
Response Content-Type | application/json | ||||||||||||
Role | Any | ||||||||||||
URL Identifiers |
| ||||||||||||
URL parameters |
| ||||||||||||
HTTP Header |
| ||||||||||||
Request Body | Optional
| ||||||||||||
Response | SessionInfo | ||||||||||||
Notes | In case of success returns payload in response field of "response" of declared structure. In case of error returns code and description of error. |