Notes
Markdown notes that can be attached to deals, contacts, companies, deliverables, and tasks. Notes support @-mentions in the app UI.
Required scopes:notes:readnotes:write
All endpoints require authentication with an API key via Authorization: Bearer anch_... — see Authentication. A :write scope implicitly includes its :read scope.
Quick example
curl "https://your-domain.com/api/notes?dealId=dl_123" \
-H "Authorization: Bearer anch_your_api_key"Endpoints
GET
/api/notesPOST
/api/notesGET
/api/notes/{id}PATCH
/api/notes/{id}DELETE
/api/notes/{id}GET/api/notes
Query parameters
| Field | Type | Description |
|---|---|---|
search | string | Full-text search across note bodies |
dealId | string | Filter to notes on a specific deal |
contactId | string | Filter to notes on a specific contact |
companyId | string | Filter to notes on a specific company |
deliverableId | string | Filter to notes on a specific deliverable |
taskId | string | Filter to notes on a specific task |
sortOrder | string | asc or desc by createdAt (default: desc) |
limit | integer | Page size (default: 50) |
offset | integer | Pagination offset (default: 0) |
Response (200)
{
"data": [ { "id": "nt_...", "bodyMd": "Call recap: ...", ... } ],
"meta": { "total": 33, "limit": 50, "offset": 0 }
}POST/api/notes
Body fields
| Field | Type | Description |
|---|---|---|
bodyMdrequired | string | Note body in Markdown |
dealId | string | Attach to a deal |
contactId | string | Attach to a contact |
companyId | string | Attach to a company |
deliverableId | string | Attach to a deliverable |
taskId | string | Attach to a task |
Response (201)
{ "id": "nt_V1StGXR8Z5jdHi6B" }GET/api/notes/{id}
Response (200)
{
"data": {
"id": "nt_V1StGXR8Z5jdHi6B",
"organizationId": "org_4f90...",
"bodyMd": "Call recap: agreed on Q3 rollout.",
"dealId": "dl_...",
"contactId": null,
"createdByUserId": "usr_...",
"mentionedUserIds": "[]",
"createdAt": 1736899200000
}
}PATCH/api/notes/{id}
PUT is also accepted. All fields are optional; only provided fields are updated.
Body fields
| Field | Type | Description |
|---|---|---|
bodyMd | string | Note body in Markdown |
dealId | string | Attach to a deal |
contactId | string | Attach to a contact |
companyId | string | Attach to a company |
deliverableId | string | Attach to a deliverable |
taskId | string | Attach to a task |
Response (200)
{ "ok": true }DELETE/api/notes/{id}
Unlike most resources, notes are permanently deleted (hard delete).
Response (200)
{ "ok": true }Notes
- mentionedUserIds is returned as a JSON-encoded string array.
- Note deletion is permanent — there is no soft-delete recovery window for notes.