App-Einrichtung
Einrichtungscode erstellen
The plain token is returned exactly once, together with the ready-made QR payload; the database only ever sees its SHA-256 hash.
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Pfadparameter
employee*string
The employee ID
Format
uuidResponse-Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/employees/497f6eca-6276-4993-bfeb-53cbbbba6f08/enrollment_tokens"{ "data": { "id": "string", "employee_id": "string", "created_at": "string", "expires_at": "string", "redeemed_at": "string", "redeemed_device": "string", "status": "redeemed", "token": "string", "qr_payload": "string" }}