CertifMaker Docs
Api reference

Vérifier un certificat

Vérifie l'authenticité d'un certificat à partir de son `verificationHash`. **Aucune authentification requise** — endpoint public, sans quota de crédits. L'appel incrémente le compteur de vérifications du certificat.

GET
/verify/{hash}

Path Parameters

hash*string

Hash de vérification du certificat

Response Body

application/json

application/json

curl -X GET "http://localhost:3000/api/v1/verify/abc123def456"
{
  "valid": true,
  "integrityVerified": true,
  "certificate": {
    "id": "string",
    "verificationHash": "string",
    "recipientName": "string",
    "templateName": "string",
    "status": "GENERATED",
    "generatedAt": "2019-08-24T14:15:22Z",
    "revokedAt": "2019-08-24T14:15:22Z",
    "revokedReason": "string"
  }
}
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "string",
    "status": 0
  }
}