cURL
Category & FAQ
Categorize Grievance
Categorize a grievance text
POST
cURL
Analyzes and categorizes grievance text to determine the appropriate category. This endpoint uses natural language processing to classify the grievance text and extract structured information.
Request
The request requires a text field containing the grievance content to be categorized.Response
The response includes:status: Operation statuscategory: The classified category of the grievanceconfidence: A confidence score (0-1) indicating the reliability of the classificationformatted_fields: Structured information extracted from the grievance text, which may include entities, key phrases, and other relevant data points
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Grievance text to categorize
The grievance text to be categorized