Skip to main content
POST
/
cards
Create a card
curl --request POST \
  --url https://kan.bn/api/v1/cards \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "listPublicId": "<string>",
  "labelPublicIds": [
    "<string>"
  ],
  "memberPublicIds": [
    "<string>"
  ],
  "position": "start"
}
'
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
title
string
required
Minimum string length: 1
description
string
required
Maximum string length: 10000
listPublicId
string
required
Minimum string length: 12
labelPublicIds
string[]
required
Minimum string length: 12
memberPublicIds
string[]
required
Minimum string length: 12
position
enum<string>
required
Available options:
start,
end

Response

Successful response