Pin notes
New: pin and unpin notes
In Coperniq, a pinned note stays at the top of a record’s notes. You can now pin and unpin notes through the API too.
Pin or unpin an existing note with isPinned on PATCH /notes/{note_id}:
truepins the note andfalseunpins it. Pinning a note that is already pinned does nothing and returns200.bodyis now optional on this endpoint. Sendbody,isPinned, or both. A request with neither returns400.- Pinning and unpinning only need access to view the note. Editing the text still requires you to be its author.
To pin a note as you create it, send "isPinned": true on any note create endpoint, for example POST /projects/{project_id}/notes. It defaults to false.
Updated: note responses return isPinned and pinnedAt
Every note response now includes:
isPinned: whether the note is pinned.pinnedAt: when it was pinned, ornullif it isn’t.
This covers the note lists (project, opportunity, account, work order and file notes) and the responses from creating and updating a note.
Lists stay newest-first, so pinning does not reorder them or shift pages. To show pinned notes on top, sort by isPinned and then pinnedAt in your app.
