cURL
curl --request POST \ --url https://core-api.getaptly.com/api/board/{boardId}/{cardId}/comment \ --header 'Content-Type: application/json' \ --header 'x-token: <api-key>' \ --data ' { "userId": "<string>", "content": "<string>", "id": "<string>" } '
{ "data": { "id": "<string>", "userId": "<string>", "content": "<string>", "createdAt": "2023-11-07T05:31:56Z" } }
Adds a new comment to a card. To update an existing comment, include its id in the body — the userId must match the original comment’s author.
id
userId
Aptly user ID of the comment author.
Comment text.
Existing comment ID — include to update rather than create.
Comment created or updated.
Show child attributes