Application API (v1): Get a Card
LeanKit's Application API v1 is deprecated. New integration projects should use our v2 API suite found here: https://success.planview.com/Planview_LeanKit/LeanKit_API/01_v2.
This method retrieves a card by its ID.
Get a Card on a Given Board by Card ID
Request URL (GET)
https://{accountname}.leankit.com/kanban/api/board/{boardId}/GetCard/{cardId}
Sample request
https://myaccount.leankit.com/kanban/api/board/256064019/GetCard/256395058
Get a Card by ID Across All Boards
Request URL (GET)
https://{accountname}.leankit.com/kanban/api/v1/card/{cardId}
Sample request
https://myaccount.leankit.com/kanban/api/v1/card/256395058
Response
{ "ReplyData": [ { "SystemType": "Card", "BoardId": 256064019, "BoardTitle": "Sample Board", "LaneId": 256392761, "LaneTitle": "Ready to Start", "Title": "Sample Card 1", "Description": "Updating the card description", "Type": { "Id": 256291536 }, "TypeId": 256291536, "Priority": 2, "PriorityText": "High", "TypeName": "New Feature", "TypeIconPath": null, "TypeColorHex": "#93E0E6", "Size": 4, "Active": false, "Color": "#93E0E6", "Icon": "", "Version": 13, "AssignedUsers": [], "IsBlocked": false, "BlockReason": null, "BlockStateChangeDate": null, "Index": 0, "StartDate": null, "DueDate": null, "ExternalSystemName": null, "ExternalSystemUrl": null, "ExternalCardID": "AZ-1023", "ExternalCardIdPrefix": null, "Tags": "web,ux", "ParentBoardId": 0, "ParentTaskboardId": null, "CountOfOldCards": 0, "CardContexts": [], "LastMove": "10/14/2015 03:51:46 PM", "LastActivity": "10/14/2015 04:46:24 PM", "DateArchived": null, "CommentsCount": 4, "LastComment": "10/14/2015", "AttachmentsCount": 0, "LastAttachment": null, "CreateDate": "10/14/2015", "ActualStartDate": "10/14/2015 7:12:54 PM", "ActualFinishDate": null, "AssignedUserName": "", "AssignedUserId": 0, "AssignedUserIds": [], "GravatarLink": "", "SmallGravatarLink": "", "IsOlderThanXDays": false, "Id": 256395058, "DrillThroughBoardId": null, "HasDrillThroughBoard": false, "DrillThroughStatistics": null, "DrillThroughCompletionPercent": null, "DrillThroughProgressTotal": null, "DrillThroughProgressComplete": null, "DrillThroughProgressSizeComplete": null, "DrillThroughProgressSizeTotal": null, "ClassOfServiceId": 0, "ClassOfServiceTitle": null, "ClassOfServiceIconPath": null, "ClassOfServiceColorHex": null, "ClassOfServiceCustomIconName": null, "ClassOfServiceCustomIconColor": null, "CardTypeIconColor": null, "CardTypeIconName": null, "CurrentTaskBoardId": null, "TaskBoardCompletionPercent": 0, "TaskBoardCompletedCardCount": 0, "TaskBoardCompletedCardSize": 0, "TaskBoardTotalCards": 0, "TaskBoardTotalSize": 0, "CurrentContext": null, "ParentCardId": null } ], "ReplyCode": 200, "ReplyText": "Card successfully retrieved." }