v1

latestOpenAPI 3.0.32026-07-1382010.9 KB
Text Analysis

Emotion Analysis

Detect the emotions of the text.

Supported Langauges: [en, de, es]

Returned labels:

  • anger
  • joy
  • love
  • sadness
  • surprise
  • uncategorized
post/emotion

Query parameters

allboolean

Request body

idstring

id of the post.

textstring required

the text to be analysed.

languagestring required

language_code of the text.

Example request

[
  {
    "id": "1",
    "text": "I love the service",
    "language": "en"
  }
]

Response

Successful Response

idstring

id of the post.