For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
DocsAPI Reference
Dashboard
LogoLogo
DocsAPI Reference
  • OCPPLAB Gateway API
        • GETList locations in a network
        • POSTBulk-create OCPI locations (durable)
        • GETGet bulk location-create job status
        • GETGet OCPI location
        • DELDelete OCPI location
        • PATCHUpdate OCPI location
OCPPLAB Gateway APIOCPIOcpi Locations

List locations in a network

||View as Markdown|
GET
https://host.com/ocpi/cpos/:cpo_id/locations
GET
/ocpi/cpos/:cpo_id/locations
1import requests
2
3url = "https://host.com/ocpi/cpos/cpo_id/locations"
4
5headers = {"Authorization": "Bearer <token>"}
6
7response = requests.get(url, headers=headers)
8
9print(response.json())
1{
2 "data": [
3 {
4 "id": "loc-42",
5 "ocpp_location_id": "ocpp-loc-42",
6 "organization_id": "1f8d2d8e-0c43-4c2a-9b0a-6d6b4f5c2a11",
7 "slug": "la-defense-charging-hub-ab12cd34",
8 "name": "La Defense Charging Hub",
9 "address": "14 Rue de la Paix",
10 "city": "Paris",
11 "country": "FR",
12 "coordinates": {
13 "latitude": 48.8566,
14 "longitude": 2.3522
15 },
16 "timezone": "Europe/Paris",
17 "owner_name": "VINCI Autoroutes",
18 "public": true,
19 "chargers": [
20 {
21 "id": "dep-001",
22 "identity": "SITE_A_001",
23 "connector_type": "CCS2",
24 "ocpp_version": "OCPP1.6"
25 }
26 ],
27 "created_at": "2026-04-16T10:15:30Z",
28 "updated_at": "2026-04-16T10:15:30Z"
29 }
30 ],
31 "total": 1,
32 "page": 1,
33 "limit": 50
34}

Retrieve a paginated list of OCPI locations attached to one network (ocpp.partner_operations.id) within the current organization.

Was this page helpful?
Previous

Get CPO report

Next

Bulk-create OCPI locations (durable)

Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

cpo_idstringRequiredformat: "^\d+$"

CPO identifier — the stringified integer returned by POST /ocpi/cpos (backed by ocpp.partner_operations.id).

Query parameters

pageintegerOptional>=1Defaults to 1

One-based page number for paginated results.

limitintegerOptional1-100Defaults to 50
Maximum number of locations to return per page.

Response

Locations retrieved successfully
datalist of objects
totalinteger
pageinteger
limitinteger

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error