API Key

Harici sistemlerden yazdırma isteği göndermek için API anahtarınızı kullanın.

API Anahtarı

Kullanım

HTTP isteklerinde X-API-Key header'ı ile gönderin:

curl -X POST https://teprintapi.lezzetten.com/api/print-jobs \
  -H "X-API-Key: ..." \
  -H "Content-Type: application/json" \
  -d '{"printerId": "...", "documentData": "base64...", "documentName": "test.pdf"}'

Yeni key oluşturursanız eski key geçersiz olur.