---
title: "Test a webhook"
method: POST
path: "/v2/webhooks/{webhookId}/ping"
tags: ["Webhooks API"]
---

# Test a webhook

`POST /v2/webhooks/{webhookId}/ping`

Sends a test event to the webhook to verify the endpoint is working as expected.

## Headers

- `idempotency-key` string

## Request body

- object
  - `testmode` boolean — You can enable test mode by setting `testmode` to `true`. Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.

## Response `202`

Accepted.

## Other responses

- `404` — No entity with this ID exists.
- `422` — The request contains issues. For example, if the webhook has already been deleted.
- `429` — Rate Limit has been reached.

---

[API](https://skmtc.net/mollie/apis/mollie-api.md) · [All operations](https://skmtc.net/mollie/apis/mollie-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mollie/mollie-api/versions/8b6839e22c14/schema)
