---
title: "Retrieve a webhook endpoint"
method: GET
path: "/api/v1/webhook-endpoints/{id}"
tags: ["Webhooks"]
---

# Retrieve a webhook endpoint

`GET /api/v1/webhook-endpoints/{id}`

## Request

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

Retrieve a webhook 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

## Response `200`

Successful response

- WebhookEndpoint
  - `id` string, required
  - `object` 'webhook_endpoint', required
  - `livemode` boolean, required
  - `createdAt` string, date-time, required
  - `url` string, uri, required
  - `enabledEvents` string[], required
  - `status` 'enabled' | 'disabled', required
  - `description` string, nullable
  - `metadata` object: Up to 50 key-value pairs; keys up to 40 characters, values strings up to 500 characters.
  - `failingSince` string, date-time, nullable: Start of the current run of failed deliveries; null while healthy. After 3 days the endpoint is disabled.
  - `disabledReason` 'failing' | 'null', nullable: `failing` when Zahlo disabled the endpoint after 3 days of failures.
  - `secret` string: Only in the create and rotate-secret responses.

## 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)
