This repository contains a complete Postman Collection and Environment setup for interacting with the Ngenic API.
It is designed to simplify testing, development, and integration with Ngenicβs smart energy management services.
- Documentation site: https://developer.ngenic.se
- Generate keys: https://developer.ngenic.se/tokens
| File | Description |
|---|---|
Ngenic.postman_collection.json |
The API collection containing predefined endpoints, methods, headers, and sample bodies. |
Ngenic.postman_environment.json |
The environment configuration containing key variables such as api_key, tuneUuid, and base URLs. |
- Open Postman.
- Click Import (top left corner).
- Choose the Files tab and select:
Ngenic.postman_collection.jsonNgenic.postman_environment.json
- After importing, both should appear in your workspace.
Before sending requests, make sure your environment variables are properly configured:
| Variable | Example | Description |
|---|---|---|
api_key |
your_api_token_here |
Your Ngenic API token used for authentication (Bearer Token). |
tuneUuid |
123e4567-e89b-12d3-a456-426614174000 |
The UUID of the Tune you want to interact with. |
β οΈ Do not commit environment files containing API keys or tokens to source control.
All requests use Bearer Token authentication via the api_key environment variable.
Ensure your token is valid; otherwise, requests will return 401 Unauthorized.
If your token is expired, retrieve a new one from your Ngenic account or API management console.
This collection covers a broad range of Ngenic API endpoints:
| Category | Description |
|---|---|
| Tunes | List all Tunes or fetch details for a specific Tune. |
| ControlSettings | Get or update Tune control settings (e.g., spot price factor, control mode). |
| Node | List all gateway nodes or fetch details for a specific node. |
| Measurements | Retrieve measurement data for nodes (historical, latest, or by type). |
| Status | Check node status for a Tune. |
| TuneUsers | Manage or list Tune users. |
| Room | Retrieve or modify room information and temperature targets. |
| SetpointSchedule | Manage heating/cooling schedules for Tunes. |
| UserAccount | Get or update user account details. |
Each request is pre-configured with required parameters, URL templates, and example request bodies.
GET https://app.ngenic.se/api/v3/tunes
Authorization: Bearer {{api_key}}