Skip to main content
POST
/
api
/
v3
/
teams
/
{team_uuid}
/
chargers
/
import
Import chargers from CSV
curl --request POST \
  --url https://app.plugchoice.com/api/v3/teams/{team_uuid}/chargers/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "message": "Import completed",
  "created": 5,
  "skipped": 2,
  "errors": [
    {
      "row": 3,
      "identity": "EXISTING-001",
      "error": "The identity has already been taken."
    }
  ]
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

team_uuid
string
required

Body

multipart/form-data
file
file
required

CSV file containing charger identities

Response

Import results with counts and any errors

message
string
Example:

"Import completed"

created
integer
Example:

5

skipped
integer
Example:

2

errors
object[]
Example:
[
{
"row": 3,
"identity": "EXISTING-001",
"error": "The identity has already been taken."
}
]