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

# Create Module (JSON)

> Create a PV module from a JSON request body

# POST /modules/json

Create a new PV module by providing structured JSON instead of uploading a `.pan` file. This is useful when module specifications are already available in your application or when programmatically building a module library.

## Notes

* Requires a valid JWT with write access to the workspace.
* The request body must include `name` (non-empty string) and `properties` (dict of module specifications). The `aoi` field is optional.
* The `properties` dict should contain the same key-value structure produced by `.pan` file parsing (Voc, Isc, Pmax, temperature coefficients, dimensions, etc.).
* Extra fields beyond `name`, `properties`, and `aoi` are rejected (`400`).
* For uploading a PVsyst `.pan` file directly, use `POST /modules` instead.
