Is there any API to create collection id automatically?

Currently, video collection APIs are not available for users.
It’s a one-time task and you can do this by using the dashboard rather than API.

• Login to your Gumlet account.
• Click on the Video drop-down menu in the left panel and select Collection.
• Now, you can process multiple videos within the collection and the Gumlet video collection acts as CMS for your videos.

See more: Video Collections