GET
/
sessions
/
{sessionId}
curl --request GET \
  --url https://api.gleap.io/v3/sessions/{sessionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>'
{
  "eventData": "<any>",
  "checklistTasks": "<any>",
  "outboundHistory": "<any>",
  "plan": "<string>",
  "instagramUsername": "<string>",
  "instagramId": "<string>",
  "facebookId": "<string>",
  "phone": "<string>",
  "sla": 123,
  "companyName": "<string>",
  "companyId": "<string>",
  "avatar": "<string>",
  "location": "<any>",
  "lastPageView": "<any>",
  "unsubscribedAt": "2023-11-07T05:31:56Z",
  "unsubscribeReason": "<string>",
  "lastFeedbackReport": "2023-11-07T05:31:56Z",
  "lastActivity": "2023-11-07T05:31:56Z",
  "lastHeardFrom": "2023-11-07T05:31:56Z",
  "gleapHash": "<string>",
  "gleapId": "<string>",
  "customData": "<any>",
  "project": {
    "isValid": {},
    "createFromHexString": {},
    "createFromTime": {},
    "generate": {},
    "cacheHexString": "<any>",
    "prototype": "<string>"
  },
  "email": "<string>",
  "userId": "<string>",
  "organisation": {
    "isValid": {},
    "createFromHexString": {},
    "createFromTime": {},
    "generate": {},
    "cacheHexString": "<any>",
    "prototype": "<string>"
  },
  "name": "<string>",
  "countFeedbackComments": 123,
  "countFeedbackReports": 123,
  "tags": [
    "<string>"
  ],
  "sessions": 123,
  "emailOnly": true,
  "blocked": true,
  "unsubscribed": true,
  "firstActivity": "2023-11-07T05:31:56Z",
  "lang": "<string>",
  "value": 123,
  "updatedAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "_id": {
    "isValid": {},
    "createFromHexString": {},
    "createFromTime": {},
    "generate": {},
    "cacheHexString": "<any>",
    "prototype": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Path Parameters

sessionId
string
required

Response

200 - application/json

Ok

The response is of type object.