For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
DocsAPI Reference
DocsAPI Reference
  • Docs
    • Welcome
    • Quickstart
    • Concepts
    • Common workflows
  • SDKs
    • Python
    • TypeScript
  • Authentication
    • Overview
  • Reference
    • API reference
    • Support
Dashboard
LogoLogo
On this page
  • Who it’s for
  • Use cases
  • How auth works
  • Where to go next
Docs

OCPPLAB Gateway

Tenant-scoped EV charging API for locations, charger deployments, and OCPP simulator control

||View as Markdown|
Was this page helpful?
Edit this page
Next

Quickstart

Built with

OCPPLAB Gateway is a REST API for provisioning charging locations, deploying chargers, and driving OCPP 1.6 and 2.0.1 simulator workflows. Point it at any CSMS over WebSocket and run real OCPP traffic for testing, integration, or fleet pilots.

Quickstart

Create a location, deploy a charger, and send your first OCPP command in 5 steps.

Concepts

Tenants, locations, chargers, commands, and OCPI in one page.

Python SDK

pip install ocpplab and start provisioning in Python.

Node.js SDK

npm install ocpplab and call the API from Node or the browser.


Who it’s for

OCPPLAB Gateway is built for teams that need to exercise real OCPP behavior without plugging in physical hardware:

  • CPO engineering teams validating a new CSMS release against many charger models at once
  • Charger manufacturers replaying OCPP 1.6 and 2.0.1 scenarios against partner backends
  • Integrators running acceptance tests for fleet, roaming, and OCPI partners
  • Protocol engineers debugging low-level OCPP message flows with full traffic logs

Use cases

CSMS regression testing

Deploy N chargers across M locations, replay BootNotification, StatusNotification, and transaction flows, then diff logs against a baseline.

OCPI pilot provisioning

Spin up a full CPO bundle (locations, chargers, OCPI credentials) in one call for eMSP integration testing.

Load and fault simulation

Inject OverCurrent, OverTemperature, and EVSE faults across a fleet to validate alerting and recovery paths.

How auth works

Every tenant-aware route takes a single header:

1Authorization: Bearer <jwt>

User tokens are pre-scoped to one tenant, so the bearer header is all you need. See Authentication for details.

Where to go next

Start with the Quickstart to make your first requests in 5 steps. For bulk provisioning, OCPI bundles, and fault injection, see Common workflows. Every endpoint is documented in the API reference with shell, Python, and Node samples.