API Call
This page explains the request and response formats of the '/events' endpoint of Frenzy Search. It also provide examples to help you understand better.
send events to Frenzy AI
POST
https://xyz.search.frenzy.ai /events
The request body will include an array of event objects.
Headers
X-Frenzy-Authorization*
string
API key provided at the time of account creation.
Content-type*
string
application/json
Request Body
event_name*
string
Type of event to share e.g. Add to Cart, etc.
user_id*
string
User ID that triggered the event.
query_id
string
Query ID sent in the response of search, recommendation, etc calls.
sku
string
Affected sku.
time
string
Time of event occurance UTC format. (e.g.
2021-02-13 17:00:02)
If not provided will use the arrival time of the request.
query
string
user entered query
filters
json
user selected filters
shop
string
name of the Shopify Store. (required for shopify stores)
Response Object
String- describing if the event is saved. In case of failure, return the error message.
Boolean- describing if the event was saved or not.
Example Request
Last updated
Was this helpful?