Skip to main content
curl 'https://api.mails.ai/v1/threads/thrd_01JZX8K3M9Q4P7VN2YB6RTDC0E/notes' \
  -H "Authorization: Bearer $MAILS_API_KEY"
{
  "data": [
    {
      "id": "note_01JZX8K3M9Q4P7VN2YB6RTDC0E",
      "object": "<object>",
      "thread_id": "thrd_01JZX8K3M9Q4P7VN2YB6RTDC0E",
      "body": "<body>",
      "author": {
        "kind": "user",
        "id": "usr_01JZX8K3M9Q4P7VN2YB6RTDC0E",
        "email": "jordan@example.com",
        "name": "<name>"
      },
      "created_at": "2026-10-04T12:00:00.000Z"
    }
  ]
}

List a thread's notes

The notes the team left on the thread, oldest first, all at once.
GET/v1/threads/{id}/notesscope · read
curl 'https://api.mails.ai/v1/threads/thrd_01JZX8K3M9Q4P7VN2YB6RTDC0E/notes' \
  -H "Authorization: Bearer $MAILS_API_KEY"
{
  "data": [
    {
      "id": "note_01JZX8K3M9Q4P7VN2YB6RTDC0E",
      "object": "<object>",
      "thread_id": "thrd_01JZX8K3M9Q4P7VN2YB6RTDC0E",
      "body": "<body>",
      "author": {
        "kind": "user",
        "id": "usr_01JZX8K3M9Q4P7VN2YB6RTDC0E",
        "email": "jordan@example.com",
        "name": "<name>"
      },
      "created_at": "2026-10-04T12:00:00.000Z"
    }
  ]
}

Path Parameters

idstringrequired

Thread id (thrd_…).

Notes stay in mails.ai: none is ever sent, quoted in a reply or forward, or carried by an event.

Response

dataobject[]

Every note on the thread, oldest first; a thread holds at most 500.

Show propertiesHide properties
idstring

Note id (note_…).

objectstring

Always note.

thread_idstring

The thread (thrd_…) the note is on.

bodystring

What the note says, as written. Only the workspace sees it: a note is never sent, never quoted in a reply or forward, and never carried by an event or a webhook.

authorobject
Show propertiesHide properties
kindstring

user for a member signed in to the dashboard, key for an API key or an app connected by sign-in.

One of: user, key

idstring | null

The member's user id (usr_…), the API key's id (key_…) or connected app's id. Null for a member whose account has since been erased.

emailstring

The member's email. Only when kind is user and the member's account still exists.

namestring | null

The member's name, null when they have not given one. Only when email is there.

created_atstring

When the note was added (UTC).

Was this page helpful?