When creating task over API if new line is passed them compose it as a list of items with the first element as the parent