When a third-party application — a HEMS, an EV charger, a home-automation hub — needs to read or act on a Nomos customer’s data, the customer logs in with their Nomos credentials on a Nomos-hosted page and explicitly grants your application access. We hand back anDocumentation Index
Fetch the complete documentation index at: https://docs.nomos.energy/llms.txt
Use this file to discover all available pages before exploring further.
access_token and refresh_token your backend stores against the customer’s account.
Once you have the tokens, continue with Load shifting and optimization to pull prices and drive flexible loads.
Prerequisites
- A
client_idandclient_secretfor your application. Email support@nomos.energy to register. - One or more redirect URIs pre-registered with us. That’s where customers come back to after consenting.
1. Send the customer to authorize
Send the customer to our authorization endpoint. They’ll log in with their Nomos credentials and explicitly approve your application having access:redirect_uri with a single-use authorization code:
2. Exchange the code for tokens
From your backend, exchange the authorization code for tokens:refresh_token securely against the customer’s account; you’ll use it to keep the integration alive indefinitely.
3. Refresh tokens before they expire
Access tokens are valid for 60 minutes. Use the refresh token to mint new ones:UNAUTHORIZED, the customer has revoked access — send them through the authorize step again.
The full token lifecycle, including PKCE details, is documented under Authentication.
What’s next
Load shifting and optimization
Now that you have an access token, pull the customer’s 15-minute prices and
drive their flexible loads into the cheap intervals.
Authentication deep dive
Full Authorization Code + PKCE reference, including token rotation and error
handling.