---
title: "Send a test event to an endpoint"
method: POST
path: "/api/v1/webhook-endpoints/{id}/test"
tags: ["Webhooks"]
---

# Send a test event to an endpoint

`POST /api/v1/webhook-endpoints/{id}/test`

## Request

- Base URL: `https://merchant.zahlo.eu`
- URL: `https://merchant.zahlo.eu/api/v1/webhook-endpoints/{id}/test`
- Auth: API key in header `x-api-key`

Send a test event to an endpoint. Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- WebhookTestRequest
  - `type` string, required: A catalog event type.

## Response `200`

Successful response

- WebhookTestResult
  - `eventId` string
  - `ok` boolean
  - `responseStatus` integer, nullable
  - `error` string, nullable

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `404`: Resource not found
- `409`: Request conflicts with existing state

---

[API](https://skmtc.dev/zahlo/apis/zahlo-merchant-api.md) - [All operations](https://skmtc.dev/zahlo/apis/zahlo-merchant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zahlo/apis/zahlo-merchant-api/revisions/8fcbef981e0d?raw)
