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

# Retrieve a webhook endpoint

`GET /v1/webhook_endpoints/{id}`

## Request

- Base URL: `https://api.tryleap.ai`
- URL: `https://api.tryleap.ai/v1/webhook_endpoints/{id}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

One endpoint, without its secret.

Needs an API key with the `generations:read` scope.

## Path parameters

- `id` string, required: The endpoint's ID, `we_...`.

## Response `200`

The endpoint.

- WebhookEndpoint: A URL your workspace's events are POSTed to.
  - `id` string, required: The endpoint's ID, `we_...`.
  - `object` 'webhook_endpoint', required
  - `url` string, required: Where Leap POSTs events.
  - `description` string, nullable, required: Your note, if any.
  - `events` string[], required: The event types it gets; ["*"] for every type, including types added later.
  - `disabled` boolean, required: Whether deliveries to it are stopped.
  - `disabled_reason` string, nullable, required: Why Leap disabled the endpoint, such as every delivery failing for 72 hours; null when it is on or you turned it off.
  - `created_at` string, date-time, required: When it was created.
  - `updated_at` string, date-time, required: When it last changed.

## Other responses

- `400`: `conflicting_credentials`
- `401`: `authentication_required`
- `403`: `permission_denied`
- `404`: `resource_not_found`
- `429`: `rate_limit_exceeded`

---

[API](https://skmtc.dev/tryleap/apis/leap-api.md) · [All operations](https://skmtc.dev/tryleap/apis/leap-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tryleap/apis/leap-api/revisions/c01f98d3e835?raw)
