# Get QR Code Endpoint: GET /api/qr_codes/{document-id}.json Version: 2.0.0 Security: apiKeyAuth ## Path parameters: - `document-id` (integer, required) The ID of the document. Example: 1050 ## Query parameters: - `api_key` (string, required) Your API Key. Example: "YOUR_API_KEY" ## Response 200 fields (application/json): - `qr_code` (object) - `qr_code.url` (string) Example: "url.png" ## Response 202 fields (application/json): - `qr_code` (object) - `qr_code.status` (string) Example: "In progress" ## Response 401 fields (application/json): - `errors` (object) - `errors.error` (string) Example: "Invalid API key" ## Response 404 fields (application/json): - `error` (string) Example: "No document with ID 24563387 was found in this account" ## Response 422 fields (application/json): - `error` (string) Example: "Document with ID 248920464 is still in draft. QR Codes are only available for final, canceled or settled documents."