Help & Support
Follow

Application API (v1): Move a Task Card

This method moves a Task Card to a given Lane on the Taskboard. The required {laneId} can be determined using Get Taskboard. An optional position {index} can be used to place the Task Card at the top of the Lane (0), bottom of the Lane (999), or a specific position among the list of Task Cards in the given Lane.

Request URL (POST):

https://{accountname}.leankit.com/kanban/api/v1/board/{boardId}/move/card/{cardId}/tasks/{taskId}/lane/{laneId}

Request with optional position:

https://{accountname}.leankit.com/kanban/api/v1/board/{boardId}/move/card/{cardId}/tasks/{taskId}/lane/{laneId}/position/{index}

Sample request:

https://myaccount.leankit.com/kanban/api/v1/board/256064019/move/card/256501042/tasks/256509000/lane/256485508

Sample response:

{
  "ReplyData": [
    {
      "BoardVersion": 42,
      "DestinationLane": null,
      "CardTypeId": 256291537,
      "MainBoardVersion": 0,
      "PositionIndex": 1,
      "ParentCardId": 0
    }
  ],
  "ReplyCode": 202,
  "ReplyText": "The Task was moved successfully."
}

 

 

 

 

 

Doc ID: 1191983330

Have more questions? Submit a request