---
title: "Gets OCPP connection details for given charger"
method: GET
path: "/local-ocpp/v1/operators/{operatorId}/connection-details/{serialNumber}"
tags: ["Direct OCPP - For Operators"]
---

# Gets OCPP connection details for given charger

`GET /local-ocpp/v1/operators/{operatorId}/connection-details/{serialNumber}`

Returns a versioned object with the latest stored OCPP configuration for a charger.

## Path parameters

- `operatorId` integer, required
- `serialNumber` string, required

## Query parameters

- `version` string, nullable

## Response `200`

Success

- EaseeOCPPConfigurationAPIConnectionDetailsDto
  - `version` string — Version identifier, used to fetch specific configuration versions
  - `connectivityMode` 'OcppOff' | 'DualProtocol' | 'Unknown'
  - `websocketConnectionArgs` EaseeOCPPConfigurationAPIWebsocketConnectionArgs
    - `url` string, required — CSMS endpoint url for websocket connection. Specify custom port if needed, otherwise default port will be used. ChargePointId or if not provided SerialNumber will be appended to url.
    - `caCertificate` string, nullable — CA certificate in pem format to enable TLS
    - `caCertificateDomain` string, nullable — CA certificate domain
  - `basicAuth` EaseeOCPPConfigurationAPIBasicAuthDto
    - `username` string
    - `password` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.dev/easee/apis/easee-cloud-api.md) · [All operations](https://skmtc.dev/easee/apis/easee-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/easee/easee-cloud-api/revisions/46ccab4af8b1/schema)
