Connecting to different devices in balena application


I have a balena application with multiple devices connected to it. I want to dynamically get each device’s public url. Each device is to connect to different mobile app users. I need an endpoint that can access all connected devices and assign each device to individual mobile app

Hey, public URLs are always <device-uuid>, and to get the list of device uuids you can make api call mentioned here you can do the same via balena-sdk, for a single device you can finds its uuid from within the Container, it is stored as an ENV variable.

1 Like

thanks, but how do I get the application’s Auth_Token?

The auth token can be found on

Gotten, thanks for your support

No problem, happy to help