curl --request POST \
--url https://app.getaptly.com/api/card/{cardId}/comment \
--header 'Content-Type: application/json' \
--header 'x-token: <x-token>' \
--data '
{
"content": "This is a new comment"
}
'{
"id": "8AA39yrMPHFzWH2YS",
"userId": "JShpBxEFgRnZnivTf",
"content": "Test comment",
"seenByUsers": [
"JShpBxEFgRnZnivTf"
],
"userName": "Alan Runyan",
"createdAt": "2022-06-06T20:57:35.665Z"
}Post a comment onto a card instance.
curl --request POST \
--url https://app.getaptly.com/api/card/{cardId}/comment \
--header 'Content-Type: application/json' \
--header 'x-token: <x-token>' \
--data '
{
"content": "This is a new comment"
}
'{
"id": "8AA39yrMPHFzWH2YS",
"userId": "JShpBxEFgRnZnivTf",
"content": "Test comment",
"seenByUsers": [
"JShpBxEFgRnZnivTf"
],
"userName": "Alan Runyan",
"createdAt": "2022-06-06T20:57:35.665Z"
}Your Aptly API Token. Available in the Aptly UI under Card Sources > API.
The unique ID of the card.