Help & Support
Follow

Application API (v1): Add a Card Comment

This method adds a comment to the given Card ID. The ReplyData will contain the Board Version number after the comment is added.

Add a Comment Using Card ID

Request URL (POST):

https://{accountname}.leankit.com/kanban/api/card/SaveComment/{boardId}/{cardId}

Sample request:

https://myaccount.leankit.com/kanban/api/card/SaveComment/256064019/256395058
{
  "Text": "First comment for this card."
}

Sample response:

{
  "ReplyData": [ 12 ],
  "ReplyCode": 202,
  "ReplyText": "Comment was saved successfully ."
}

Add a Comment Using External ID

Request URL (POST):

https://{accountname}.leankit.com/kanban/api/card/SaveCommentByExternalId/{boardId}/{externalCardId}

 

Sample request:

https://myaccount.leankit.com/kanban/api/card/SaveCommentByExternalId/256064019/AZ-1023
{
  "Text": "Comment for this card using the External Card ID."
}

 

 

 

 

 

 

Doc ID: 1191983333

Have more questions? Submit a request