# getCommandSubscriptionTopic API

Builds the MQTT topic filter used by command handlers for one service
address.

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

Builds the MQTT topic filter used by command handlers for one service
address.

Package: `@purista/mqttbridge`

## Signature

```typescript
const getCommandSubscriptionTopic: GetCommandTopicFn
```
