Classify Email By Sentiment

stmz-msg-api-emailsentiment
FREE-TIER1 credit per call

Great for

  • Customer service apps
  • Gauge customer engagement
  • Never miss a customer enquery

Use Natural Language Processing to classify incoming emails

High-speed

200ms/req.
(excludes text upload time)

High accuracy

Accuracy of over 90%
(For relevant text)

High capacity

Supports high volume requests
(Pro Credits)

Cost and Modes available
Free-tier available
Modes: Sync* & Async
Credit per Call: 1
* Sync is only available for PRO credit purchases
API call instructions

Refer to API User Guide for details on how to use systemize.ai APIs

URI
/api/message/stmz-msg-api-emailsentiment
Text Character Limit
Recommended less than 4000 characters
Tested formats
TXT
Response format
application/json
Output
prediction
The classification returned for the text, one of: {positive, negative, neutral, enquiry_product, enquiry_service}
confidence
The confidence of the inference. A higher number indicates a greater probability of a valid sentiment
Sample Output
{~ --"data":~ --{~ ----"prediction": "enquiry_product",~ ----"confidence": "0.9972"~ --}~ }~
CURL Request Example
$ curl --location --request POST 'https://api.systemize.ai/api/message/stmz-msg-api-emailsentiment' \
--header 'CLIENT_KEY: YOUR_CLIENT_KEY' \
--header 'CLIENT_SECRET: YOUR_CLIENT_SECRET' \
--header 'Content-Type: text/plain' \
--data-raw 'Hello there,
I was wondering if you could tell me more about a new dishwasher?
Thanks,
John'