api call for workers