Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Org-wide conversation sentiment distribution

Buckets message-level sentiment scores analyzed in the window (positive / negative / neutral).

GET/v1/inbox/analytics/sentiment
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Query parameters
windowstring
Window: 7, 30, or 90
default: "7"
Responses
200OK
avg_scorenumber<double>required
negativeinteger<int64>required
neutralinteger<int64>required
positiveinteger<int64>required
totalinteger<int64>required
urgencyinteger<int64>required
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X GET "/v1/inbox/analytics/sentiment"
Response
{
  "avg_score": 0,
  "negative": 0,
  "neutral": 0,
  "positive": 0,
  "total": 0,
  "urgency": 0
}