You might find yourself in a position where you have a lot of links to your capsule -- potentially, a peer review link, a link to your private capsule, the URL of your published capsule, and the published capsule's DOI. Here's how to make sense of that.
What each link is:
When you publish a capsule, it's intended to be a snapshot of the project at a particular moment -- e.g. version 1.0 , 2.0, etc. So a published capsule's URL (e.g. https://codeocean.com/capsule/8235972/tree/v7) is a link to that particular snapshot.
Meanwhile, your private capsule, from which the public capsule is forked, will be only accessible via a link to you, and anyone you add as a collaborator. The idea is that you can continue making changes to this that aren't available to the world at large until you elect to publish. So if you share a link to the private capsule with someone who isn't a collaborator, they'll see some variant of 'capsule not found'.
A peer review copy is a fork of a capsule with certain peer-review-centric features (e.g. analytics). This should only be shared with peer reviewers (and ideally, editors will manage this rather than authors).