> ## Documentation Index
> Fetch the complete documentation index at: https://developer.plugchoice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setup Charger

Configures initial settings for a charger including phases, current limits, and other configuration. The charger will automatically restart after a successful setup. This endpoint is rate limited to 1 request per 60 seconds per charger.

<ParamField path="charger" type="string" required>
  The UUID of the charger to set up.
</ParamField>

<ParamField body="phases" type="integer" required>
  The number of phases. Must be `1` or `3`.
</ParamField>

<ParamField body="max_current" type="integer" required>
  The maximum current in Amperes. Must be at least 6.
</ParamField>

<ParamField body="group" type="integer">
  The location group ID to assign the charger to. Must reference an existing location group.
</ParamField>

<ParamField body="net_type" type="string">
  The electrical network type. One of `IT`, `TT`, `TN`, or `unknown`.
</ParamField>

<ParamField body="phase_rotation" type="string">
  The phase rotation configuration. The length must match the number of phases. Valid values for 3 phases: `RST`, `RTS`, `SRT`, `STR`, `TRS`, `TSR`. Valid values for 1 phase: `R`, `S`, `T`.
</ParamField>

## Response

<ResponseField name="message" type="string">
  A success message indicating the charger will restart.
</ResponseField>

<ResponseField name="setup_pending" type="boolean">
  Whether the setup is still pending.
</ResponseField>
