Getting the list of task tags through API: get_task_tags
Sample get_task_tags request
Optional parameters:
?action=get_task_tags
Returns task tags of all or selected groupOptional parameters:
- group — tags of a particular group
You can specify group name or group ID (can be obtained through the same method from the returned group dataset or through get_task_tag_groups method) - type — groups only of particular type, possible values: status, label
- access — groups only with a particular visibility, possible values:
public — available to all teams (including external client teams)
statuses are always visible and have public value
statuses are always visible and have public value
private — available only for your company teams
Returned data:
- id — tag ID
- title — tag name
- group — tag group dataset
Sample JSON response
If the request succeeds, the response will contain ok status and the following data:
{
"status": "ok",
"data": [
{
"title": "LABEL_NAME",
"id": "LABEL_ID",
"group": {
"title": "GROUP_NAME",
"id": GROUP_ID,
"type": "label",
"access": "public"
}
},
{
"title": "STATUS_NAME",
"id": "STATUS_ID",
"group": {
"title": "GROUP_NAME",
"id": GROUP_ID,
"type": "status",
"access": "public"
}
}
]
}
Was this article helpful?
Yes, thank you!
No