List Ticket Labels

GET/api/ticket_labels

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area
curl -X GET "https://yoursite.com/api/ticket_labels" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

[
    {
        "id": "12",
        "title": "label 4",
        "color": "#e74c3c",
        "context": "ticket",
        "user_id": "0",
        "deleted": "0"
    },
    {
        "id": "11",
        "title": "label 4",
        "color": "#f1c40f",
        "context": "ticket",
        "user_id": "0",
        "deleted": "0"
    },
    {
        "id": "10",
        "title": "label 3",
        "color": "#29c2c2",
        "context": "ticket",
        "user_id": "0",
        "deleted": "0"
    },
    {
        "id": "9",
        "title": "label 2",
        "color": "#ad159e",
        "context": "ticket",
        "user_id": "0",
        "deleted": "0"
    }
]
MethodGET
Path/api/ticket_labels
GroupMiscellaneous
Sincev1.0.0
Defined inRestApi/Controllers/UtilitiesController.php