Developer Documentation

Emobi Integration API — Developer Entry Point

REST API with OpenAPI 3.0 specification. OCPP WebSocket proxy endpoint for direct charger connections. Webhooks for all OCPP events — session start/end, station status, fault codes, meter values, demand response signals. SDKs for Python, Node.js, and Java. API access is issued after a deployment scoping call.

RESTAPI + Webhooks
OAS 3.0OpenAPI Spec
3Language SDKs
OAuth2Authentication

Authentication

API Authentication Overview

Emobi API uses OAuth 2.0 client credentials for server-to-server integration. API key header authentication is also available for simpler integrations.

Authentication — Python
import requests

# Exchange client credentials for access token
response = requests.post('https://api.getemobi.com/oauth2/token', data={
    'grant_type': 'client_credentials',
    'client_id': YOUR_CLIENT_ID,
    'client_secret': YOUR_CLIENT_SECRET,
    'scope': 'ocpp:read sessions:read'
})

token = response.json()['access_token']

# Use token in subsequent requests
stations = requests.get(
    'https://api.getemobi.com/v1/stations',
    headers={'Authorization': f'Bearer {token}'}
)

SDKs

Available Language SDKs

Py
Python SDK
pip install emobi-python · Python 3.9+
JS
Node.js SDK
npm install @emobi/sdk · Node 18+
Jv
Java SDK
Maven artifact · Java 17+ · Spring Boot ready

API Access

Ready to Build?

API access is provisioned after a deployment scoping call. We configure your OCPP WebSocket endpoint, set up your network namespace, and verify your webhook receiver. Contact the integration team to start the process.

Request API Access