---
title: "Get Object Position MQTT Config"
method: GET
path: "/v2/analytics/cameras/{camera_id}/mqtt_configs"
tags: ["Analytics"]
---

# Get Object Position MQTT Config

`GET /v2/analytics/cameras/{camera_id}/mqtt_configs`

## Request

- Base URL: `https://api.verkada.com`
- URL: `https://api.verkada.com/v2/analytics/cameras/{camera_id}/mqtt_configs`
- Auth: one of:
  - API key in header `x-verkada-auth`
  - API key in header `x-api-key`

Returns the MQTT broker configuration currently set for a camera's Object Position Events.

The configured password is never returned in the response.

## Path parameters

- `camera_id` string, required

## Response `200`

OK

- OccupancyTrendsMQTTConfigGetResponseV2
  - `broker_cert` string: The CA-signed certificate of the MQTT broker used for the TLS connection. Returns null if no certificate has been configured.
  - `broker_host_port` string: The host and port of the MQTT broker currently configured for the camera. Returns null if no broker has been configured.
  - `camera_id` string, required: The unique identifier of the camera.
  - `client_username` string: The MQTT client username configured for the camera. Returns null if no username has been configured.

---

[API](https://skmtc.dev/verkada/apis/camera-api.md) - [All operations](https://skmtc.dev/verkada/apis/camera-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verkada/apis/camera-api/revisions/26cbfa5870e4?raw)
