Confused by something? Shoot us an email and we'll get back to you as soon as possible to help clarify things.
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]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 } ]}