Spreed API: get room web URL

When creating a room via the /ocs/v2.php/apps/spreed/api/v4/room API, what’s a stable way to get its web URL? I can construct it myself: domain + index.php/apps/spreed/call + token. But that seems kind of flakey, especially as index.php is only required for some setups.