Skip to main content

List all notes

Returns a list of your notes. The notes are returned sorted by creation date, with the most recently created conversations appearing first.

Parameters

No parameters.

Returns

Return a paginated response that contains an array of up to the specified limit of notes.

get
/api/conversations/{id}/notes
curl https://{workspace}.kitchen.co/api/conversations/{id}/notes \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"data": [
{
"author": "u_c01bb6102b6ddadd4b1f020e",
"content": "The note content",
"conversation": "convr_1lbg89ha9ttb5dmxuldku3nx",
"created_at": "2024-01-23T23:09:00+00:00",
"format": "text",
"id": "msg_3447589816730d8ba4e50528",
"updated_at": "2024-01-23T23:09:00+00:00"
}
],
"links": {
"first": "/api/conversations/{id}/notes?page=1",
"last": "/api/conversations/{id}/notes?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/api/conversations/{id}/notes?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/api/conversations/{id}/notes",
"per_page": 20,
"to": 1,
"total": 1
}
}