GET

Get Recent Searches


Developer Preview

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

Retrieves the terms the calling user searched for on this site, newest first, up to 10.

Recent searches are kept per user and per site, and expire 30 days after the user last added a term. An empty list means the user hasn't searched on this site, cleared their recent searches, or they couldn't be read: a read failure isn't returned as an error.

To add a term, call Add Recent Search. To remove all of them, call Clear Recent Searches.

Permission Scopes
SCOPE.BACK_OFFICE.SEARCH
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/back-office-search/v1/recent-searches

Errors

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

Did this help?