List all comments
Returns a list of your comments. The comments are returned sorted by creation date, with the most recently created comments appearing first.
Parameters
No parameters.
Returns
Return a paginated response that contains an array of up to the specified limit of comments.
get
/api/cards/{id}/comments
curl https://{workspace}.kitchen.co/api/cards/{id}/comments \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"data": [
{
"author": "u_c01bb6102b6ddadd4b1f020e",
"board": "tskb_1lbg89ha9ttb5dmxuldku3nx",
"card": "tsk_1lbg89ha9ttb5dmxuldku3nx",
"content": "The comment content",
"created_at": "2024-01-23T23:09:00+00:00",
"format": "text",
"id": "msg_3447589816730d8ba4e50528",
"send_at": null,
"updated_at": "2024-01-23T23:09:00+00:00"
}
],
"links": {
"first": "/api/cards/{id}/comments?page=1",
"last": "/api/cards/{id}/comments?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/api/cards/{id}/comments?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/api/cards/{id}/comments",
"per_page": 20,
"to": 1,
"total": 1
}
}