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

# Listar Webhooks

> Lista os webhooks da conta com URL, eventos e se estão ativos.

#### Escopo

```bash theme={null}
read webhooks
```

## O que faz

Lista os webhooks da conta com URL, eventos e se estão ativos.

## Casos de uso

* Auditar integrações
* Evitar webhooks duplicados

## Resposta

**data** `object[]`

**campos**

**id** `string\<uuid\>`

Identificador único.

**name** `string`

**url** `string`

**events** `string[]`

Eventos inscritos.

**active** `boolean`

Se recebe entregas.

**created\_at** `string\<date-time\>`

Quando foi criado.

## Erros

| Status | Descrição |
| - | - |
| `401` | Chave inválida ou revogada. |
| `403` | Faltam escopos (`insufficient_scope`). |
| `429` | Limite de requisições (`rate_limited`). |

```bash cURL theme={null}
curl --request GET \
  --url https://ucsyxzpdbnuyehizezvb.supabase.co/functions/v1/doglytdc-pay/v1/webhooks \
  -u "$DPAY_CLIENT_ID:$DPAY_CLIENT_SECRET"
```

```json 200 theme={null}
{
  "data": [
    {
      "id": "c7d8e9f0-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
      "name": "Minha loja",
      "url": "https://minhaloja.com/webhooks/doglytdc",
      "events": [
        "purchase_approved"
      ],
      "active": true,
      "created_at": "2026-11-06T18:10:00Z"
    }
  ]
}
```

```json 401 theme={null}
{ "error": "unauthorized", "message": "Chave de API inválida." }
```

```json 403 theme={null}
{ "error": "insufficient_scope", "message": "Esta chave precisa dos escopos: read, webhooks." }
```


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