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"
}
]