/webhooks
to trigger automatic workflows when Meilisearch finishes processing tasks.
The webhook object
uuid
: a v4 uuid Meilisearch automatically generates when you create a new webhookurl
: a string indication the URL Meilisearch should notify whenever it completes a task, requiredheaders
: an object with HTTP headers and their values, optional, often used for authenticationisEditable
: read-only Boolean field indicating whether you can edit the webhook. Meilisearch automatically sets this totrue
for all webhooks created via the API and tofalse
for reserved webhooks
The webhook payload
When Meilisearch finishes processing a task, it sends the relevant task object to all configured webhooks.Get all webhooks
GET
/webhooks
Example
Response: 200 OK
Get a single webhook
GET
/webhooks/{uuid}
Example
Response: 200 OK
Create a webhook
POST
/webhooks
Example
Response: 200 OK
Update a webhook
PATCH
/webhooks/{uuid}
null
.
It is not possible to edit webhooks whose
isEditable
field is set to false
.Meilisearch Cloud may create internal webhooks to support features such as Analytics and monitoring. These webhooks are always isEditable: false
.Example
Response: 200 OK
Delete a webhook
DELETE
/webhooks/{uuid}
It is not possible to delete webhooks whose
isEditable
field is set to false
.