---
updatedAt: 2026-05-08T10:57:51.000Z
agentTools:
  projectIndex: https://developer.easee.com/llms.txt
---

# Gets OCPP connection details for given charger

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

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Easee Cloud API",
    "version": "v1",
    "description": "OpenAPI Definitions for Easee Cloud APIs.\n"
  },
  "servers": [
    {
      "url": "https://api.easee.com"
    }
  ],
  "security": [
    {
      "Bearer": []
    }
  ],
  "tags": [
    {
      "name": "Direct OCPP - For Users",
      "description": "Users manage direct OCPP on their own chargers.",
      "x-displayName": "Direct OCPP - For Users"
    }
  ],
  "paths": {
    "/local-ocpp/v1/connection-details/{serialNumber}": {
      "get": {
        "tags": [
          "Direct OCPP - For Users"
        ],
        "summary": "Gets OCPP connection details for given charger",
        "description": "Returns a versioned object with the latest stored OCPP configuration for a charger.",
        "operationId": "GetUserChargerConnectionDetailsEndpoint",
        "parameters": [
          {
            "name": "serialNumber",
            "in": "path",
            "required": true,
            "description": "Serial number identifying charger",
            "schema": {
              "type": "string"
            },
            "example": "EH000007"
          },
          {
            "name": "version",
            "in": "query",
            "description": "Version identifier. Use to fetch specific configuration versions",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "example": null
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Easee_OCPP_Configuration_API_PostUserChargerConnectionDetailsResponse"
                },
                "example": {
                  "version": "00000000-0000-0000-0000-000000000000",
                  "connectivityMode": "DualProtocol",
                  "websocketConnectionArgs": {
                    "url": "wss://localhost:8080/ocpp",
                    "caCertificate": "-----BEGIN CERTIFICATE-----\r\n(Your certificate: localhost.pem)\r\n-----END CERTIFICATE----- ",
                    "caCertificateDomain": "localhost"
                  },
                  "basicAuth": {
                    "username": "EH000007",
                    "password": "password"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Easee_OCPP_Configuration_API_ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Easee_OCPP_Configuration_API_ProblemDetails": {
        "type": "object",
        "description": "RFC9457 compatible problem details/ error response class. this can be used by configuring startup like so:\napp.UseFastEndpoints(c => c.Errors.UseProblemDetails())",
        "additionalProperties": false,
        "properties": {
          "type": {
            "type": "string",
            "default": "https://www.rfc-editor.org/rfc/rfc7231#section-6.5.1"
          },
          "title": {
            "type": "string",
            "default": "One or more validation errors occurred."
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "default": 400
          },
          "instance": {
            "type": "string",
            "default": "/api/route"
          },
          "traceId": {
            "type": "string",
            "default": "0HMPNHL0JHL76:00000001"
          },
          "detail": {
            "type": "string",
            "description": "the details of the error",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Easee_OCPP_Configuration_API_ProblemDetails_Error"
            }
          }
        }
      },
      "Easee_OCPP_Configuration_API_ProblemDetails_Error": {
        "type": "object",
        "description": "the error details object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "description": "the name of the error or property of the dto that caused the error",
            "default": "Error or field name"
          },
          "reason": {
            "type": "string",
            "description": "the reason for the error",
            "default": "Error reason"
          },
          "code": {
            "type": "string",
            "description": "the code of the error",
            "nullable": true
          },
          "severity": {
            "type": "string",
            "description": "the severity of the error",
            "nullable": true
          }
        }
      },
      "Easee_OCPP_Configuration_API_PostUserChargerConnectionDetailsResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "version"
        ],
        "properties": {
          "version": {
            "type": "string",
            "description": "Version identifier, used to fetch specific configuration versions"
          }
        }
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"",
        "name": "Authorization",
        "in": "header"
      }
    }
  }
}
```