List all Labels

GET/api/labels

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
context String optional Optional filter by context (project|invoice|ticket|task|client|lead|event|note|to_do|subscription|...)
curl -X GET "https://yoursite.com/api/labels" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
[
  { "id": "1", "title": "Hourly Project", "color": "#83c340", "context": "project", "user_id": "0", "deleted": "0" }
]
MethodGET
Path/api/labels
GroupLabels
Sincev1.0.0
Defined inRestApi/Controllers/LabelsController.php