curl --request POST \
--url https://api.open.cx/insights \
--header 'Content-Type: application/json' \
--data '
{
"category": "<string>",
"status": "all",
"sentiment": "angry",
"sortBy": "occurrence_count",
"sortOrder": "desc",
"minSessions": 4503599627370495,
"search": "<string>",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"insightNumber": 4503599627370495,
"sessionLanguage": "el",
"ticketSentiment": "angry",
"channel": "web",
"sessionFromDate": "<string>",
"sessionToDate": "<string>",
"sessionStatus": "closed_resolved",
"sessionContactId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ticketCustomData": [
{}
],
"contactCustomData": [
{}
],
"page": 1
}
'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"insight_number": 0,
"content": "<string>",
"sentiment": "angry",
"occurrence_count": 0,
"category": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>"
},
"team": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"resolved_by": {
"name": "<string>",
"avatar_url": "<string>"
},
"resolved_at": "2023-11-07T05:31:56Z",
"archived_by": {
"name": "<string>",
"avatar_url": "<string>",
"reason": "<string>"
},
"archived_at": "2023-11-07T05:31:56Z",
"deep_research": "<string>",
"deep_research_completed_at": "2023-11-07T05:31:56Z",
"first_seen_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"page": 0,
"total": 0,
"totalPages": 0
}Retrieve customer insights (paginated response)
curl --request POST \
--url https://api.open.cx/insights \
--header 'Content-Type: application/json' \
--data '
{
"category": "<string>",
"status": "all",
"sentiment": "angry",
"sortBy": "occurrence_count",
"sortOrder": "desc",
"minSessions": 4503599627370495,
"search": "<string>",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"insightNumber": 4503599627370495,
"sessionLanguage": "el",
"ticketSentiment": "angry",
"channel": "web",
"sessionFromDate": "<string>",
"sessionToDate": "<string>",
"sessionStatus": "closed_resolved",
"sessionContactId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ticketCustomData": [
{}
],
"contactCustomData": [
{}
],
"page": 1
}
'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"insight_number": 0,
"content": "<string>",
"sentiment": "angry",
"occurrence_count": 0,
"category": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>"
},
"team": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"resolved_by": {
"name": "<string>",
"avatar_url": "<string>"
},
"resolved_at": "2023-11-07T05:31:56Z",
"archived_by": {
"name": "<string>",
"avatar_url": "<string>",
"reason": "<string>"
},
"archived_at": "2023-11-07T05:31:56Z",
"deep_research": "<string>",
"deep_research_completed_at": "2023-11-07T05:31:56Z",
"first_seen_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"page": 0,
"total": 0,
"totalPages": 0
}Filter by category name
all, unresolved, resolved, archived Filter by sentiment
angry, happy, neutral occurrence_count, last_seen_at, first_seen_at, created_at asc, desc Minimum occurrence count
0 < x <= 9007199254740991Search in insight content
Filter by specific team ID or none for unassigned insights
Filter by insight number
0 < x <= 9007199254740991Filter by language
el, de, fr, it, es, pt, nl, da, sv, no, fi, pl, cs, sk, hu, ro, bg, hr, sr, uk, ru, tr, en, zh, ja, ko, hi, id, ms, th, vi, tl, ar, he, fa, af, sw Filter by sentiment
angry, happy, neutral Filter by session channel
web, email, phone_voice, slack, sms, whatsapp, instagram, messenger, api, web_voice Filter sessions created from this date (ISO 8601)
Filter sessions created to this date (ISO 8601)
Filter by session status
closed_resolved, closed_unresolved, open Filter by session contact ID
A list of objects with key-value pairs to filter by. Relationship is OR between objects, and AND between the values in each object
Show child attributes
Filter by contact custom data key-value pairs
Show child attributes
x <= 9007199254740991Default Response
Was this page helpful?