Skip to main content
POST
/
api
/
v3
/
sites
/
{site_uuid}
/
groups
/
{siteGroup_id}
/
subgroups
Create a subgroup
curl --request POST \
  --url https://app.plugchoice.com/api/v3/sites/{site_uuid}/groups/{siteGroup_id}/subgroups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "total_amps": 1,
  "charger_uuids": [
    "architecto"
  ]
}
'
{
  "data": {
    "id": 1,
    "site_id": 1,
    "group_id": null,
    "meter_id": null,
    "total_amps": 48,
    "created_at": "2026-01-10T01:14:33.000000Z",
    "updated_at": "2026-01-10T01:14:33.000000Z",
    "method": "boost",
    "solar_additional_amps": 0,
    "peak_shaving_enabled": false,
    "peak_shaving_threshold": 0,
    "solar_always_charge": false,
    "solar_always_charge_amps": 0,
    "net_type": null
  }
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

site_uuid
string
required
siteGroup_id
integer
required

The ID of the siteGroup.

Body

application/json
total_amps
integer
required

Must be at least 1. Must not be greater than 250.

Example:

1

charger_uuids
string[]

The uuid of an existing record in the chargers table.

Example:
["architecto"]

Response

201 - application/json
data
object