Adding correct API endpoint URL-prefixes