{ "opencollection": "1.0.0", "info": { "name": "Todoist Comments Labels API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Labels", "type": "folder" }, "items": [ { "info": { "name": "List Labels", "type": "http" }, "http": { "method": "GET", "url": "https://api.todoist.com/api/v1/labels" }, "docs": "Returns all personal labels for the authenticated user." }, { "info": { "name": "Create Label", "type": "http" }, "http": { "method": "POST", "url": "https://api.todoist.com/api/v1/labels", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new personal label." }, { "info": { "name": "Get Label", "type": "http" }, "http": { "method": "GET", "url": "https://api.todoist.com/api/v1/labels/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Returns a single label by ID." }, { "info": { "name": "Update Label", "type": "http" }, "http": { "method": "POST", "url": "https://api.todoist.com/api/v1/labels/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a label's properties." }, { "info": { "name": "Delete Label", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.todoist.com/api/v1/labels/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Deletes a label permanently." } ] } ], "bundled": true }