User APIs/Support Tickets
Create Ticket
POST
/user/ticketsBearer token required
ADMIN | USERContent-Type:
application/jsonRequest Example
JSON
{
"subject": "GPS device not working",
"message": "My vehicle tracker has been offline for 3 days.",
"category": "TECHNICAL",
"priority": "HIGH"
}Code Examples
curl -X POST 'https://<your-domain>:3001/user/tickets' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"subject": "GPS device not working",
"message": "My vehicle tracker has been offline for 3 days.",
"category": "TECHNICAL",
"priority": "HIGH"
}'