Calling the Personalized Search API
Monetate's Personalized Search API is the search integration for your applications, allowing you to implement Personalized Site Search and Personalized Category Pages for your customers.
The basic Monetate Personalized Search API request is a POST call to the following URL:
A request is comprised of two parts:
- Suggestions: Automatic suggestions based on the text currently typed into the search field. Suggestions are updated live as the customer updates their search.
- Queries: Complete results from a search. An individual result is called a record. Queries are returned after the customer formally sends their search request.
Both suggestions and queries can be included in a request.
Here's the basic Personalized Search API request:
The search token is required for all Personalized Search API calls. It's obtained in the initial decision request.
The basic response is as follows: