# org.tangled.webhook.listWebhooks

> List webhooks configured for a repository.

- Kind: query
- Authority: webhook.tangled.org
- Lexicon: 1
- Published by [tangled.org](https://lexicon.garden/identity/did:plc:wshs7t2adsemcrrd4snkeqli), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.webhook.listWebhooks)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.webhook.listWebhooks/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.webhook.listWebhooks/analytics)

## Query (`org.tangled.webhook.listWebhooks`)

Type: query · GET

### Parameters (query string)

- `repo` (string · did, required): DID of the repository as minted by the knot.

### Output (application/json)

- `webhooks` (array, required)
  - `items` (ref)
    - Reference: `org.tangled.webhook.defs#webhook`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List webhooks configured for a repository.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "webhooks": {
              "items": {
                "ref": "org.tangled.webhook.defs#webhook",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "webhooks"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "repo": {
            "description": "DID of the repository as minted by the knot.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "repo"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "org.tangled.webhook.listWebhooks",
  "lexicon": 1
}
```
