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 location templates
OCPPLAB Gateway APIOCPILocation Templates

List location templates

||View as Markdown|
GET
https://host.com/ocpp/templates/locations
GET
/ocpp/templates/locations
1import requests
2
3url = "https://host.com/ocpp/templates/locations"
4
5headers = {"Authorization": "Bearer <token>"}
6
7response = requests.get(url, headers=headers)
8
9print(response.json())
Return the gallery of single-location presets. Each entry describes the site (country, parking type) plus every charger group it will provision (brand, model, connector type, OCPP version, count, nominal kW). The ``type`` field (AC, DC, or AC-DC) is derived from the connectors in the template so the UI can filter or tab between power families without parsing the groups. Use the slug inside ``POST /ocpi/cpos/{cpo_id}/locations`` via ``{"template": "<slug>"}``.
Was this page helpful?
Previous

List CPO templates

Built with

Return the gallery of single-location presets. Each entry describes the site (country, parking type) plus every charger group it will provision (brand, model, connector type, OCPP version, count, nominal kW). The type field (AC, DC, or AC-DC) is derived from the connectors in the template so the UI can filter or tab between power families without parsing the groups. Use the slug inside POST /ocpi/cpos/{cpo_id}/locations via {"template": "<slug>"}.

Authentication

AuthorizationBearer

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

Query parameters

typeenum or nullOptional

Filter the gallery to a single power family. One of AC, DC, or AC-DC. Omit for the full gallery.

Allowed values:
ocpp_versionenum or nullOptional

Filter the gallery to templates whose authored ocpp_version matches. Mixed templates match every value. Omit to see all.

Allowed values:

Response

Template gallery

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error