Create zip with custom filenames

I'd like to use the REST API to create a zip archive. The problem is, I don't want the public ID to be used for file names in the zip. Is there any way to provide a custom file name for each Cloudinary file I want to include in the zip archive?

Best Answer

  • DannyFromCloudinary
    DannyFromCloudinary Member, Cloudinary Staff Posts: 151
    Answer ✓

    Hey, thanks for your question.

    While we have target_public_id to save the zip with a given public ID, we have no means of adding "Image X" to an archive and saving it as "Image Y" unfortunately. Files added to a zip archive will have the same names as their respective public IDs in Cloudinary.

    Apologies for any inconvenience this may cause