queryNotes( )


Retrieves a list of up to 1,000 notes given the provided filtering, paging, and sorting.

Important: When making the first query request without a cursor, the contactId field is required. For subsequent requests using cursor pagination, contactId becomes optional as the cursor contains the context from the previous query.

By default, notes are sorted by created date in descending order.

Refer to Notes: Supported Filters and Sorting for a complete list of supported filters and sorting options.

To learn about working with Query endpoints, see API Query Language and Sorting and Paging.

PROPERTYSUPPORTED FILTERS & SORTING
_ideq(),in()
_createdDateeq(),ne(),exists(),in(),hasSome(),lt(),le(),gt(),ge(),ascending(),descending()
_updatedDateeq(),ne(),exists(),in(),hasSome(),lt(),le(),gt(),ge(),ascending(),descending()
contactIdeq(),in()
typeeq(),in(),ne()
Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Read Notes
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsQueryNotesOptions
Returns
Return Type:NotesQueryBuilder
Errors
400Invalid Argument

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?