Docs

Confused by something? Shoot us an email and we'll get back to you as soon as possible to help clarify things.

Classify a single text message [GET]

Request

Make a GET Request to the following URL. Text and Token parameters are required

https://www.emoj.ai/api/classify?text=[YOUR_TEXT]&token=[YOUR_TOKEN]

Response

This is what an example response looks like. Emotion is the emotion with the most confident classification. The full emotion confidence rankings are indicated in the fullScores array.

{
emotion: "stress",
fullScores: [
{
label: "stress",
value: 1
},
{
label: "anger",
value: 0.7499999999999999
},
{
label: "fear",
value: 0.5000000000000003
},
{
label: "joy",
value: 0.5000000000000002
},
{
label: "sadness",
value: 0.5000000000000001
},
{
label: "anxious",
value: 0.25
},
{
label: "disgust",
value: 0.25
},
{
label: "tired",
value: 0.24999999999999994
}
]
}



Classify multiple text messages [GET]

Coming Soon!

Classify voice [POST]

Coming Soon!

Facial recognition & emotion detection [POST]

Coming Soon!