Toggle card completion
Toggles the completion status of a card. If the card is currently open, this action will mark it as closed.
Parameters
completed
boolean
required
Whether the card is completed.
Returns
Returns the card object.
get
/api/cards/{id}/completed
curl https://{workspace}.kitchen.co/api/cards/{id}/completed \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"assignee": "u_c3715664badcadf714053dd0",
"author": "u_e2e07ccb713c2afe739a7c04",
"board": "tskb_b208f0bf2d21fa7fd5a0a577",
"completed": 0,
"completed_at": null,
"completer": null,
"created_at": "2024-03-21T07:52:35+00:00",
"description": "The card description",
"due_at": null,
"due_reminder": null,
"due_reminder_sent_at": null,
"id": "tsk_9bbcb52099a37312fbff58c8",
"milestone": "mst_c26f8070cddd1e226f4f79b3",
"remaining_minutes_estimate": null,
"list": "tskl_3a5afbeeb173e27d669942bb",
"start_at": null,
"title": "The card title",
"updated_at": "2024-03-21T07:52:35+00:00"
}