What changed
A note is now always attached to at least one CRM record. Two things follow from that:recordsis required on create.POST /api/v2/notesmust include a non-emptyrecordsarray — one or more ofcontacts,companies, ordeals. A request with an empty or missingrecordsarray is rejected with422.parent_idis no longer accepted on create. Notes are sub-records of CRM records now, not of other notes. Sendingparent_idin a create body has no effect — it is not a recognized field.
POST /api/v2/notes and POST /api/v2/notes/batch. It does not change PATCH /api/v2/notes/{id} (still optional title / parent_id / is_archived) or any other notes endpoint.
Migrating a create call
Before:records needs a record_type (contacts, companies, or deals) and the record_id of an existing record in your organization. You can attach more than one record at create time by adding more entries to the array. A record_id that doesn’t exist, or belongs to another organization, returns 404.
Managing links after create
Once a note exists, use the/api/v2/notes/{id}/records relationship to attach or remove records:
POST /api/v2/notes/{id}/recordslinks another record to the note.DELETE /api/v2/notes/{id}/records/{record_id}unlinks one.
422 — attach a replacement record first, or archive the note instead (PATCH /api/v2/notes/{id} with is_archived: true).
Related topics
- How do I migrate from API v1? — the broader v1 → v2 migration guide.
- Why is my API request failing? — the
422error envelope and how to read validation failures.