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
| Name | Type | Description |
|---|---|---|
| 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 -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"}' 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"}) 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"}); 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
{
"card_id": 318,
"board_id": 7,
"stack_id": 21,
"title": "Send pricing draft to finance",
"due_date": "2026-10-23",
"status": "created"
}