Text Emotion API

This end-point allows a user to edit the existing text and reprocess it to generate emotion insights.

put/v1/texts/{text_id}/emotions

Request

  • Base URL
    https://api.imentiv.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

text_idstring required

The unique text ID of the text.

Request body application/x-www-form-urlencoded

callback_urlstring nullable

Optional URL to receive a webhook notification when analysis is complete. Example: 'https://example.com/callback'. Must be an https URL on a publicly reachable host.

textstring required

The updated text to be analyzed for emotions.

Response

Successful Response

idstring required
statusstring required
messagestring required

Changes

    • info

      request property list-of-types was widened by adding types null to media type application/x-www-form-urlencoded