---
updatedAt: 2026-06-16T14:13:14.000Z
agentTools:
  projectIndex: https://docs.zaptec.com/llms.txt
---

# Messaging connection

Retrieves connection details for subscribing to live AMQP 1.0 charger events  
for installations within the specified user group (requires owner or service permissions).


For more details on working with AMQP and Service Bus, refer to the  
<a href="https://learn.microsoft.com/en-us/azure/service-bus-messaging/" target="_blank">
Microsoft Azure Service Bus documentation</a>.

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "Zaptec API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.zaptec.com"
    }
  ],
  "paths": {
    "/api/userGroups/{id}/messagingConnectionDetails": {
      "get": {
        "tags": [
          "UserGroup"
        ],
        "summary": "Messaging connection",
        "description": "Retrieves connection details for subscribing to live AMQP 1.0 charger events  \nfor installations within the specified user group (requires owner or service permissions).\n\n\nFor more details on working with AMQP and Service Bus, refer to the  \n<a href=\"https://learn.microsoft.com/en-us/azure/service-bus-messaging/\" target=\"_blank\">\nMicrosoft Azure Service Bus documentation</a>.",
        "operationId": "api_usergroups_{id}_messagingconnectiondetails_get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "User Group ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionDescriptor"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionDescriptor"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionDescriptor"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "ory_auth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ConnectionDescriptor": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/ConnectionType"
          },
          "host": {
            "type": "string",
            "nullable": true
          },
          "port": {
            "type": "integer",
            "format": "int32"
          },
          "useSSL": {
            "type": "boolean"
          },
          "username": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "topic": {
            "type": "string",
            "nullable": true
          },
          "subscription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConnectionType": {
        "enum": [
          0
        ],
        "type": "integer",
        "description": "\n\n0 = Amqp10",
        "format": "int32",
        "x-enumNames": [
          "Amqp10"
        ]
      }
    },
    "securitySchemes": {
      "ory_auth": {
        "type": "oauth2",
        "flows": {
          "password": {
            "tokenUrl": "https://api.zaptec.com/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "UserGroup"
    }
  ]
}
```