Pin or unpin a note
Flips a note between pinned and unpinned. Any member of the team can pin or unpin any of the team’s notes, not only the author.
Pinning sets is_pinned to true and records pinned_at and pinned_by (the user_id you send). Unpinning sets is_pinned to false and removes both fields. Pinned notes sort first in List notes, most recently pinned first.
Not idempotent: each call flips the state, so a retried request can undo the first. To reach a specific state, read is_pinned from List notes and call this only when it differs. Succeeds with 201.
Path parameters
- id (required, string): The note’s
_id, a 24-character hex string, from List notes.
Request body
Example request
Response (201)
Returns the updated note object with its newis_pinned, pinned_at and pinned_by.
Errors
Authorizations
Team-scoped API key generated in the Salesfinity dashboard under Settings → Connections → API & Webhooks. A missing or invalid key returns HTTP 403.
Path Parameters
The note's _id, as returned by List notes or Create a note. A 24-character hex string.
"6703f1c2a9e4b8d1c2f3a4b5"
Body
ID of the member pinning or unpinning, a 24-character hex string. Any member of the team may; recorded as pinned_by when the note becomes pinned.
"507f1f77bcf86cd799439044"
Response
The note with its new pin state.
Note ID.
"6703f1c2a9e4b8d1c2f3a4b5"
Team that owns the note.
"507f1f77bcf86cd799439012"
The author, with first_name, last_name, email and image when Salesfinity has them. null if the author's user record no longer exists.
Plain text of the note.
Whether the note is pinned. false for a new note.
When the note was pinned. Absent when the note is not pinned.
ID of the member who pinned the note. Absent when the note is not pinned.
ID of the contact the note is attached to. Present on person notes only.
ID of the company the note is attached to. Present on company notes only.
When the note was created.
When the note was last changed, including pin changes.