enabled offline api call