This is the API endpoint for managing tickets. Below are the details and usage instructions for the /en/api/tickets
path.
Features
- Create a Ticket: Submit a new ticket with all required details.
- View Tickets: Retrieve a list of all tickets or a specific ticket by ID.
- Update Tickets: Modify the status or details of an existing ticket.
- Delete Tickets: Remove a ticket from the system.
Usage
To use this API, you will need an API key. You can obtain one from your account settings.
Create a Ticket
POST /en/api/tickets
Authorization: Bearer <your_api_key>
Content-Type: application/json
{
"title": "Ticket Title",
"description": "Ticket Description",
"priority": "Low",
"status": "Open"
}
View Tickets
GET /en/api/tickets
Authorization: Bearer <your_api_key>
Update Tickets
PUT /en/api/tickets/<ticket_id>
Authorization: Bearer <your_api_key>
Content-Type: application/json
{
"status": "Closed"
}
Delete Tickets
DELETE /en/api/tickets/<ticket_id>
Authorization: Bearer <your_api_key>
Related Resources
For more information on managing tickets, visit our Ticket Management Guide.