v1
Webhooks

Consultar un webhook

GET/api/v1/webhooks/{id}

Devuelve un webhook por su id.

La clave de API necesita el permisoAdministrar webhooks y reenviar entregaswebhooks.manage

Parámetros

NombreDóndeDescripción
idobligatoriostring (uuid)pathId del webhook.

Respuestas

200El webhook.
application/json
{
  "id": "b2d6f0a4-8c1e-4b7a-9d3f-6e2a0c4b8d15",
  "businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
  "url": "https://api.exemplo.com.br/webhooks/guria",
  "events": "[\"MessageReceived\",\"MessageDelivered\",\"MessageRead\",\"MessageFailed\"]",
  "hasSecret": true,
  "secretLast4": "0000",
  "enabled": true,
  "createdAt": "2026-11-25T17:20:14.337145Z",
  "updatedAt": null
}
401Credenciales ausentes o inválidas. La respuesta es la misma para una clave inexistente y para un secret incorrecto; sin el encabezado X-API-KEY, llega sin cuerpo.
application/json
{
  "error": "unauthorized",
  "message": "Credenciais de API inválidas."
}
403La clave se autenticó, pero no tiene el permiso que la ruta exige, o el plan no incluye la función.
application/json
{
  "error": "forbidden",
  "message": "A chave de API não tem acesso a esta rota: falta o escopo exigido, ou a rota não aceita chave de API."
}
404El registro no existe en esta empresa.
application/json
{
  "error": "not_found",
  "message": "Registro não encontrado."
}
429Se alcanzó el límite de solicitudes por minuto. Espera el tiempo del encabezado Retry-After.
application/json
{
  "error": "too_many_requests",
  "message": "Muitas requisições com esta chave de API. Aguarde o fim da janela e tente novamente."
}
curl -X GET "https://api.guria.io/api/v1/webhooks/{id}" \
  -H "X-API-KEY: $GURIA_API_KEY" \
  -H "X-API-SECRET: $GURIA_API_SECRET"
Respuesta · 200
{
  "id": "b2d6f0a4-8c1e-4b7a-9d3f-6e2a0c4b8d15",
  "businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
  "url": "https://api.exemplo.com.br/webhooks/guria",
  "events": "[\"MessageReceived\",\"MessageDelivered\",\"MessageRead\",\"MessageFailed\"]",
  "hasSecret": true,
  "secretLast4": "0000",
  "enabled": true,
  "createdAt": "2026-11-25T17:20:14.337145Z",
  "updatedAt": null
}