Skip to content

create_card

Create a card. Creates a card, complete, in the board’s Backlog column. due_on is optional there, and required before the card moves to Todo or Doing. Steps are created with it, in order. The result carries the card’s number, which together with the board addresses it from now on.

Needs scope Read-only Destructive Idempotent
write No No No
Argument Type Required Description
board_id integer Yes
title string Yes
due_on string No YYYY-MM-DD
description string No Rich text; plain text or HTML
pinned boolean No Pinned to the top of its lane
steps string[] No Checklist steps, in order
  • POST /boards/{board_id}/cards.json

The result is the API’s JSON answer as text, or Done. for an answer with no body. A refusal is a tool error carrying the error envelope and the HTTP status.

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"board_id": {
"type": "integer"
},
"title": {
"type": "string"
},
"due_on": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD"
},
"description": {
"type": "string",
"description": "Rich text; plain text or HTML"
},
"pinned": {
"type": "boolean",
"description": "Pinned to the top of its lane"
},
"steps": {
"type": "array",
"items": {
"type": "string"
},
"description": "Checklist steps, in order"
}
},
"required": [
"board_id",
"title"
],
"additionalProperties": false,
"type": "object"
}