> ## Documentation Index
> Fetch the complete documentation index at: https://chargecloud.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Controllers / Get Connection Details

> Returns the OCPP backend URLs (security profile 0 and 2), the basic-auth password and the active security profile reported by the controller. Required permission: control:controllers:connection-details:read



## OpenAPI

````yaml /api/core-api/crmiapi.json get /api/v1/control/controllers/{controller_uuid}/connection-details
openapi: 3.1.1
info:
  title: chargecloud - Core API
  summary: chargecloud Core API. All around CRM, Asset Management and more.
  version: 1.125.0
  description: chargecloud Core API. All around CRM, Asset Management and more.
servers:
  - url: https://api.chargecloud.dev
    description: Production - chargecloud Core API
  - url: https://demo.chargecloud.de
    description: Sandbox/Dev - chargecloud Core API
security: []
paths:
  /api/v1/control/controllers/{controller_uuid}/connection-details:
    get:
      tags:
        - Controllers
      summary: Controllers / Get Connection Details
      description: >-
        Returns the OCPP backend URLs (security profile 0 and 2), the basic-auth
        password and the active security profile reported by the controller.
        Required permission: control:controllers:connection-details:read
      operationId: /api/v1/control/controllers/{controller_uuid}/connection-details_GET
      parameters:
        - name: controller_uuid
          in: path
          description: UUID of the controller
          required: true
          schema:
            type: string
            pattern: >-
              ^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-[89ab][a-f0-9]{3}\-[a-f0-9]{12}$
            description: UUID of the controller
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                required:
                  - connection_details
                properties:
                  connection_details:
                    type: object
                    properties:
                      backend_url_profile_0:
                        type: string
                        description: >-
                          OCPP backend URL for security profile 0 (no
                          authentication, intended for VPN or chargecloud SIM
                          cards)
                      backend_url_profile_2:
                        type: string
                        description: >-
                          OCPP backend URL for security profile 2 (TLS with
                          basic-auth password)
                      ocpp_password:
                        type: string
                        description: OCPP basic-auth password used with security profile 2
                      active_security_profile:
                        type: string
                        description: >-
                          Active OCPP security profile reported by the
                          controller. Null if the controller has not yet
                          reported one.
                    required:
                      - backend_url_profile_0
                      - backend_url_profile_2
                      - ocpp_password
                    description: OCPP connection details
          description: OCPP connection details for the controller
        '400':
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
                    description: Error message
          description: Bad request
        '401':
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
                    description: Error message
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
                    description: Error message
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
                    description: Error message
          description: Not found
        '405':
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
                    description: Error message
          description: Method not allowed
        '422':
          content:
            application/json:
              schema:
                type: object
                required:
                  - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        errorKey:
                          type: string
                          description: A key identifying the error
                        message:
                          type: string
                          description: The error message
                        parameter:
                          type: string
                          description: The parameter that caused the error, if any
                      required:
                        - errorKey
                        - message
                        - parameter
                      description: Error
                    description: List of errors
          description: Request validation failed
        '429':
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
                    description: Error message
          description: Too many requests
        '500':
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
                    description: Error message
          description: Internal server error
      security:
        - bearer:
            - control:controllers
components:
  securitySchemes:
    bearer:
      type: http
      description: OAuth2 Bearer Authorization
      scheme: bearer
      bearerFormat: JWT

````

## Related topics

- [Retrieves details of a controller](/api-reference/controllers/retrieves-details-of-a-controller.md)
- [Retrieves details for a location](/api-reference/locations/retrieves-details-for-a-location.md)
- [Updates a controller](/api-reference/controllers/updates-a-controller.md)
