Skip to main content
POST
/
cards
/
upload-csv
Upload NFC cards via CSV file
curl --request POST \
  --url https://olive-gateway-a6ba.onrender.com/api/v1/cards/upload-csv \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'batch_id=<string>'
{}

Authorizations

Authorization
string
header
required

API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'

Body

multipart/form-data
file
file
required

CSV file with columns: serial_number, mac_address

batch_id
string
required

Batch identifier

Response

Upload successful with error log if any

The response is of type object.