Endpoints
- Message templates
- Session
- GETGet all sessions
- POSTCreate a new session
- GETGet a session
- PUTUpdate a session
- DELDelete a session
- PUTResubscribe a session
- GETSearch for sessions
- GETExport sessions
- GETGet a session by user id
- GETGet session activities
- GETGet session events
- POSTImport a session
- POSTImport sessions from intercom
- POSTUnsubscribe sessions
- GETGet session checklists
- GETGet session Stripe info
- GETGet session Chargebee info
- GETGet session LemonSqueezy info
- GET
- Team
- Messages
- Help center collections
- Help center articles
- Help center redirects
- Ticket
- Engagement Banner
- Engagement Chat Message
- Engagement Cobrowse
- Engagement Email
- Engagement News
- Engagement Product Tour
- Engagement Push Notification
- Engagement Survey
- Engagement Tooltip
- Engagement Whatsapp Messages
- Engagement Checklist
- Engagement
- AI content
- Engagement Modal
- Invitation
- Project
Session
Get a session
Get a session by id.
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Path Parameters
Response
200 - application/json
Ok
The response is of type object
.
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>"
}
}