Adding variables to MQTT topic urls in Routes

Hi, I’m trying to integrate our product with a third party whose API requires us to insert a unique token into the MQTT topic URL.

Is there a way to dynamically insert this in a similar way to how JSONata works, I.E. “body.deviceToken” ?

Apologies if this has been covered or is lurking somewhere in the docs that I have not seen.

Hi @ptbkt ,

Yes, you can substitute DeviceUID, ProductUID, or device serial number in the topic URL. It’s actually documented in the MQTT route guide.

1 Like

Thank you @RobLauer, I knew there was probably something I’d not ready properly :slight_smile:

1 Like