Skip to Content
Wagoo SaaS 1.0.25 is released 🎉
04 API ReferenceTicketsAPI Tickets

API Tickets

Gérez les tickets de support.

Lister mes tickets

GET /api/tickets Authorization: Bearer TOKEN

Réponse (200)

{ "data": [ { "id": "ticket_123", "title": "Problème avec mon projet", "description": "Impossible de créer un article", "priority": "HIGH", "status": "OPEN", "author": { "id": "user_123", "email": "..." }, "assignedTo": null, "createdAt": "2024-01-15T10:30:00Z" } ] }

Créer un ticket

POST /api/tickets Content-Type: application/json

RequĂŞte

{ "title": "Impossible de créer un article", "description": "Détails du problème...", "priority": "HIGH", "projectId": "proj_123" }

Réponse (201)

{ "data": { ... } }

Obtenir un ticket

GET /api/tickets/{ticketId} Authorization: Bearer TOKEN

Modifier un ticket

PUT /api/tickets/{ticketId} Authorization: Bearer TOKEN Content-Type: application/json

RequĂŞte

{ "title": "Nouveau titre", "priority": "MEDIUM", "status": "IN_PROGRESS" }

Ajouter un message

POST /api/tickets/{ticketId}/messages Authorization: Bearer TOKEN Content-Type: application/json

RequĂŞte

{ "content": "Nous avons trouvé le problème...", "isPublic": true }

Voir les messages

GET /api/tickets/{ticketId}/messages Authorization: Bearer TOKEN

Voir Système de tickets.

Last updated on