Base URL

<https://cliniqueue-api-production.up.railway.app>

Authentication

API key authentication is included on all paid plans. Include your API key in the request header:

X-API-Key: your_api_key_here

Endpoints

POST /classify

Classifies a healthcare support ticket into one of 8 clinical categories with PHI risk detection and escalation flags.

Ticket text is processed and immediately discarded. Nothing is stored. Ever.

Request

{
  "ticket_text": "Your support ticket text here"
}

Response

{
  "category": "clinical_urgency",
  "priority": "critical",
  "phi_risk": false,
  "escalate_immediately": true,
  "compliance_flag": false,
  "assigned_team": "clinical_operations",
  "reasoning": "Physician is actively blocked from accessing patient records with a patient present in the exam room, preventing immediate clinical care."
}

Response Fields

Field Type Description
category string One of 8 clinical categories (see below)
priority string critical, high, medium, or low
phi_risk boolean Whether the ticket itself contains PHI
escalate_immediately boolean True/false trigger for PagerDuty, Slack, or on-call alerts
compliance_flag boolean Whether this is a potential breach, audit request, or regulatory issue
assigned_team string Which team should handle this ticket
reasoning string Plain-English explanation of the classification

The 8 Clinical Categories

Category Description Typical Priority
clinical_urgency Patient or provider blocked from active care Critical
phi_exposure Patient data may have reached the wrong person Critical
ehr_integration HL7/FHIR feeds broken, Epic sync stopped High
billing_claims ERA files, claims posting, insurance rejections High
access_login Provider locked out, SSO broken, new staff Medium
compliance_request Audit logs, HIPAA exports, documentation Medium
regulatory_deadline CMS reporting or accreditation deadline Medium
training_onboarding Feature questions, new staff walkthroughs Low