Api reference
Lister les templates
Retourne vos templates privés et les templates publics partagés, avec les variables détectées pour chacun.
Authorization
ApiKeyAuth AuthorizationBearer <token>
Clé API au format cm_live_..., générée depuis Paramètres > Clés API.
In: header
Response Body
application/json
curl -X GET "http://localhost:3000/api/v1/templates"{
"templates": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "Certificat de formation",
"description": "string",
"type": "PRIVATE",
"detectedVariables": [
"nom_complet",
"formation",
"date_fin"
],
"thumbnailUrl": "http://example.com",
"timesUsed": 0,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
]
}Statut d'un batch
Retourne l'état d'avancement d'un batch avec les compteurs de traitement.
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.