Station Group in App

How can i know the station group inside app, like i want to know the station group of logged in user, Using this feature we can manage user persona instead of using user group

Hi @shivam.sharma ,

I’ve implemented a similar use case and can share the details:

  1. Retrieve Station ID
    You can find the station ID from the App Info section.

  2. Get Station Group ID
    Use the Station ID with the Next Gen API:
    GET /api/stations/v1/stations/{stationId}
    url :- /api/stations/v1/stations/{stationId}

  3. Fetch Station Group Name
    With the Station Group ID, call:
    GET /api/stations/v1/station-groups/{stationGroupId}
    url : /api/stations/v1/station-groups/{stationGroupId}

I’m using this approach in my app for complete user management, station management, and interface control directly through Tulip App.

If anyone has a simpler workaround or alternative method, please feel free to share!