# getSharedTopicName API

Wraps a topic with the configured MQTT shared-subscription prefix and group.

---
Canonical: /handbook/api/variables/_purista_mqttbridge.getSharedTopicName/
Source: mqttbridge/src/topic/getSharedTopicName.impl.ts
Format: Markdown for agents
---

Wraps a topic with the configured MQTT shared-subscription prefix and group.

Package: `@purista/mqttbridge`

## Signature

```typescript
const getSharedTopicName: GetSharedTopicNameFn
```
