• FAQ
  • API
  • Tags
  • Creating task tags through API: add_task_tags

Creating task tags through API: add_task_tags


Sample add_task_tags request

?action=add_task_tags&title=LABEL_NAME_1,LABEL_NAME_2&group=GROUP_ID
Creates task tags in selected group
*if there are no tags with the same name

Required parameters:
  • group — group, where tags will be created
    You can specify group name or group ID (can be obtained through get_task_tag_groups method)
    • title — tag names separated by commas

Sample JSON response
If the request succeeds, the response will contain ok status and the following data:

{
    "status": "ok",
    "data": [
        {
            "title": "LABEL_NAME_1",
            "id": LABEL_ID
        },
        {
            "title": "LABEL_NAME_2",
            "id": LABEL_ID
        }
    ]
}