Ticket Status List
Endpoint: GET /api/v6.1/ticket/status
Description: This API is used to retrieve a list of statuses in the ticket management system. These statuses can be used to categorize, track progress, or respond to individual tickets.
Request
Method: GET
Headers:
X-API-KEY: <your-api-key>
Response
Status: 200 OK
Sample Content:
{
"data": [
{
"id": 1,
"status_name": "Status A"
},
{
"id": 2,
"status_name": "Status B"
},
{
"id": 3,
"status_name": "Status C"
},
{
"id": 4,
"status_name": "Status D"
}
],
"offset": 0,
"limited": false
}
Notes
- No query parameters required.
- The
status_name
field represents the status name. - Can be used for display or selection in ticket creation/update forms.
cURL Example
curl --location 'https://<your-domain>/api/v6.1/ticket/status' \
--header 'X-API-KEY: <your-api-key>' \
--header 'Cookie: <your-session-cookie>'
Error Handling
Error Code | Description |
---|---|
401 | Unauthorized – Invalid API key or session |
403 | Access Denied |
500 | Internal System Error |