Skip to main content

Ready to make your code electric?

Light's API and platform lets you deliver grid electricity to a customer's home. Here you'll find all of the resources to make that happen.

Get started

Solutions

APIs

Make a bespoke experience using your own UI and our endpoints. There's two APIs available:

App API

All endpoints that just need authorization with your app, like getting a user or plan details.

View endpoints
Account API

Endpoints that need user auth to complete actions on their behalf, like enrolling in a plan.

View endpoints

Embedded flows

Add already prepared UI flows as modals to your existing user journey. Embedded flows can be launched from your web or mobile appto fulfill experiences like Enrollment or Billing.

Dashboard

Manage your apps, tokens, and more within our dashboard. Also use the dashboard to test sandbox users.

Log in

Webhooks

Avoid the need for constant polling by receiving real-time notifications about events in the Light platform.

Learn more

No-code web app

On a deadline? We also have a prebuilt app that you can white-label with no-code to get started.

Reach out for details.

Entities

Apps

An application or integration built on Light

Accounts

A prospective or active electricity customer

Locations

The physical address where electricity is used

Plans

The electricity rate plans available to consumers

Invoices

Billing statements for electricity use over time

Learn key concepts

Resources

Quickstart

Go from 0 to 1.21 gigawatts in 30 minutes. This tutorial will have you set up your sandbox app, enrolling test users, and verify their enrollment.

Get started

Guides

Our guides cover each experience your customers will expect from a power company, from enrollment to contract renewal.

Start first guide

API reference

Our APIs are split between the app that the plans are run on and the accounts your customers hold within the app.

View endpoints
TypeScript

Example app

Are you a hands-on learner? We have all of the experiences coded in a React/Next.js app so you can see how it all works together.

LLMs.txt

Teach your AI how to code with Light

Using AI to code? Provide your coding agent a link to our LLMs.txt or paste the file into your AI's context to get help developing.

All guides

Enrollment

When customers want to view their offer for a power plan and potentially sign up.

Billing

Enrolled customers can view and make a payment ahead of time.

Documents

Enrolled customers can access their Electricity Facts Label and other plan details.

Energy usage

Help enrolled customers track and understand their energy usage patterns.

Modifying service

Send enrolled customers renewal offers and let them cancel their service.

Renewal

When customers are approaching the end of their first contract and need to renew.