Splitting pushEndpoint into pushEndpoint and appToken