# List webhook endpoints

GET

/v1/webhook-endpoints

```sh
curl --request GET \
  --url 'https://example.com/v1/webhook-endpoints?limit=25' \
  --header 'Authorization: Bearer <token>'
```

## Authorizations

- **[bearerAuth](https://docs.kindgi.com/v0.1.10/reference/api.md#bearerauth)**

## Parameters

### Query Parameters

**limit**

integer

default: 25 >= 1 <= 100

1..100. Default 25.

**cursor**

string

Where the previous page ended: its `nextCursor`, as it came. A runtime that seals cursors takes one only for the same list, filters and caller, within a day; otherwise `400 bad-input`, and the list starts again without it. Absent → first page.

## Responses

### 200

Page of endpoints.

application/json

object

**data**

required

Array\<object>

object

**endpointId**

required

string

**url**

required

string format: uri

**events**

required

Array\<string>

Allowed values: run.finished improvement-pass.finished approval.requested

**filter**

required

Which events reach the endpoint. Every field narrows; absent fields do not. `run.finished` is sent for top-level runs only.

object

**projectId**

Only runs in this project.

string

\>= 1 characters

**flowIds**

Only runs of these flows (any version).

Array\<string>

\>= 1 items <= 100 items

**includeDryRuns**

Dry runs are left out unless this is `true`.

boolean

**description**

required

string | null

**secretRef**

required

A secret by name in the deployment’s secrets store, resolved at tenant scope (the same shape as a provider’s `secret_ref`). The value is `whsec_` + base64 of at least 24 random bytes (or that base64 alone); the store keeps it, the endpoint keeps only this reference.

object

**envName**

required

string

/^\[a-z]\[a-z0-9-]{0,62}$/

**name**

required

string

\>= 1 characters <= 256 characters

**createdAt**

required

string format: date-time

**updatedAt**

required

string format: date-time

**nextCursor**

string

**hasMore**

required

boolean

##### Example

```json
{
  "data": [
    {
      "events": [
        "run.finished"
      ]
    }
  ]
}
```

### 401

Missing / malformed / expired / revoked bearer token.

application/json

object

**error**

required

object

**code**

required

Stable machine-readable discriminant. Values match domain error codes (see `docs/API-ROUTE-CONVENTIONS.md` §4.3).

string

**message**

required

string

**details**

Optional, kind-specific.

object

**_key_**

additional properties

any

**requestId**

required

Server-assigned request id; also echoed via `X-Request-Id` header.

string

##### Examplegenerated

```json
{
  "error": {
    "code": "example",
    "message": "example",
    "details": {},
    "requestId": "example"
  }
}
```

## See also

- [`POST /v1/webhook-endpoints`: Register a webhook endpoint](https://docs.kindgi.com/v0.1.10/reference/api/operations/webhookendpointscreate.md)
- [Every error code](https://docs.kindgi.com/v0.1.10/reference/errors.md)
