Change or pin a note
PATCH
sessioncookie
better-auth.session_token<token>Set by POST /api/auth/sign-in/email.
ws*stringThe workspace id (from GET /api/me).
id*stringThe id of what the path names: a hire, a connection, a skill, a shared file, a department, a position, a goal or an approval.
nid*stringThe note's id.
application/json- body
text?stringLength
1 <= length <= 2000pinned?booleanThe note.
application/jsoncurl -X PATCH 'https://app.useroster.work/api/workspaces/string/hires/string/notes/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "5a6b7c8d-1e2f-4a3b-8c9d-0e1f2a3b4c5d", "text": "Release notes go in #releases, never in #general.", "pinned": false, "createdAt": "2026-11-03T09:00:00.000Z"}