Guía para integrar la certificación en blockchain de archivos generados por IA.
https://veryfia-web.onrender.com
Usa tu API Key:
/upload
→ opcional (recomendado para uso programático)./api/register
→ obligatorio.Sube un archivo para certificarlo (máx. 5MB).
curl -X POST https://veryfia-web.onrender.com/upload ^
-F "file=@miarchivo.pdf" ^
-F "api_key=clave456"
Registra directamente el hash
SHA-256 de un archivo (sin subir el archivo).
# Windows CMD
curl -X POST https://veryfia-web.onrender.com/api/register ^
-H "Content-Type: application/json" ^
-d "{\"api_key\":\"clave456\",\"file_hash\":\"2fd889940a0da04aab43da4f76d99c244d7607980b8ddbab8f71f655b68d5091\"}"
# Windows PowerShell
curl -Method POST https://veryfia-web.onrender.com/api/register `
-Headers @{ "Content-Type" = "application/json" } `
-Body '{"api_key":"clave456","file_hash":"2fd889940a0da04aab43da4f76d99c244d7607980b8ddbab8f71f655b68d5091"}'
# macOS / Linux
curl -X POST https://veryfia-web.onrender.com/api/register \
-H 'Content-Type: application/json' \
-d '{"api_key":"clave456","file_hash":"2fd889940a0da04aab43da4f76d99c244d7607980b8ddbab8f71f655b68d5091"}'
Devuelve JSON con file_hash
, merkleRoot
, txHash
y anchoredAt
.
curl -s https://veryfia-web.onrender.com/proof/2fd889940a0... | jq .
Descarga el certificado PDF.
curl -L -o certificado.pdf https://veryfia-web.onrender.com/pdf/2fd889940a0...
Página HTML con historial del archivo (hash, merkle root, fecha, TX).
https://veryfia-web.onrender.com/history/2fd889940a0...
Solicita tu API Key: danimollvillalonga@gmail.com