Cards
Upload Cards CSV
Bulk upload NFC cards via CSV file
POST
Documentation Index
Fetch the complete documentation index at: https://docs.vultlocal.com/llms.txt
Use this file to discover all available pages before exploring further.
Admin endpoint for bulk importing NFC cards into the system. Cards are created with status “Unassigned”.
Request
Bearer olive_live_xxx or Bearer eyJ... (JWT)multipart/form-dataForm Data
CSV file with card data
CSV Format
Column Requirements
| Column | Format | Required |
|---|---|---|
| Serial No. | Alphanumeric (e.g., OLIV0001) | Yes |
| MAC Address | 6-octet (AA:BB:CC:DD:EE:FF) or 7-octet | Yes |
MAC addresses can use colons (
:) or hyphens (-) as separators.Response
Whether upload succeeded
Summary message
Total rows in CSV
Successfully created cards
List of rows with errors
Examples
Validation Rules
Serial Number
- Must be unique in system
- Alphanumeric characters
- No special characters
MAC Address
- Valid hex octets
- 6 or 7 octets supported
- Colons or hyphens allowed
Best Practices
File Size
File Size
- Keep files under 10,000 rows for best performance
- Split larger imports into batches
Error Handling
Error Handling
- Review errors array after upload
- Fix invalid rows and re-upload
- Valid rows are still created even if some fail
Duplicate Detection
Duplicate Detection
- Serial numbers must be unique
- Duplicates in CSV are rejected
- Existing cards in system are skipped
Permissions
Errors
| Status | Code | Description |
|---|---|---|
| 400 | INVALID_CSV | CSV format or structure error |
| 400 | MISSING_FILE | No file uploaded |
| 401 | UNAUTHORIZED | Invalid API key |
| 403 | FORBIDDEN | Not authorized to upload |
| 413 | FILE_TOO_LARGE | File exceeds size limit |
| 500 | INTERNAL_ERROR | Server error |
Authorizations
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Body
multipart/form-data
Response
Upload successful with error log if any
The response is of type object.