Skip to main content
POST
/
api
/
v3
/
sites
Create site
curl --request POST \
  --url https://app.plugchoice.com/api/v3/sites \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "b",
  "street": "n",
  "house_number": 84,
  "postal_code": "m",
  "city": "i",
  "country": "yv",
  "house_number_addition": "z"
}
'
{
  "data": {
    "uuid": "5707ca55-f609-3528-be8b-1baeaee1567e",
    "id": 1,
    "name": "Dickens PLC",
    "address": null,
    "street": "Mya Lane",
    "postal_code": "02042",
    "house_number": 73498,
    "house_number_addition": "Apt. 724",
    "city": "Lake Haven",
    "country": "AG",
    "smart_charging": "disabled",
    "chargers_count": 0,
    "capabilities": {
      "smart_charging": false,
      "load_management": {
        "dynamic": true,
        "peak_shaving": false,
        "solar": false
      }
    },
    "created_at": "2026-01-10T01:14:32.000000Z",
    "updated_at": "2026-01-10T01:14:32.000000Z",
    "permissions": {
      "basic": false,
      "sensitive": false,
      "full": false
    }
  }
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Body

application/json
name
string
required

Must not be greater than 255 characters.

Example:

"b"

street
string
required

Must not be greater than 255 characters.

Example:

"n"

house_number
number
required

Must be at least 0.

Example:

84

postal_code
string
required

Must not be greater than 255 characters.

Example:

"m"

city
string
required

Must not be greater than 255 characters.

Example:

"i"

country
string
required

Must not be greater than 2 characters.

Example:

"yv"

house_number_addition
string | null

Must not be greater than 255 characters.

Example:

"z"

Response

200 - application/json
data
object