API & developers
Integra Leonardo Shield nei tuoi sistemi con REST API e webhook.
API keys
Gestisci le tue chiavi production e test.
| Nome | Key | Creata | Ultimo uso | |
|---|---|---|---|---|
Production live | lsk_live_••••••••••••3f9a | 2025-03-12 | 2 min fa | |
Staging test | lsk_test_••••••••••••8b21 | 2025-04-02 | 1 h fa |
POST /v1/documents
curl -X POST https://api.leonardoshield.io/v1/documents \ -H "Authorization: Bearer lsk_live_••••3f9a" \ -H "Content-Type: multipart/form-data" \ -F "file=@term_sheet.pdf" \ -F "watermark=forensic" \ -F "notarize=true"
Response · 200 OK
{
"id": "doc_01H8Z3KQ9",
"hash": "0x4f3a8e91…b18c",
"fingerprint": "FP-9241-AX",
"status": "protected",
"blockchain": {
"network": "ethereum",
"block": 18329441
},
"tracking_url": "https://app.leonardoshield.io/d/01H8Z3KQ9"
}Endpoints disponibili
POST
/v1/documentsProteggi un nuovo documentoGET
/v1/documents/:idRecupera metadata e trackingPOST
/v1/verifyVerifica autenticità di un fileGET
/v1/trackingLista download e accessiPOST
/v1/webhooksConfigura webhook per leak alert