> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# webhook_targets.list()

> List webhook delivery targets for an organization.

List webhook targets using cursor pagination.

**Required scope: `admin`**

```python theme={null}
targets = await mesa.webhook_targets.list(limit=50)

for target in targets.webhook_targets:
    print(target.id, target.url, target.events)
```

## Options

**cursor** `str | None`

Opaque pagination cursor from a previous response.

**limit** `int | None`

Maximum number of webhook targets to return. The server maximum is `100`.

## Response

**next\_cursor** `str | None`

Cursor for the next page, or null when no more results remain.

**has\_more** `bool`

Whether another page of results is available.

**webhook\_targets** `list[WebhookTarget]`

Webhook target objects.

### WebhookTarget

**id** `str`

Webhook target ID.

**name** `str | None`

Webhook target name, or null when unnamed.

**url** `str`

Delivery URL.

**events** `list[str]`

Event names delivered to this target.

**repo\_ids** `list[str] | None`

Repository allowlist, or null when the target receives events for all repositories.

**created\_at** `datetime`

Creation time.

**updated\_at** `datetime`

Last update time.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.