{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/engagement-notes-note-search-response-structure.json", "name": "NoteSearchResponse", "description": "Search results for notes", "type": "object", "properties": { "total": { "type": "int32", "description": "Total number of matching notes", "example": 42 }, "results": { "type": "array", "description": "The matching notes", "items": { "type": "object", "description": "Represents a note engagement in the CRM", "required": [ "id", "properties", "createdAt", "updatedAt", "archived" ], "properties": { "id": { "type": "string", "description": "The unique identifier for the note", "example": "1024" }, "properties": { "type": "object", "description": "The note properties", "additionalProperties": { "type": "string" }, "example": { "hs_note_body": "Met with client to discuss Q1 goals. They are interested in expanding their subscription.", "hs_timestamp": "2024-01-15T10:30:00.000Z", "hubspot_owner_id": "12345" } }, "propertiesWithHistory": { "type": "object", "description": "Properties with their change history", "additionalProperties": { "type": "array", "items": { "$ref": "#/components/schemas/PropertyHistory" } }, "example": { "key": "value" } }, "createdAt": { "type": "datetime", "description": "When the note was created", "example": "2024-01-15T10:30:00.000Z" }, "updatedAt": { "type": "datetime", "description": "When the note was last updated", "example": "2024-01-15T11:00:00.000Z" }, "archived": { "type": "boolean", "description": "Whether the note is archived", "example": false }, "archivedAt": { "type": "datetime", "description": "When the note was archived (if archived)", "example": "2025-03-15T14:30:00Z" } } }, "example": [ { "id": "1024", "properties": { "hs_note_body": "Met with client to discuss Q1 goals. They are interested in expanding their subscription.", "hs_timestamp": "2024-01-15T10:30:00.000Z", "hubspot_owner_id": "12345" }, "propertiesWithHistory": { "key": "value" }, "createdAt": "2024-01-15T10:30:00.000Z", "updatedAt": "2024-01-15T11:00:00.000Z", "archived": false, "archivedAt": "2025-03-15T14:30:00Z" } ] }, "paging": { "type": "object", "description": "Pagination information", "properties": { "next": { "type": "object", "description": "Information about the next page", "required": [ "after" ], "properties": { "after": { "type": "string", "description": "Cursor for the next page", "example": "MTAyNA%3D%3D" }, "link": { "type": "string", "description": "Link to the next page", "example": "https://app.hubspot.com/contacts/12345" } } } } } }, "required": [ "total", "results" ] }