Referencia
Ver webhook
Recuperá la configuración de webhook de tu cuenta.
API v1AnteriorGET
/v1/webhooks/configObtiene la URL, estado y secret del webhook del owner. No consume cuota de reporte.
- Autenticación
x-api-key- Consumo
- Sin consumo de cuota del plan
- Planes
- starter · growth · scale · custom
Request
Ejecutá este ejemplo desde tu servidor o terminal. Usá tu key en la variable CLASIFICAR_API_KEY.
Terminal
curl "https://api.clasific.ar/v1/webhooks/config" \
-H "x-api-key: $CLASIFICAR_API_KEY"TypeScript · servidor
const apiKey = process.env.CLASIFICAR_API_KEY;
if (!apiKey) throw new Error("Falta CLASIFICAR_API_KEY");
const response = await fetch(
"https://api.clasific.ar/v1/webhooks/config",
{
headers: {
"x-api-key": apiKey,
},
},
);
if (!response.ok) {
throw new Error(
`HTTP ${response.status}: ${await response.text()}`,
);
}
const result: unknown = await response.json();
console.log(result);Parámetros
No requiere parámetros ni un body JSON.
Respuesta
200 Ejemplo de respuesta. Los valores corresponden a datos ilustrativos del contrato V1.
Response · JSON
{
"success": true,
"data": {
"owner_ref": "user_martin",
"url": "https://tu-app.com/webhooks/clasificar",
"secret": "whsec_1234567890",
"enabled": true,
"updated_at": "2026-05-15T12:00:00.000Z"
}
}Errores
Comprobá el estado HTTP antes de procesar el resultado. Los formatos de error pueden variar por endpoint. Consultá errores y rate limits para gestionar errores de acceso y capacidad.