---
title: "List webhook endpoints"
method: GET
path: "/v1/webhook_endpoints"
tags: ["Webhooks"]
---

# List webhook endpoints

`GET /v1/webhook_endpoints`

## Request

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

Your workspace's webhook endpoints, newest first. Their secrets are never listed.

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

## Query parameters

- `limit` string: Maximum number of rows to return: 1 to 100; default 50.
- `cursor` string: Send next_cursor as cursor; omit it for the first page.

## Response `200`

A page of endpoints.

- WebhookEndpointList: Forward list envelope. Live lists are not snapshots; totals are not promised.
  - `object` 'list', required: The list object discriminator.
  - `url` string, required: The list's resource path, such as /v1/records.
  - `data` WebhookEndpoint[], required: Resource objects in this page, in the requested order.
    - `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.
  - `has_more` boolean, required: Whether another page is available using next_cursor.
  - `next_cursor` string, nullable, required: Opaque next_cursor from the previous page. It works only for the list and filters it came from.

## Other responses

- `400`: `invalid_parameter`, `conflicting_credentials`
- `401`: `authentication_required`
- `403`: `permission_denied`
- `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)
