I am trying to clone a smart list programmatically. It works but the cloned smart list winds up in some unexpected folder. I am using the folder ID for the cloned smart list that I grab from the URL. I cannot figure out what I am doing wrong. I've read the docs a number of times. Any help is most appreciated.
You must get Folder IDs from the Program/Folder API endpoint. The hint in the URL hash is only valid for some Program types. In other cases it's relevant only to the UI.
Thank you for the reply.
I have tried this.
I printed out a list of every folder along with its ID.
When I use try using any of these IDs I get an error message that says it in is invalid or not a Smart List folder.
I am stymied.