GET
Ver un webhook
Scope:
developers:webhooks.readhttps://api.holded.com/api/v2/webhooks/{webhookId}Recupera todos los detalles de un webhook por su identificador, incluyendo el `secret` para verificar firmas.
Parámetros
Parámetros de ruta
webhookId
stringobligatorioID del webhook (ObjectId hexadecimal de 24 caracteres)
Petición
python
import requests
url = "https://api.holded.com/api/v2/webhooks/507f1f77bcf86cd799439011"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Respuestas
Respuesta
json
{
"id": "507f1f77bcf86cd799439011",
"url": "https://example.com/webhook",
"events": [
"invoice.create",
"invoice.update"
],
"version": "v1",
"description": "My webhook",
"enabled": true,
"created_at": "2026-01-15T10:30:00+00:00",
"updated_at": "2026-01-15T10:30:00+00:00",
"secret": "whsec_abc123",
"disable": {
"at": "2026-01-15T10:30:00+00:00",
"reason": "Endpoint returning 5xx errors",
"by": {
"id": "507f1f77bcf86cd799439011",
"type": "user"
}
}
}Respuestas exitosas
200Webhook encontradoapplication/jsonobject
idstring
urlstring<uri>
events[]string[]
versionstring
descriptionstring
enabledboolean
created_atstring<date-time>
updated_atstring<date-time> | null
secretstring
disableobject | null
atstring<date-time>
reasonstring
byobject | null
Respuestas de error
401API key inválida o no proporcionadaapplication/json403Permisos insuficientesapplication/json404Webhook no encontradoapplication/json429Límite de solicitudes excedidoapplication/json