Import multiple cards from a CSV file. The CSV should have columns: name, id_token
cURL
curl --request POST \ --url https://app.plugchoice.com/api/v3/sites/{site_uuid}/cards/import \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "message": "Import completed", "created": 3, "skipped": 1, "errors": [ { "row": 2, "name": "Card 2", "id_token": "EXISTING123", "error": "The id_token has already been taken." } ] }
See the documentation for more information.
Must be a file. Must not be greater than 1024 kilobytes.
"Import completed"
3
1
Show child attributes
[ { "row": 2, "name": "Card 2", "id_token": "EXISTING123", "error": "The id_token has already been taken." }]
Was this page helpful?