Introduction
API documentation for OCPP Charging Point Management System
This documentation aims to provide all the information you need to work with our API.
<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>
Authenticating requests
This API is not authenticated.
Endpoints
GET api/health
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/health" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/health"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": true,
"status": "healthy",
"timestamp": "2026-05-27T07:22:36+00:00",
"version": "1.0.0"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/ocpp/remote-start - Send RemoteStartTransaction to connected charger Uses new ConnectionRegistry for ReactPHP WebSocket connections
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp/remote-start" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp/remote-start"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/ocpp/remote-stop - Send RemoteStopTransaction to connected charger Uses new ConnectionRegistry for ReactPHP WebSocket connections
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp/remote-stop" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp/remote-stop"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/mobile/register
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vmqeopfuudtdsufvyvddq\",
\"email\": \"kunde.eloisa@example.com\",
\"phone\": \"hfqcoynlazghdtqtq\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vmqeopfuudtdsufvyvddq",
"email": "kunde.eloisa@example.com",
"phone": "hfqcoynlazghdtqtq"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/mobile/send-otp
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/send-otp" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/send-otp"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/mobile/verify-otp
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/verify-otp" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"consequatur\",
\"otp\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/verify-otp"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "consequatur",
"otp": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/mobile/resend-otp
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/resend-otp" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/resend-otp"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Step 1: Initiate account linking process Generates a temporary linking session for unverified account recovery
POST /api/mobile/account-linking/initiate Body: { "phone": "9840753503" } Response: linking_session_id for use in verification
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/account-linking/initiate" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"vmqeopfuudtdsufvy\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/account-linking/initiate"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "vmqeopfuudtdsufvy"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Step 2: Verify OTP for account linking Validates the OTP sent to the registered phone number
POST /api/mobile/account-linking/verify-otp Body: { "linking_session_id": "link_xxx", "phone": "9840753503", "otp": "1234" }
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/account-linking/verify-otp" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"linking_session_id\": \"consequatur\",
\"phone\": \"mqeopfuudtdsufvyv\",
\"otp\": \"8107\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/account-linking/verify-otp"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"linking_session_id": "consequatur",
"phone": "mqeopfuudtdsufvyv",
"otp": "8107"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Step 3: Link/Update account with new information Merges the new registration data with existing account
POST /api/mobile/account-linking/link Body: { "linking_session_id": "link_xxx", "name": "Wahid A", "email": "newemail@example.com", // optional - can add alternate email "action": "update" | "login_only" }
Actions:
- "update": Update account with new details
- "login_only": Just verify account ownership, don't update details
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/account-linking/link" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"linking_session_id\": \"consequatur\",
\"name\": \"mqeopfuudtdsufvyvddqa\",
\"email\": \"eloisa.harber@example.com\",
\"action\": \"update\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/account-linking/link"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"linking_session_id": "consequatur",
"name": "mqeopfuudtdsufvyvddqa",
"email": "eloisa.harber@example.com",
"action": "update"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Cancel account linking session
POST /api/mobile/account-linking/cancel Body: { "linking_session_id": "link_xxx" }
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/account-linking/cancel" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"linking_session_id\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/account-linking/cancel"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"linking_session_id": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/mobile/profile
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/profile" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/profile"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/mobile/update-profile
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/update-profile" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/update-profile"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vmqeopfuudtdsufvyvddq"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/mobile/add-vehicle
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/add-vehicle" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"manufacturer\": \"vmqeopfuudtdsufvyvddq\",
\"model\": \"amniihfqcoynlazghdtqt\",
\"registration_number\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/add-vehicle"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"manufacturer": "vmqeopfuudtdsufvyvddq",
"model": "amniihfqcoynlazghdtqt",
"registration_number": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/mobile/vehicles
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/vehicles" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/vehicles"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/mobile/update-vehicle/{id}
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/update-vehicle/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"manufacturer\": \"vmqeopfuudtdsufvyvddq\",
\"model\": \"amniihfqcoynlazghdtqt\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/update-vehicle/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"manufacturer": "vmqeopfuudtdsufvyvddq",
"model": "amniihfqcoynlazghdtqt"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/mobile/delete-vehicle/{id}
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/delete-vehicle/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/delete-vehicle/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/mobile/nearby-stations
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/nearby-stations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/nearby-stations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/chargers/station/{stationId} Get chargers by station ID
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/station-chargers/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/station-chargers/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/mobile/stations - Get all stations for EVtron mobile app
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/stations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/stations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/mobile/stations/:id - Get detailed station information for EVtron mobile app
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/stations/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/stations/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get manufacturers list
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/scan/manufacturers" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/scan/manufacturers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get models list based on manufacturer
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/scan/models" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/scan/models"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get connector types list
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/scan/connector-types" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/scan/connector-types"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get current types list (AC/DC)
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/scan/current-types" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/scan/current-types"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Save scan data
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/scan/save" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/scan/save"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Process scanner data (QR scan or manual ID entry)
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/scan/process" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/scan/process"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Validate charger before starting charging session Performs 10 critical validation checks
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/scan/validate-next" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/scan/validate-next"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get saved charger details for the authenticated user
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/scan/saved" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/scan/saved"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/mobile/scan/test
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/scan/test" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/scan/test"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/mobile/wishlist - Get user's wishlist with station details
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/wishlist" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/wishlist"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/mobile/wishlist - Add station to wishlist
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/wishlist" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/wishlist"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT /api/mobile/wishlist/{id} - Update wishlist item
Example request:
curl --request PUT \
"http://127.0.0.1:8000/api/mobile/wishlist/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/wishlist/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE /api/mobile/wishlist/{id} - Remove station from wishlist
Example request:
curl --request DELETE \
"http://127.0.0.1:8000/api/mobile/wishlist/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/wishlist/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/mobile/wishlist/check/{stationId} - Check if station is in user's wishlist
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/wishlist/check/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/wishlist/check/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/mobile/wishlist/favorites - Get favorite stations only
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/wishlist/favorites" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/wishlist/favorites"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get charging history for the last 10 days
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/charging-history" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/charging-history"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get charging history summary statistics
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/charging-history/summary" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/charging-history/summary"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get charging history for a specific charger
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/charging-history/charger/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/charging-history/charger/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get weekly charging percentage data (Monday to Sunday)
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/charging-history/weekly-percentage" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/charging-history/weekly-percentage"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/mobile/complaints
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/complaints" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"subject\": \"vmqeopfuudtdsufvyvddq\",
\"description\": \"Dolores molestias ipsam sit.\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/mobile/complaints"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"subject": "vmqeopfuudtdsufvyvddq",
"description": "Dolores molestias ipsam sit."
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/mobile/complaints
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/complaints" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/complaints"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/mobile/complaints/{id}
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/complaints/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/complaints/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Start a charging session POST /api/mobile/charging/start
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/charging/start" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/charging/start"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Stop an active charging session POST /api/mobile/charging/stop/{session_id}
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/mobile/charging/stop/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/charging/stop/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get active charging session details GET /api/mobile/charging/current
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/charging/current" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/charging/current"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get charging session history GET /api/mobile/charging/history
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/charging/history" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/charging/history"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get live charging session data (real-time polling) GET /api/mobile/charging/live
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/mobile/charging/live" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/mobile/charging/live"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/mobile/stations - Get all stations for EVtron mobile app
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/public/mobile/stations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/public/mobile/stations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": true,
"count": 3,
"pagination": {
"page": 1,
"limit": 20,
"total": 3,
"totalPages": 1
},
"data": [
{
"id": 1,
"station_name": "Downtown Charging Hub",
"full_address": "123 Main Street, New York, NY 10001",
"latitude": "40.7128",
"longitude": "-74.006",
"distance_from_user": null,
"status": "active",
"station_type": "public",
"is_24_7": true,
"estimated_charging_price": "5.00",
"total_chargers": 2,
"available_chargers": 1,
"connector_ports": [
{
"type": "CCS",
"status": "Available",
"max_power": 150
},
{
"type": "CHAdeMO",
"status": "Available",
"max_power": 100
},
{
"type": null,
"status": "Charging",
"max_power": null
},
{
"type": "Type_2",
"status": "Available",
"max_power": 7
}
],
"amenities": [
"WiFi",
"Cafe",
"Parking"
],
"real_time_availability": true,
"wishlist_status": null,
"created_at": "2026-05-14T10:03:55.000000Z"
},
{
"id": 2,
"station_name": "Mall Charging Station",
"full_address": "456 Oak Avenue, Los Angeles, CA 90001",
"latitude": "34.0522",
"longitude": "-118.2437",
"distance_from_user": null,
"status": "active",
"station_type": "public",
"is_24_7": false,
"estimated_charging_price": "4.50",
"total_chargers": 1,
"available_chargers": 0,
"connector_ports": [
{
"type": "CCS",
"status": "Available",
"max_power": 120
},
{
"type": "Type_2",
"status": "Available",
"max_power": 11
}
],
"amenities": [
"WiFi",
"Shopping",
"Restaurants"
],
"real_time_availability": false,
"wishlist_status": null,
"created_at": "2026-05-14T10:03:55.000000Z"
},
{
"id": 3,
"station_name": "Airport Charging Depot",
"full_address": "789 Aviation Boulevard, Chicago, IL 60601",
"latitude": "41.8781",
"longitude": "-87.6298",
"distance_from_user": null,
"status": "active",
"station_type": "public",
"is_24_7": true,
"estimated_charging_price": "6.00",
"total_chargers": 1,
"available_chargers": 0,
"connector_ports": [
{
"type": "CCS",
"status": "Available",
"max_power": 350
}
],
"amenities": [
"Lounge",
"WiFi",
"Charging Pods"
],
"real_time_availability": false,
"wishlist_status": null,
"created_at": "2026-05-14T10:03:55.000000Z"
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/mobile/stations/:id - Get detailed station information for EVtron mobile app
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/public/mobile/stations/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/public/mobile/stations/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Failed to get station details"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get manufacturers list
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/public/mobile/scan/manufacturers" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/public/mobile/scan/manufacturers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": true,
"data": [
{
"id": 1,
"name": "Tesla"
},
{
"id": 2,
"name": "ABB"
},
{
"id": 3,
"name": "Siemens"
},
{
"id": 4,
"name": "Schneider Electric"
},
{
"id": 5,
"name": "ChargePoint"
},
{
"id": 6,
"name": "EVBox"
},
{
"id": 7,
"name": "Blink Charging"
},
{
"id": 8,
"name": "Webasto"
},
{
"id": 9,
"name": "Delta Electronics"
},
{
"id": 10,
"name": "Eaton"
}
],
"message": "Manufacturers retrieved successfully"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get models list based on manufacturer
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/public/mobile/scan/models" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/public/mobile/scan/models"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (422):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Validation failed",
"message": {
"manufacturer_id": [
"The manufacturer id field is required."
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get connector types list
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/public/mobile/scan/connector-types" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/public/mobile/scan/connector-types"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": true,
"data": [
{
"id": 1,
"name": "Type 1 (J1772)",
"description": "North America standard"
},
{
"id": 2,
"name": "Type 2 (Mennekes)",
"description": "European standard"
},
{
"id": 3,
"name": "CHAdeMO",
"description": "Japanese DC fast charging"
},
{
"id": 4,
"name": "CCS (Combined Charging System)",
"description": "AC/DC combo"
},
{
"id": 5,
"name": "CCS2",
"description": "European CCS standard"
},
{
"id": 6,
"name": "Tesla Supercharger",
"description": "Tesla proprietary"
},
{
"id": 7,
"name": "NACS (North American Charging Standard)",
"description": "Tesla standard for others"
},
{
"id": 8,
"name": "GB/T",
"description": "Chinese standard"
}
],
"message": "Connector types retrieved successfully"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get current types list (AC/DC)
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/public/mobile/scan/current-types" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/public/mobile/scan/current-types"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": true,
"data": [
{
"id": 1,
"name": "AC",
"description": "Alternating Current"
},
{
"id": 2,
"name": "DC",
"description": "Direct Current"
}
],
"message": "Current types retrieved successfully"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get saved charger details for the authenticated user
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/public/mobile/scan/saved" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/public/mobile/scan/saved"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": true,
"data": [],
"message": "No saved charger details (user not authenticated)"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Save scan data
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/public/mobile/scan/save" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/public/mobile/scan/save"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Process scanner data (QR scan or manual ID entry)
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/public/mobile/scan/process" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/public/mobile/scan/process"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get charging history for the last 10 days
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/public/mobile/charging-history" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/public/mobile/charging-history"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": true,
"data": [
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-CP001",
"model_name": "Wallbox Pulsar Plus",
"vehicle_name": "Not Assigned",
"units": 0,
"amount": 0,
"status": "ongoing",
"start_time": "2026-05-22T10:24:33.000000Z",
"end_time": null
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-1",
"model_name": "Tesla Supercharger V3",
"vehicle_name": "Wahid A",
"units": 0,
"amount": 0,
"status": "active",
"start_time": "2026-05-22T10:22:04.000000Z",
"end_time": null
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-CP001",
"model_name": "Wallbox Pulsar Plus",
"vehicle_name": "Not Assigned",
"units": 0,
"amount": 0,
"status": "completed",
"start_time": "2026-05-22T09:35:58.000000Z",
"end_time": "2026-05-22T09:49:01.000000Z"
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-1",
"model_name": "Tesla Supercharger V3",
"vehicle_name": "Wahid A",
"units": 1.7,
"amount": 8.5,
"status": "completed",
"start_time": "2026-05-22T09:34:21.000000Z",
"end_time": "2026-05-22T10:21:56.000000Z"
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-1",
"model_name": "Tesla Supercharger V3",
"vehicle_name": "Wahid A",
"units": 0.9,
"amount": 4.5,
"status": "completed",
"start_time": "2026-05-22T07:54:10.000000Z",
"end_time": "2026-05-22T07:54:39.000000Z"
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-CP001",
"model_name": "Wallbox Pulsar Plus",
"vehicle_name": "Not Assigned",
"units": 0,
"amount": 0,
"status": "completed",
"start_time": "2026-05-22T07:33:09.000000Z",
"end_time": "2026-05-22T07:33:31.000000Z"
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-1",
"model_name": "Tesla Supercharger V3",
"vehicle_name": "Wahid A",
"units": 0,
"amount": 0,
"status": "active",
"start_time": "2026-05-22T06:24:27.000000Z",
"end_time": null
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-1",
"model_name": "Tesla Supercharger V3",
"vehicle_name": "Wahid A",
"units": 3.1,
"amount": 15.5,
"status": "completed",
"start_time": "2026-05-22T05:27:22.000000Z",
"end_time": "2026-05-22T05:35:01.000000Z"
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-1",
"model_name": "Tesla Supercharger V3",
"vehicle_name": "Wahid A",
"units": 3,
"amount": 15,
"status": "completed",
"start_time": "2026-05-21T13:27:55.000000Z",
"end_time": "2026-05-22T07:52:14.000000Z"
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-1",
"model_name": "Tesla Supercharger V3",
"vehicle_name": "Wahid A",
"units": 0,
"amount": 0,
"status": "active",
"start_time": "2026-05-21T10:19:26.000000Z",
"end_time": null
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-CP001",
"model_name": "Wallbox Pulsar Plus",
"vehicle_name": "Not Assigned",
"units": 40,
"amount": 200,
"status": "completed",
"start_time": "2026-05-21T10:14:30.000000Z",
"end_time": "2026-05-21T10:15:37.000000Z"
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-CP001",
"model_name": "Wallbox Pulsar Plus",
"vehicle_name": "Not Assigned",
"units": 2000,
"amount": 10000,
"status": "charging",
"start_time": "2026-05-21T10:10:06.000000Z",
"end_time": null
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-1",
"model_name": "Tesla Supercharger V3",
"vehicle_name": "Wahid A",
"units": 4,
"amount": 20,
"status": "completed",
"start_time": "2026-05-21T10:07:56.000000Z",
"end_time": "2026-05-21T10:08:50.000000Z"
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-CP001",
"model_name": "Wallbox Pulsar Plus",
"vehicle_name": "Not Assigned",
"units": 110,
"amount": 550,
"status": "completed",
"start_time": "2026-05-21T10:03:25.000000Z",
"end_time": "2026-05-21T10:07:00.000000Z"
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-1",
"model_name": "Tesla Supercharger V3",
"vehicle_name": "Wahid A",
"units": 0,
"amount": 0,
"status": "active",
"start_time": "2026-05-21T09:56:40.000000Z",
"end_time": null
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-1",
"model_name": "Tesla Supercharger V3",
"vehicle_name": "Wahid A",
"units": 5,
"amount": 25,
"status": "completed",
"start_time": "2026-05-21T08:12:36.000000Z",
"end_time": "2026-05-21T08:34:33.000000Z"
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-CP001",
"model_name": "Wallbox Pulsar Plus",
"vehicle_name": "Not Assigned",
"units": 0,
"amount": 0,
"status": "ongoing",
"start_time": "2026-05-21T05:46:51.000000Z",
"end_time": null
},
{
"station_name": "Downtown Charging Hub",
"charger_id": "CHR-1",
"model_name": "Tesla Supercharger V3",
"vehicle_name": "Not Assigned",
"units": 0,
"amount": 0,
"status": "ongoing",
"start_time": "2026-05-20T11:41:37.000000Z",
"end_time": null
}
],
"message": "Charging history retrieved successfully",
"total_records": 18,
"date_range": {
"from": "2026-05-17T00:00:00.000000Z",
"to": "2026-05-27T07:22:38.448852Z"
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/auth/register - Register new user
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/auth/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/auth/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/auth/login - Login user
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/auth/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/auth/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/auth/logout - Logout user
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/auth/logout" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/auth/logout"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/auth/refresh - Get user info from token
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/auth/refresh" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/auth/refresh"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/clients/list - Get all clients (public endpoint for dropdown)
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/clients/list" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/clients/list"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": true,
"data": [
{
"id": 3,
"name": "AutoCharge Systems"
},
{
"id": 5,
"name": "EV Mobility Services"
},
{
"id": 2,
"name": "Green Energy Pvt Ltd"
},
{
"id": 4,
"name": "Smart Grid Networks"
},
{
"id": 6,
"name": "Stacey Dunn"
},
{
"id": 1,
"name": "TechCorp Solutions"
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Handle OCPP Boot Notification
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp-charger/boot-notification" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": \"consequatur\",
\"firmware_version\": \"consequatur\",
\"serial_number\": \"consequatur\",
\"model\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-charger/boot-notification"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": "consequatur",
"firmware_version": "consequatur",
"serial_number": "consequatur",
"model": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Handle OCPP Heartbeat
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp-charger/heartbeat" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-charger/heartbeat"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Handle OCPP Status Notification
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp-charger/status-notification" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": \"consequatur\",
\"connector_id\": 17,
\"status\": \"Available\",
\"error_code\": \"consequatur\",
\"timestamp\": \"2026-05-27T07:22:38\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-charger/status-notification"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": "consequatur",
"connector_id": 17,
"status": "Available",
"error_code": "consequatur",
"timestamp": "2026-05-27T07:22:38"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Handle OCPP Start Transaction
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp-charger/start-transaction" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": \"consequatur\",
\"connector_id\": 17,
\"id_tag\": \"consequatur\",
\"meter_start\": 17,
\"timestamp\": \"2026-05-27T07:22:38\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-charger/start-transaction"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": "consequatur",
"connector_id": 17,
"id_tag": "consequatur",
"meter_start": 17,
"timestamp": "2026-05-27T07:22:38"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Handle OCPP Stop Transaction
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp-charger/stop-transaction" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"transaction_id\": \"consequatur\",
\"meter_stop\": 17,
\"timestamp\": \"2026-05-27T07:22:38\",
\"reason\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-charger/stop-transaction"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"transaction_id": "consequatur",
"meter_stop": 17,
"timestamp": "2026-05-27T07:22:38",
"reason": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Handle OCPP Meter Values
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp-charger/meter-values" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": \"consequatur\",
\"connector_id\": 17,
\"meter_value\": []
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-charger/meter-values"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": "consequatur",
"connector_id": 17,
"meter_value": []
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/chargers
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/chargers" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/chargers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/chargers
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/chargers" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/chargers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/chargers/{id}
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/chargers/CHR-3" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/chargers/CHR-3"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/chargers/{id}/status
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/chargers/CHR-3/status" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/chargers/CHR-3/status"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/chargers/{id}
Example request:
curl --request PUT \
"http://127.0.0.1:8000/api/chargers/CHR-3" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/chargers/CHR-3"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/chargers/{id}
Example request:
curl --request DELETE \
"http://127.0.0.1:8000/api/chargers/CHR-3" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/chargers/CHR-3"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/chargers/hub/{hubId}
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/chargers/hub/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/chargers/hub/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/chargers/mapping
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/chargers/mapping" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/chargers/mapping"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/stations/mobile - Get full station list for mobile app
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/stations/mobile" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/stations/mobile"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/stations/count - Get total stations count
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/stations/count" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/stations/count"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/stations - Get all stations
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/stations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/stations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/stations - Create new station
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/stations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/stations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/stations/:id - Get specific station
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/stations/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/stations/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/stations/:id/details - Get all details for a station
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/stations/consequatur/details" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/stations/consequatur/details"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/stations/:id/chargers - Get all chargers for a station
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/stations/consequatur/chargers" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/stations/consequatur/chargers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT /api/stations/:id - Update station
Example request:
curl --request PUT \
"http://127.0.0.1:8000/api/stations/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/stations/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE /api/stations/:id - Delete station
Example request:
curl --request DELETE \
"http://127.0.0.1:8000/api/stations/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/stations/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/connectors
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/connectors" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/connectors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/connectors
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/connectors" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/connectors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/connectors/{id}
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/connectors/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/connectors/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/connectors/{id}
Example request:
curl --request PUT \
"http://127.0.0.1:8000/api/connectors/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/connectors/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/connectors/{id}
Example request:
curl --request DELETE \
"http://127.0.0.1:8000/api/connectors/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/connectors/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/connectors/charger/{chargerId}
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/connectors/charger/CHR-3" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/connectors/charger/CHR-3"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/connectors/mapping
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/connectors/mapping" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/connectors/mapping"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/rfid - Get all RFID users
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/rfid" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/rfid"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/rfid - Create new RFID user
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/rfid" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/rfid"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/rfid/:id - Get specific RFID user
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/rfid/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/rfid/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT /api/rfid/:id - Update RFID user
Example request:
curl --request PUT \
"http://127.0.0.1:8000/api/rfid/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/rfid/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE /api/rfid/:id - Delete RFID user
Example request:
curl --request DELETE \
"http://127.0.0.1:8000/api/rfid/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/rfid/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/users
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/users" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/users"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/clients - Get all clients
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/clients" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/clients"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/clients - Create new client
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/clients" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/clients"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/clients/:id - Get specific client
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/clients/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/clients/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT /api/clients/:id - Update client
Example request:
curl --request PUT \
"http://127.0.0.1:8000/api/clients/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/clients/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE /api/clients/:id - Delete client
Example request:
curl --request DELETE \
"http://127.0.0.1:8000/api/clients/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/clients/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/tariffs - Get all tariffs
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/tariffs" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/tariffs"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/tariffs - Create new tariff
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/tariffs" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/tariffs"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/tariffs/:id - Get specific tariff
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/tariffs/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/tariffs/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT /api/tariffs/:id - Update tariff
Example request:
curl --request PUT \
"http://127.0.0.1:8000/api/tariffs/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/tariffs/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE /api/tariffs/:id - Delete tariff
Example request:
curl --request DELETE \
"http://127.0.0.1:8000/api/tariffs/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/tariffs/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/transactions - Get all transactions (basic and RFID sessions)
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/transactions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/transactions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/transactions/active - Get all active charging sessions
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/transactions/active" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/transactions/active"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/transactions/stats - Get transaction statistics
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/transactions/stats" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/transactions/stats"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/transactions/charger/:chargerId - Get transactions for a specific charger
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/transactions/charger/CHR-3" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/transactions/charger/CHR-3"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/transactions/:id - Get specific transaction
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/transactions/23" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/transactions/23"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/transactions/rfid/:id - Get specific RFID session
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/transactions/rfid/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/transactions/rfid/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/payments - Get all payments with required details
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/payments" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/payments"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/payments/{id} - Get specific payment details
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/payments/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/payments/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT /api/payments/{id} - Update payment information
Example request:
curl --request PUT \
"http://127.0.0.1:8000/api/payments/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/payments/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/dashboard - Get dashboard statistics
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/dashboard" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/dashboard"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/dashboard/summary - Enhanced dashboard summary
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/dashboard/summary" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/dashboard/summary"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/dashboard/revenue-trend - Revenue trend data for charts
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/dashboard/revenue-trend" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/dashboard/revenue-trend"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/dashboard/energy-by-station - Energy consumption by station
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/dashboard/energy-by-station" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/dashboard/energy-by-station"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/dashboard/recent-sessions - Recent charging sessions
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/dashboard/recent-sessions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/dashboard/recent-sessions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/dashboard/stats - Comprehensive dashboard statistics
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/dashboard/stats" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/dashboard/stats"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/wallet
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/wallet" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/wallet"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/wallet/recharge
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/wallet/recharge" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount\": 21,
\"description\": \"Dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/wallet/recharge"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"amount": 21,
"description": "Dolorum amet iste laborum eius est dolor."
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/wallet/transactions
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/wallet/transactions" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"limit\": 21,
\"type\": \"debit\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/wallet/transactions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"limit": 21,
"type": "debit"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/wallet/status
Example request:
curl --request PUT \
"http://127.0.0.1:8000/api/wallet/status" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"suspended\",
\"credit_limit\": 21
}"
const url = new URL(
"http://127.0.0.1:8000/api/wallet/status"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "suspended",
"credit_limit": 21
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/sessions
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/sessions" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"interrupted\",
\"limit\": 21
}"
const url = new URL(
"http://127.0.0.1:8000/api/sessions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "interrupted",
"limit": 21
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/sessions/active
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/sessions/active" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/sessions/active"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/sessions/statistics
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/sessions/statistics" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/sessions/statistics"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/sessions/history
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/sessions/history" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:39\",
\"end_date\": \"2107-06-25\",
\"limit\": 13
}"
const url = new URL(
"http://127.0.0.1:8000/api/sessions/history"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:39",
"end_date": "2107-06-25",
"limit": 13
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/sessions/{id}
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/sessions/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/sessions/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/sessions
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/sessions" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": \"consequatur\",
\"connector_id\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/sessions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": "consequatur",
"connector_id": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/sessions/{id}/end
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/sessions/consequatur/end" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"energy_consumed\": 73,
\"cost\": 45,
\"stop_reason\": \"qeopfuudtdsufvyvddqam\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/sessions/consequatur/end"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"energy_consumed": 73,
"cost": 45,
"stop_reason": "qeopfuudtdsufvyvddqam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/hubs
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/hubs" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/hubs
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/hubs" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/hubs/mapping
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/hubs/mapping" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs/mapping"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/hubs/client/{clientId}
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/hubs/client/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs/client/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/hubs/{id}
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/hubs/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/hubs/{id}
Example request:
curl --request PUT \
"http://127.0.0.1:8000/api/hubs/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/hubs/{id}
Example request:
curl --request DELETE \
"http://127.0.0.1:8000/api/hubs/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/hubs/{hubId}/users
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/hubs/consequatur/users" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs/consequatur/users"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/hubs/{hubId}/users
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/hubs/consequatur/users" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs/consequatur/users"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/hubs/{hubId}/users/{userId}
Example request:
curl --request DELETE \
"http://127.0.0.1:8000/api/hubs/consequatur/users/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs/consequatur/users/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/hubs/{hubId}/transactions
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/hubs/consequatur/transactions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs/consequatur/transactions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/hubs/{hubId}/charger-operations
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/hubs/consequatur/charger-operations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/hubs/consequatur/charger-operations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/ocpp/remote-start/:chargerId - Send RemoteStartTransaction
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp/remote-start/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp/remote-start/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/ocpp/remote-stop/:chargerId - Send RemoteStopTransaction
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp/remote-stop/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp/remote-stop/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/ocpp/reset/:chargerId - Send Reset command
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp/reset/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp/reset/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/ocpp/unlock-connector/:chargerId - Send UnlockConnector
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp/unlock-connector/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp/unlock-connector/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/ocpp/logs/:chargerId - Get OCPP logs for a charger
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/ocpp/logs/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp/logs/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/ocpp/logs - Get all OCPP logs with pagination
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/ocpp/logs" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp/logs"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/ocpp/stats - Get OCPP statistics
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/ocpp/stats" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp/stats"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /api/ocpp/log/:id - Get single OCPP log detail
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/ocpp/log/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp/log/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /api/ocpp/register-mock - Register a charger with mock connection for testing
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp/register-mock" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp/register-mock"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/ocpp-v2/start-charging
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp-v2/start-charging" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": \"consequatur\",
\"connector_id\": 17,
\"idTag\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-v2/start-charging"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": "consequatur",
"connector_id": 17,
"idTag": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/ocpp-v2/stop-charging
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp-v2/stop-charging" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": \"consequatur\",
\"transaction_id\": 17
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-v2/stop-charging"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": "consequatur",
"transaction_id": 17
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/ocpp-v2/charger-status/{chargerId}
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/ocpp-v2/charger-status/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp-v2/charger-status/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/ocpp-v2/transaction-history
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/ocpp-v2/transaction-history" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": 17,
\"status\": \"cancelled\",
\"from\": \"2026-05-27T07:22:40\",
\"to\": \"2107-06-25\",
\"limit\": 13
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-v2/transaction-history"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": 17,
"status": "cancelled",
"from": "2026-05-27T07:22:40",
"to": "2107-06-25",
"limit": 13
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/ocpp-v2/meter-values
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/ocpp-v2/meter-values" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": 17,
\"transaction_id\": 17,
\"from\": \"2026-05-27T07:22:40\",
\"to\": \"2107-06-25\",
\"limit\": 13
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-v2/meter-values"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": 17,
"transaction_id": 17,
"from": "2026-05-27T07:22:40",
"to": "2107-06-25",
"limit": 13
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/ocpp-v2/connected-chargers
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/ocpp-v2/connected-chargers" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp-v2/connected-chargers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/ocpp-v2/active-transactions
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/ocpp-v2/active-transactions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/ocpp-v2/active-transactions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Sessions Report - Analyze charger usage patterns, user behavior, and operational efficiency
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/reports/sessions" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:40\",
\"end_date\": \"2107-06-25\",
\"status\": \"interrupted\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/reports/sessions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:40",
"end_date": "2107-06-25",
"status": "interrupted"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Export Sessions Report - Download CSV file of sessions data
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/reports/sessions/export" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:40\",
\"end_date\": \"2107-06-25\",
\"status\": \"active\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/reports/sessions/export"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:40",
"end_date": "2107-06-25",
"status": "active"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Energy Report - Monitor total energy consumption across locations, hubs, and units
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/reports/energy" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/reports/energy"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Revenue Report - Track revenue generation for business decisions
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/reports/revenue" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:40\",
\"end_date\": \"2107-06-25\",
\"group_by\": \"location\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/reports/revenue"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:40",
"end_date": "2107-06-25",
"group_by": "location"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Client & Location Reports - Advanced filtering and reporting
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/reports/client-location" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:40\",
\"end_date\": \"2107-06-25\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/reports/client-location"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:40",
"end_date": "2107-06-25"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Commission Reports - Profit, commissions applied, client earnings, platform revenue
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/reports/commission" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:40\",
\"end_date\": \"2107-06-25\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/reports/commission"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:40",
"end_date": "2107-06-25"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get firmware version visibility across all devices
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/firmware/versions" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"available\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/firmware/versions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "available"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get firmware version details for a specific charger
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/firmware/versions/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/firmware/versions/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Trigger firmware update for a specific charger
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/firmware/update/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"firmware_version\": \"consequatur\",
\"firmware_url\": \"https:\\/\\/www.mueller.com\\/laborum-eius-est-dolor-dolores-minus-voluptatem\",
\"priority\": \"high\",
\"retry_count\": 4
}"
const url = new URL(
"http://127.0.0.1:8000/api/firmware/update/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"firmware_version": "consequatur",
"firmware_url": "https:\/\/www.mueller.com\/laborum-eius-est-dolor-dolores-minus-voluptatem",
"priority": "high",
"retry_count": 4
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Trigger firmware update for multiple chargers (bulk update)
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/firmware/bulk-update" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"firmware_version\": \"consequatur\",
\"firmware_url\": \"https:\\/\\/www.mueller.com\\/laborum-eius-est-dolor-dolores-minus-voluptatem\",
\"priority\": \"high\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/firmware/bulk-update"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"firmware_version": "consequatur",
"firmware_url": "https:\/\/www.mueller.com\/laborum-eius-est-dolor-dolores-minus-voluptatem",
"priority": "high"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get firmware update status for a charger
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/firmware/status/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/firmware/status/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get chargers that need firmware updates (outdated versions)
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/firmware/outdated" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"target_version\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/firmware/outdated"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"target_version": "consequatur"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get OCPP logs for a charger
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/ocpp-integration/logs" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": \"consequatur\",
\"start_date\": \"2026-05-27T07:22:40\",
\"end_date\": \"2107-06-25\",
\"message_type\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-integration/logs"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": "consequatur",
"start_date": "2026-05-27T07:22:40",
"end_date": "2107-06-25",
"message_type": "consequatur"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Send OCPP command to charger
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/ocpp-integration/send-command" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"charger_id\": \"consequatur\",
\"command\": \"ChangeConfiguration\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/ocpp-integration/send-command"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"charger_id": "consequatur",
"command": "ChangeConfiguration"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all commissions
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/commissions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/commissions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create a new commission
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/commissions" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"applied_to\": \"hub\",
\"commission_type\": \"fixed\",
\"commission_value\": 73,
\"is_active\": true,
\"notes\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/commissions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"applied_to": "hub",
"commission_type": "fixed",
"commission_value": 73,
"is_active": true,
"notes": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get commission summary statistics
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/commissions/summary" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/commissions/summary"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get commission history
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/commissions/history" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:40\",
\"end_date\": \"2107-06-25\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/commissions/history"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:40",
"end_date": "2107-06-25"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get commission for a specific client
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/commissions/client/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/commissions/client/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get commission for a specific hub
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/commissions/hub/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/commissions/hub/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get a specific commission
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/commissions/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/commissions/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update an existing commission
Example request:
curl --request PUT \
"http://127.0.0.1:8000/api/commissions/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"commission_type\": \"fixed\",
\"commission_value\": 73,
\"is_active\": false,
\"notes\": \"consequatur\",
\"change_reason\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/commissions/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"commission_type": "fixed",
"commission_value": 73,
"is_active": false,
"notes": "consequatur",
"change_reason": "consequatur"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a commission
Example request:
curl --request DELETE \
"http://127.0.0.1:8000/api/commissions/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/commissions/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Activate/Deactivate commission
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/commissions/consequatur/toggle-status" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"is_active\": false,
\"change_reason\": \"consequatur\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/commissions/consequatur/toggle-status"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"is_active": false,
"change_reason": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get overall dashboard summary
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/business-dashboard/summary" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:40\",
\"end_date\": \"2107-06-25\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/business-dashboard/summary"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:40",
"end_date": "2107-06-25"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get client-wise dashboard data
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/business-dashboard/clients" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:40\",
\"end_date\": \"2107-06-25\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/business-dashboard/clients"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:40",
"end_date": "2107-06-25"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get hub-wise dashboard data
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/business-dashboard/hubs" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:40\",
\"end_date\": \"2107-06-25\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/business-dashboard/hubs"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:40",
"end_date": "2107-06-25"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get detailed dashboard for a specific client
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/business-dashboard/clients/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:41\",
\"end_date\": \"2107-06-25\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/business-dashboard/clients/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:41",
"end_date": "2107-06-25"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get detailed dashboard for a specific hub
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/business-dashboard/hubs/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:41\",
\"end_date\": \"2107-06-25\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/business-dashboard/hubs/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:41",
"end_date": "2107-06-25"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get top performing clients
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/business-dashboard/top-clients" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:41\",
\"end_date\": \"2107-06-25\",
\"limit\": 13
}"
const url = new URL(
"http://127.0.0.1:8000/api/business-dashboard/top-clients"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:41",
"end_date": "2107-06-25",
"limit": 13
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get top performing hubs
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/business-dashboard/top-hubs" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-05-27T07:22:41\",
\"end_date\": \"2107-06-25\",
\"limit\": 13
}"
const url = new URL(
"http://127.0.0.1:8000/api/business-dashboard/top-hubs"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-05-27T07:22:41",
"end_date": "2107-06-25",
"limit": 13
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/complaints
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/complaints" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/complaints"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/complaints
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/complaints" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"subject\": \"vmqeopfuudtdsufvyvddq\",
\"description\": \"Dolores molestias ipsam sit.\"
}"
const url = new URL(
"http://127.0.0.1:8000/api/complaints"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"subject": "vmqeopfuudtdsufvyvddq",
"description": "Dolores molestias ipsam sit."
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/complaints/{id}
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/complaints/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/complaints/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"error": "Access token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
API: Get all charger configurations with details
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/admin/charger-configurations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/admin/charger-configurations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
API: Get manufacturers for admin dropdown
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/admin/charger-configurations/manufacturers" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/admin/charger-configurations/manufacturers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
API: Get models by manufacturer for admin dropdown
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/admin/charger-configurations/models" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/admin/charger-configurations/models"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
API: Get connector types for admin dropdown
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/admin/charger-configurations/connector-types" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/admin/charger-configurations/connector-types"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
API: Get current types for admin dropdown
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/admin/charger-configurations/current-types" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/admin/charger-configurations/current-types"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
API: Get single charger configuration details
Example request:
curl --request GET \
--get "http://127.0.0.1:8000/api/admin/charger-configurations/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/admin/charger-configurations/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
API: Delete charger configuration
Example request:
curl --request DELETE \
"http://127.0.0.1:8000/api/admin/charger-configurations/consequatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://127.0.0.1:8000/api/admin/charger-configurations/consequatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/wallet/deduct
Example request:
curl --request POST \
"http://127.0.0.1:8000/api/wallet/deduct" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount\": 73,
\"description\": \"Dolorum amet iste laborum eius est dolor.\",
\"reference_type\": \"dtdsufvyvddqamniihfqc\",
\"reference_id\": 17
}"
const url = new URL(
"http://127.0.0.1:8000/api/wallet/deduct"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"amount": 73,
"description": "Dolorum amet iste laborum eius est dolor.",
"reference_type": "dtdsufvyvddqamniihfqc",
"reference_id": 17
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.