Streaming live at 10am (PST)

Collection IDs can change?

I hesitate to even ask this, as I’m sure it is a problem on my end, and not with Webflow. That being said, is it possible for Collection (and Item) IDs to change over time?

My application is powered by the Webflow API and I’ve begun to notice more and more 404 responses from the API. After some investigation, I discovered that this was happening because the Collection IDs stored in my database no longer match the Collection IDs in Webflow. I know this because the slugs still match.

This was very surprising, as I would not expect the primary identifier to change. Is there a scenario where this could happen?

1 Like

Hi @cspags, thanks for your post. Collection IDs can change under the following circumstances:

  1. The site is restored from earlier version
  2. The site is duplicated

Let me know if any questions and thanks in advance.

1 Like

@cyberdave thanks so much for your reply and the information. I was not aware of the first scenario, restoring from a backup. Is there any way to detect when a backup is restored? I checked to see if a webhook gets triggered or any data on the Site model changes (thought maybe the database field), but neither happened.

Ultimately though, knowing this now, it looks like the solution is to rely on the Collection slug. Even though users can modify this field, it’s a rather severe action, hence the redirect warning that the Webflow editor provides.

Thank you again, really grateful for the helpful reply.

I’m also having the same problem. My collection IDs keep changing and breaking my integrations.

I don’t recall having manually restored any backup or duplicated my website.

Is there any other reason why this might be happening?

I also have this problem, in my case because of backups (which is not obvious at all ) Are you going to fix this problem? I would like to be able to restore the site from earlier version so that the ids remain unchanged.

1 Like

Hi @Elena_Laenko,

At this time, anytime you restore from a previous version the Collections and item IDs will change. I am not sure if this will be fixed in the near future. But this has to do with a reverting of the database.

You can add this to our wishlist if you wish:

Best Regards,
~ Brandon

@cyberdave @WebDev_Brandon Please add a warning before a backup is restored, so people who rely on the IDs will think twice.

1 Like

That has been added as it seems

It’s crazy how many things the backup can mess up, all the reference and multi-reference fields, not even talking about API and zappier. Need backup of the back up. Wait? If i back up to the version before backup will it be fixed or it will generate another random set of ID?

1 Like


For every backup restore done, new CMS Item and Collection IDs will be created.

Have a Great Day and Happy Designing,
~ Brandon

Hey @WebDev_Brandon @cyberdave does this also apply to transferring site ownership?

I have recently set up a Team plan to allow for external partners to access and work on our Webflow Sites Ecosystem but I’m scared to transfer the sites across to the team because the Collection and Item IDs may change which will upset the Zapier, Parabola, Airtable, Memberstack, Outseta and Stripe integrations I have in place.

I have also sent an email to your support inbox.

Many thanks,

I run into the same problem. I did not see any warning - or at least they were not visible enough.

This is a huge issue, since I had some serious automations running. It is possible to change this, so ID can stay forever even when use the backups.

Like now, the backup is totally useless, no?

Any best practice?



The CMS Item ID does not persist after a restore; it’s mutable. Webflow should decouple the CMS from the restore function as an option, giving you a choice.

There is no workaround other then possibly creating your own GUID and using that programmatically. Of course this would be an issue with other integrations using the API since there is no search method. I think of WF’s newest commercial where “everything just works” except it doesn’t.