Category & FAQ
Categorize Grievance
Categorize a grievance text
POST
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
This endpoint is useful for automatically categorizing new grievances or re-categorizing existing ones to ensure proper routing and handling.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Grievance text to categorize
The body is of type object
.
Response
200
application/json
Categorization result
The response is of type object
.