powered by
Add a new label
add_label( name, color = NULL, is_favorite = FALSE, verbose = TRUE, token = get_todoist_api_token() )
id of the new label
name of the label
color of the label
boolean to mark as favorite
boolean that make the function verbose
todoist API token
if (FALSE) { add_label("urgent") add_label("work", color = "red") }
Run the code above in your browser using DataLab