---
title: "Lista os webhooks do ambiente da chave"
method: GET
path: "/v1/webhooks"
tags: ["Webhooks"]
---

# Lista os webhooks do ambiente da chave

`GET /v1/webhooks`

## Request

- Base URL: `https://api.sudrel.com.br/api`
- URL: `https://api.sudrel.com.br/api/v1/webhooks`
- Auth: HTTP bearer

## Response `200`

OK

- object
  - `webhooks` Webhook[]
    - `id` string
    - `url` string
    - `eventos` string[]
    - `ativo` boolean
    - `ambiente` 'producao' | 'sandbox'
    - `cabecalhos` object[]: Só os nomes; o valor nunca volta.
      - `nome` string
    - `segredo_anterior_valido_ate` string, date-time, nullable
    - `ultimo_sucesso_em` string, date-time, nullable
    - `aviso_falha_enviado_em` string, date-time, nullable
    - `criado_em` string, date-time
    - `links` object
      - `self` string
      - `entregas` string

## Other responses

- `401`: `nao_autenticado`: chave de API ausente, inválida ou revogada.
- `429`: `limite_de_requisicoes` (`retentavel: true`): 120 requisições por minuto por chave, janela fixa de 60 s. Sem `Retry-After`: espere a virada do minuto e repita a MESMA requisição (com a mesma `Idempotency-Key`).

---

[API](https://skmtc.dev/sudrel/apis/api-publica-sudrel-nfs-e-nf-e-e-ct-e.md) · [All operations](https://skmtc.dev/sudrel/apis/api-publica-sudrel-nfs-e-nf-e-e-ct-e/llms.txt) · [OpenAPI document](https://skmtc.dev/sudrel/apis/api-publica-sudrel-nfs-e-nf-e-e-ct-e/revisions/efd7baba9e37?raw)
