Search status changed
Webhook
The request that AlsoAsked sends to your webhook endpoint when the status of a search changes. Your server receives this request. It isn't an endpoint of the AlsoAsked API.
AlsoAsked sends a POST request with a JSON body to the URL of your webhook endpoint. The body has the ID of the
webhook event in the event_id field, followed by the fields of the GET /v1.1/search/{searchId} response for the
search, at the time when AlsoAsked sends the request. The results are in the tree results format. The headers
contain the webhook event type, the environment, and a signature that you use to verify the request.
For details, see Webhooks and Verify webhook signatures.
Request
Responses
- 2XX
- 3XX
- 4XX
- 5XX
Your webhook endpoint received the webhook event. AlsoAsked doesn't try again to send the webhook event. Keep
the response body smaller than 1 MB: with a larger response body, AlsoAsked counts the attempt as failed. In rare
cases, your webhook endpoint can still receive the same webhook event twice, so ignore a webhook event whose
event_id field you already processed.
AlsoAsked doesn't follow redirects, so AlsoAsked counts the attempt as failed and sends the webhook event again later, up to 10 attempts in total. Use the final URL of your webhook endpoint.
AlsoAsked counts the attempt as failed and sends the webhook event again later, up to 10 attempts in total.
AlsoAsked counts the attempt as failed and sends the webhook event again later, up to 10 attempts in total.