ByDomuDevelopers

Listar webhooks

GEThttps://api.bydomu.com/v1/webhooks

Esta referência é gerada a partir do código da API, por isso as descrições estão em espanhol. Nomes, parâmetros e exemplos são iguais em qualquer idioma.

Webhooks de la organización con su última entrega y las fallidas de las últimas 24 h. El secreto nunca se devuelve. Pide el scope webhooks:write: la lista dice a dónde salen los datos de la organización.

Permissão pedida

webhooks:write

Cabeçalho obrigatório

X-API-Key · chave secreta

Nível de acesso

Nível 3 · com revisão do suporte

Resposta 200

Webhook[] · 11 campos
data[]id · url · events · eventTypes · isActive · description · createdAt · createdBy · _count · lastDelivery · failedLast24h
idstring
urlstring
eventsstring[]Eventos legados suscritos
eventTypesstring[]
isActiveboolean
descriptionstring
createdAtstring
createdByid · name
idstring
namestring
_countdeliveries
deliveriesinteger
lastDeliverysuccess · statusCode · error · createdAt
successboolean
statusCodeinteger
errorstring
createdAtstring
failedLast24hinteger

Erros possíveis

com a forma { "error": { "code", "message" } }
  • 401UNAUTHORIZED
  • 403FORBIDDEN
  • 429RATE_LIMITED
  • 500INTERNAL_ERROR
RequisiçãoGET/v1/webhooks
SDK oficial · @bydomu/sdk · ainda não está no npm
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({
  apiKey: process.env.BYDOMU_API_KEY,
});

const { data } = await bydomu.webhooks.list();
200 OK · exemplo
{
  "data": [
    {
      "id": "clx1whk001",
      "url": "https://hooks.zapier.com/hooks/catch/123456/abcdef/",
      "events": [],
      "eventTypes": [
        "deal.won"
      ],
      "isActive": true,
      "description": "Zap: negocios ganados a Google Sheets",
      "createdAt": "2026-09-22T12:00:00.000Z",
      "createdBy": {
        "id": "clx1usr001",
        "name": "Carlos Rodríguez"
      },
      "_count": {
        "deliveries": 42
      },
      "lastDelivery": {
        "success": true,
        "statusCode": 200,
        "error": "connect ETIMEDOUT",
        "createdAt": "2026-09-25T10:00:00.000Z"
      },
      "failedLast24h": 0
    }
  ]
}