Skip to main content
POST
/
modules
/
json
Create Module (JSON)
curl --request POST \
  --url https://api.example.com/modules/json

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.