List Ticket Subjects
Returns all valid subjects for creating support tickets in WispHub, grouped by priority level. Ideal for bots or external interfaces that need to present the user with a list of options before opening a support request.Endpoint
This endpoint requires JWT authentication. Include the
Authorization: Bearer <token> header.Request
No parameters or request body required.Headers
| Header | Value | Required |
|---|---|---|
Authorization | Bearer <access_token> | ✅ Yes |
Response
200 OK
The subject strings are in Spanish because they map directly to WispHub Net ticket categories. They must be passed as-is when creating a ticket.
Response Fields
Subjects grouped by priority level. Useful for building categorized dropdown menus.
Flat list of all valid subjects regardless of priority. Useful for validation or search.
Priority Reference Table
| Priority Level | Value | Description |
|---|---|---|
low | 1 | Administrative requests, no technical urgency |
normal | 2 | Service degradation (slowness, intermittent connectivity) |
high | 3 | Complete service loss or damaged equipment |
very_high | 4 | Trunk infrastructure or fiber optic failure |
Code Examples
Error Responses
401 Unauthorized — Missing or Invalid Token
Use Case: Bot Integration
This endpoint is especially useful for WhatsApp bots or self-service interfaces:- When starting a support flow, call
GET /api/v1/tickets/subjectsto fetch the up-to-date list. - Present the options to the user grouped by urgency or as a flat list.
- When creating the ticket, pass the selected subject to
POST /api/v1/tickets. WispHub will automatically assign the priority based on the subject.
