api. prefix and /server/ suffix stay the same across deployments — only the instance segment in the middle changes based on which Ask Sage instance you are logging into.
Always use the instance approved by your organization and applicable regulatory requirements, and match the base URL to the instance you authenticate against.