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
        • POSTCreate location
        • GETGet location
        • PUTUpdate location
        • DELDelete location
OCPPLAB Gateway APICore ResourcesLocations

Get location

||View as Markdown|
GET
https://host.com/ocpp/locations/:location_id
GET
/ocpp/locations/:location_id
1import requests
2
3url = "https://host.com/ocpp/locations/4090477f-a416-4515-a302-97aa344a0a2a"
4
5headers = {"Authorization": "Bearer <token>"}
6
7response = requests.get(url, headers=headers)
8
9print(response.json())
1{
2 "id": "4090477f-a416-4515-a302-97aa344a0a2a",
3 "slug": "paris-la-defense-hub-a1b2c3d4",
4 "name": "La Defense Charging Hub",
5 "address": "14 Rue de la Paix",
6 "city": "Paris",
7 "country": "FR",
8 "coordinates": {
9 "latitude": 48.8566,
10 "longitude": 2.3522
11 },
12 "timezone": "Europe/Paris",
13 "owner_name": "VINCI Autoroutes",
14 "public": true,
15 "status": "active",
16 "created_at": "2026-04-02T09:15:00Z",
17 "updated_at": "2026-04-02T09:15:00Z"
18}
Retrieve one location by its internal identifier.
Was this page helpful?
Previous

Create location

Next

Update location

Built with

Authentication

AuthorizationBearer

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

Path parameters

location_idstringRequired
Internal location identifier returned by the location CRUD API.

Response

Location retrieved successfully
idstring
slugstring or null
namestring or null
addressstring or null
citystring or null
countrystring or null
coordinatesobject or map from strings to any or null
timezonestring or null
owner_namestring or null
publicboolean or null
statusstring or null
created_atdatetime or null
updated_atdatetime or null

Errors

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