Display our onboarding UI in your app
const { url } = await getWattshiftOnboardingUrl(); const webview = document.createElement("webview"); webview.src = url; document.body.appendChild(webview);
curl -X POST "https://api.wattshift.com/v1/onboarding/status/get" -D '{ "homeId": "home id" }' -H "x-ws-api-key: your api key"