Skip to main content
POST
/
public
/
v1
/
sentiment
cURL
curl --request POST \
  --url https://api.hobbo.ai/public/v1/sentiment \
  --header 'Content-Type: application/json' \
  --data '{
  "sentence": "<string>"
}'
{
  "status": 200,
  "data": {},
  "success": true,
  "message": "<string>"
}

Body

application/json

Sentiment analysis parameters

sentence
string
required

The text to analyze for sentiment

Response

Sentiment analyzed successfully

status
integer

HTTP status code

sentiment
number

Sentiment score (1: positive, 2: neutral, 3: negative)

success
boolean

Indicates if the operation was successful

message
string

Response message