# Webhooks

### Get All Webhooks

Retrieve a list of all registered webhooks.

{% openapi src="/files/gB9ZrNbC1wMOrgdwXnSz" path="/v1/webhooks" method="get" %}
[Whautomate Rest API-Production-oas30 (2).json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FKZ2LMuDJvx85hp39M31P%2FWhautomate%20Rest%20API-Production-oas30%20\(2\).json?alt=media\&token=5f85adc6-b154-4913-918d-fcea6e72733e)
{% endopenapi %}

### Create Webhook

Register a new webhook subscription.

{% openapi src="/files/gB9ZrNbC1wMOrgdwXnSz" path="/v1/webhooks" method="post" %}
[Whautomate Rest API-Production-oas30 (2).json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FKZ2LMuDJvx85hp39M31P%2FWhautomate%20Rest%20API-Production-oas30%20\(2\).json?alt=media\&token=5f85adc6-b154-4913-918d-fcea6e72733e)
{% endopenapi %}

### Get Webhook By Id

Retrieve details of a specific webhook subscription.

{% openapi src="/files/gB9ZrNbC1wMOrgdwXnSz" path="/v1/webhooks/{webhookId}" method="get" %}
[Whautomate Rest API-Production-oas30 (2).json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FKZ2LMuDJvx85hp39M31P%2FWhautomate%20Rest%20API-Production-oas30%20\(2\).json?alt=media\&token=5f85adc6-b154-4913-918d-fcea6e72733e)
{% endopenapi %}

### Update Webhook

Update an existing webhook subscription.

{% openapi src="/files/gB9ZrNbC1wMOrgdwXnSz" path="/v1/webhooks/{webhookId}" method="put" %}
[Whautomate Rest API-Production-oas30 (2).json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FKZ2LMuDJvx85hp39M31P%2FWhautomate%20Rest%20API-Production-oas30%20\(2\).json?alt=media\&token=5f85adc6-b154-4913-918d-fcea6e72733e)
{% endopenapi %}

### Delete Webhook

Remove a webhook subscription.

{% openapi src="/files/gB9ZrNbC1wMOrgdwXnSz" path="/v1/webhooks/{webhookId}" method="delete" %}
[Whautomate Rest API-Production-oas30 (2).json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FKZ2LMuDJvx85hp39M31P%2FWhautomate%20Rest%20API-Production-oas30%20\(2\).json?alt=media\&token=5f85adc6-b154-4913-918d-fcea6e72733e)
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.whautomate.com/product-guides/whautomate-rest-api/webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
