Use an endpoint like POST /smart-lists to create a smart list in order to be able to automate this