Create a new search query hookCopy Pagepost https://{yourinstance}.makaira.io/search-query-hookBody ParamspriorityintegerThe priority of the hook, if we have multiple hooks of a same type, the one with higher priority will be executed firsttypestringenumThe type of the webhook, it will determine when the hook is executedpre-searchpre-searchpost-searchmodify-resultAllowed:pre-searchpost-searchmodify-resulttargetstringenumThe target of the webhook, it will determine where the hook is executedsearchsearchrecommendationAllowed:searchrecommendationurlstringThe url of the webhook, where the result of search/recommendation is modifiedHeadersX-Makaira-InstancestringrequiredMakaira Instance IDResponse 200CreatedUpdated about 20 hours ago