Creating a smart_collection using curl but getting error: Required parameter missing or invalid

Ooh, thanks - that gives me a great deal more to go on.

I shall go through the response and see what I can find.