List notes in a mailbox thread
Returns the internal notes on a thread with their bodies, oldest first. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.
GET
Returns the internal notes on a thread with their bodies, oldest first. Pass nextCursor back as cursor for the next page; it is null on the last page.
apiKeyheader
x-api-key<token>id*stringMatch
^mbx_[0-9a-hjkmnp-tv-z]{16,24}$threadId*stringMatch
^thread_[0-9a-hjkmnp-tv-z]{16,24}$limit?|nullcursor?stringMailboxNotePage
application/json- response
items*array<>nextCursor*string|nullimport { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.mailboxes.listThreadNotes({
"id": "example",
"threadId": "example"
});Example Response
{
"items": [
{
"id": "string",
"author": {
"kind": "user",
"id": "string",
"displayName": "string"
},
"body": "string",
"color": "string",
"pinned": true,
"createdAt": "string",
"updatedAt": "string"
}
],
"nextCursor": "string"
}