> ## 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.

# Add Card

Adds a new RFID card to the specified location.

<ParamField path="site" type="string" required>
  The UUID of the location.
</ParamField>

<ParamField body="name" type="string" required>
  The display name of the card. Maximum 255 characters.
</ParamField>

<ParamField body="id_token" type="string" required>
  The RFID token identifier. Maximum 20 characters.
</ParamField>

<ParamField body="charger_ids" type="array">
  An optional array of charger UUIDs to restrict the card to. Each UUID must belong to the location. Omit or pass an empty array to allow the card on all chargers at the location.
</ParamField>

## Response

<ResponseField name="id" type="integer">
  The numeric ID of the card.
</ResponseField>

<ResponseField name="name" type="string">
  The display name of the card.
</ResponseField>

<ResponseField name="id_token" type="string">
  The RFID token identifier of the card.
</ResponseField>

<ResponseField name="charger_ids" type="array">
  The UUIDs of the chargers this card is restricted to. An empty array means the card is allowed on all chargers at the location.
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO 8601 timestamp of when the card was created.
</ResponseField>

<ResponseField name="updated_at" type="string">
  ISO 8601 timestamp of when the card was last updated.
</ResponseField>
