Use endpoint for getAuthenticatedURL