The token does not hold the URL. You can do a jwt.decode(token) and what you get is an object that contains userid (uid) and accountid (actid). I don’t know form where you want to retrieve the URL, if is is from an integration running on your server you can get the account slug by doing a query:
I would indeed recommend the solution offered by @basdebruin in terms of getting the account slug. From there, a direct link could be formed using something like the below: