Tags Methods
| Method Name | Method Type | Description |
|---|---|---|
create_or_get_tag(tag_name, board_id) |
Setter | Creates a new tag or retrieves an existing one. |
Method Details
create_or_get_tag()
create_or_get_tag(tag_name, board_id)
Description: Creates a new tag or retrieves an existing one by name. Optionally associates the tag with a specific board.
Arguments:
- tag_name (str): The name of the tag to be created or retrieved.
- board_id (int): (Optional) The ID of the board to associate the tag with.
Returns:
UUID of the created or retrieved tag. Returns None or an error message if the request fails.
Example:
tag_id = monday.tags.create_or_get_tag(tag_name="Urgent", board_id=123456789)