π Ticket APIs
The Ticket APIs section includes endpoints for creating, retrieving, and managing support tickets. Users can open new tickets, reply to existing tickets, and update ticket replies through these endpoints. This section helps in maintaining efficient communication and issue resolution between users and support teams. The JWT token and API key must be included in the headers of these requests to ensure proper authorization.
Get All Tickets
Endpoint:
GET /api/ticketHeaders:
Authorization: Bearer your_jwt_token_here apikey: your_api_key_here Content-Type: application/jsonResponse:
{ "data": [ ... ] }
Store Ticket
Endpoint:
POST /api/ticket-storeHeaders:
Authorization: Bearer your_jwt_token_here apikey: your_api_key_here Content-Type: application/jsonRequest Body:
{ "subject": "Ticket Subject", ... }Response:
{ "message": "Ticket created successfully", "data": { ... } }
Reply to Ticket
Endpoint:
POST /api/ticket-replyHeaders:
Request Body:
Response:
Edit Ticket Reply
Endpoint:
GET /api/ticket-reply-edit/{id}Headers:
Response:
Update Ticket Reply
Endpoint:
POST /api/ticket-reply-update/{id}Headers:
Request Body:
Response:
Last updated