Create Deck card

Add a card to a Deck stack with a title, a markdown description and a due date.

POST https://cotlet.dev/api/v1/nextcloud/boards/{board_id}/deck-cards

write Confirm

Creates one card at the end of a stack. The title can have up to 255 characters, the description is markdown, and the due date is a day. Returns the card ID. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_deck_card
NameTypeDescription
board_id integer required integer Board ID from list_deck_boards.
stack_id integer required integer Stack ID from list_deck_boards.
title string required string Card title, up to 255 characters.
description string string Markdown description.
due_date date date Due day, YYYY-MM-DD.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/nextcloud/boards/7/deck-cards \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"stack_id":21,"title":"Send pricing draft to finance","description":"Owner: Lena\nFrom the product sync on 15 Oct: \"Lena sends the pricing draft to finance by Friday.\"","due_date":"2026-10-23"}'
Python
result = client.call("nextcloud", "create_deck_card", {"board_id":7,"stack_id":21,"title":"Send pricing draft to finance","description":"Owner: Lena\nFrom the product sync on 15 Oct: \"Lena sends the pricing draft to finance by Friday.\"","due_date":"2026-10-23"})
Node.js
const result = await cotlet.call('nextcloud', 'create_deck_card', {"board_id":7,"stack_id":21,"title":"Send pricing draft to finance","description":"Owner: Lena\nFrom the product sync on 15 Oct: \"Lena sends the pricing draft to finance by Friday.\"","due_date":"2026-10-23"});
CLI
cotlet call nextcloud create_deck_card --data '{"board_id":7,"stack_id":21,"title":"Send pricing draft to finance","description":"Owner: Lena\nFrom the product sync on 15 Oct: \"Lena sends the pricing draft to finance by Friday.\"","due_date":"2026-10-23"}'

Example response

JSON

{
  "card_id": 318,
  "board_id": 7,
  "stack_id": 21,
  "title": "Send pricing draft to finance",
  "due_date": "2026-10-23",
  "status": "created"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.