> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.todoist.core.GetLabel

- Component: `appmixer.todoist.core.GetLabel`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.todoist 1.1.3](https://connectors.appmixer.com/connector/appmixer.todoist/1.1.3.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.todoist/1.1.3/component/appmixer.todoist.core.GetLabel>

Get a label by ID.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Label ID (`labelId`) | text | The ID of the label to retrieve. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| ID (`id`) | string | - |
| Name (`name`) | string | - |
| Color (`color`) | string | - |
| Order (`order`) | integer | - |
| Is Favorite (`is_favorite`) | boolean | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.todoist.core.GetLabel",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Get a label by ID.",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:todoist"
  },
  "quota": {
    "manager": "appmixer:todoist",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "labelId": {
            "type": "string"
          }
        },
        "required": [
          "labelId"
        ]
      },
      "inspector": {
        "inputs": {
          "labelId": {
            "type": "text",
            "label": "Label ID",
            "tooltip": "The ID of the label to retrieve.",
            "index": 1
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "title": "ID"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "color": {
            "type": "string",
            "title": "Color"
          },
          "order": {
            "type": "integer",
            "title": "Order"
          },
          "is_favorite": {
            "type": "boolean",
            "title": "Is Favorite"
          }
        },
        "example": {
          "id": "2182738508",
          "name": "Work",
          "color": "blue",
          "order": 1,
          "is_favorite": true
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
