POST

Query Likes


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Note: This query method uses the new Wix API Query Language syntax. If you're still using the old query syntax with chained query builder methods, see Migrate from SDK Query Builders to Wix API Query Language for guidance. The old query builder methods continue to work.

Retrieves a list of likes created by the currently authenticated site visitor or member, given the provided paging, filtering, and sorting.

This method:

  • Only returns likes created by the current authenticated user through the API.
  • Doesn't include likes created through the blog UI.
  • Doesn't include likes created by other users.

Up to 100 likes can be returned per request.

Query Likes runs with these defaults, which you can override:

  • createdDate is sorted in DESC order
  • paging.limit is 50
  • paging.offset is 0

Note: This method requires visitor or member authentication.

PropertyFiltersSort
_id$eq, $ne, $inNone
fqdn$eq, $ne, $inNone
entityId$eq, $ne, $inNone
Permissions
Read Blog
Learn more about app permissions.
Method Declaration
Copy
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?