API task service