Help & Support
Follow

Application API (v1): Move a Card to Another Board

In order to move a card from one board to another using the LeanKit Kanban API, you need to know:

  1. The Card Id
  2. The destination Board Id

Request URL (POST):

https://{accountname}.leankit.com/kanban/api/card/movecardtoanotherboard/{cardId}/{destinationBoardId}

Sample URL:

https://myaccount.leankit.com/kanban/api/card/movecardtoanotherboard/100015/80025

Example response for a successful card move.

{
  "ReplyCode":202,
  "ReplyData":[{
    "BoardVersion":5,
    "DestinationLaneName":"To Do",
    "DestinationLaneId":73458,
    "SourceBoardId":80014,
    "DestinationBoardId":80025
  }],
  "ReplyText":"Card moved to Lane 'To Do' on destination board."
}

Example response if moving the card would cause the WIP limit for the destination lane to be exceeded:

{
  "ReplyCode":503,
  "ReplyData":null,
  "ReplyText":"The Card can not be moved because it would violate the WIP (Work in Process) limit of Lane 'To Do'"
}

 

 

 

 

 

 

Doc ID: 1191983324

Have more questions? Submit a request