Planka icon

Planka

Interact with Planka API 2.0

Label → Add to Card

AI-generated

Summary

Add a label to a specified card by providing the card's ID and the label's ID.

Inputs

  • Card ID (required) — The unique identifier of the card to which the label will be added.
  • Label ID (required) — The unique identifier of the label to add to the card.

Output shape

a single JSON object representing the added card-label relationship

The operation returns the JSON response from the Planka API confirming the label addition to the specified card. If an error occurs, it will throw an exception.

Examples

Example 1: Add a label to a card

Set the 'Card ID' to the target card's ID and 'Label ID' to the label to apply.

Links

Discussion