Get all entitlements has working json response and dynamically pulls session token from URL