Skip to content
Back

Claiming Guest-Created Documents After Signup

  • 0
  • REST API
kerxkerby
3 Jul, 2025, 15:30

I'm wondering if it's possible for a guest or anonymous user to create a document and attach an email address to it, so that the document can later be claimed by a registered user once they sign up.

I understand this might be doable by assigning permissions to the anonymous user, but the challenge comes when the user switches browsers or devices — at that point, it's not the same anonymous session anymore.

Is there a recommended pattern or best practice for handling this kind of flow in Appwrite?

TL;DR
Developers want to allow guest-created documents to be claimed by registered users after signup. This can be achieved by saving documents with only an email field, then when a user signs up, searching for matching emails in the guest list and transferring the data. To handle the issue of different browsers or devices, consider generating a unique token for each guest document that can be used for later claiming.
Axistro
3 Jul, 2025, 15:38

Keeping a collection with only email field fulfilled. If anyone signs up check in that list Delete if match then create on the users collection with proper data

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more