Admin APIs/Support Tickets
Create Ticket (for User)
POST
/admin/ticketsBearer token required
ADMINContent-Type:
application/jsonRequest Example
JSON
{
"subject": "Device offline issue",
"message": "Vehicle tracker not sending data since 2h.",
"category": "TECHNICAL",
"priority": "HIGH",
"userId": 20
}Code Examples
curl -X POST 'https://<your-domain>:3001/admin/tickets' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"subject": "Device offline issue",
"message": "Vehicle tracker not sending data since 2h.",
"category": "TECHNICAL",
"priority": "HIGH",
"userId": 20
}'