# Get Current Batch Client Import Job Returns the most recent non-expired batch client import metadata. Returns 204 if no active batch exists. Endpoint: GET /api/v3/imports/clients Version: 3.1.0 Security: apiKeyAuth ## Query parameters: - `api_key` (string, required) Your API Key. Example: "YOUR_API_KEY" ## Response 200 fields (application/json): - `import` (object) - `import.batch_metadata_id` (integer) Example: 123 - `import.batch_name` (string,null) Example: "My import batch" - `import.status` (string) Enum: "started", "mapping", "validating", "validated", "configured", "importing", "sending_email", "completed", "failed" - `import.date` (string) Example: "2026-06-08T15:19:10.902Z" - `import.expires_at` (string) Example: "2026-06-08T15:19:10.902Z" - `import.doc_type` (string,null) Example: "invoices" - `import.doc_status` (string,null) Example: "draft" - `import.sequence_id` (integer,null) Example: 12345 - `import.sequence` (string,null) Example: "FAT 2024" - `import.send_by_email` (boolean) - `import.header` (string,null) Stored as a string: the exclude_first_line value sent to process, as Rails casts it (JSON true → "t", false → "f"). Null until the CSV is processed, and still null after processing when exclude_first_line was not sent. Example: "t" - `import.separator` (string,null) Example: "," - `import.filename` (string) Example: "import.csv" - `import.exemption_reason_id` (integer,null) - `import.discount_type` (string,null) ## Response 401 fields (application/json): - `errors` (array) Example: [{"error":"Authentication Error"}] - `errors.error` (string) ## Response 204 fields