Onboard homes programmatically
Authentication can be done in two different ways. Session tokens are useful for frontend calls, while API keys are useful for backend calls.
x-ws-api-key
{ 'x-ws-api-key': '{apiKey}' }
Authorization
as: Bearer {sessionToken}
{ 'Authorization': 'Bearer {sessionToken}' }
Use this endpoint to get a session token (helpful for frontend calls):
[POST] /v1/onboarding/session-token/generate
Fetch all utilities and rate plans for a given zip code.
[POST] /v1/utility/get
Create Home with basic details, connecting to the utility, and select a rate plan.
[POST] /v1/homes/create
Provide details about Solar System.
[POST] /v1/homes/solar/create
See the Price Signal documentation for more details.
Onboard homes programmatically
Authentication can be done in two different ways. Session tokens are useful for frontend calls, while API keys are useful for backend calls.
x-ws-api-key
{ 'x-ws-api-key': '{apiKey}' }
Authorization
as: Bearer {sessionToken}
{ 'Authorization': 'Bearer {sessionToken}' }
Use this endpoint to get a session token (helpful for frontend calls):
[POST] /v1/onboarding/session-token/generate
Fetch all utilities and rate plans for a given zip code.
[POST] /v1/utility/get
Create Home with basic details, connecting to the utility, and select a rate plan.
[POST] /v1/homes/create
Provide details about Solar System.
[POST] /v1/homes/solar/create
See the Price Signal documentation for more details.