Labels

Label JSON Objects

The official API documentation shows us the outline of a complete comment:

{
    "id": 2156154810,
    "name": "Food",
    "color": 47,
    "order": 1,
    "favorite": false
}

Working Locally

Create labels locally

import { Label } from "todoist-rest-client";
let myLabel = Label({ name: "Label"});

Last updated