Back

userId/verificationLink from verification created event???

  • 0
  • Functions
  • Web
  • Auth
discorrrdbomba
1 Sep, 2024, 13:58

How to get userId & verificationLink from within a function that was invoked by a verification.created.event, which was triggered by a client side executed await account.createVerification(verifyUrl); ??? I am talking about the two params which usually get attached to the native verification email sent by appwrite itself if activated. I want to not use this service, but instead create a custom made email, sent by my appwrite function triggered by the above mentioned event, but I am struggeling getting the correct and valid verification link to attach to the verification email I am going to send to the respective user who has just signed up yet....?

TL;DR
To get `userId` and `verificationLink` from a function triggered by a `verification.created.event` in Appwrite, you'll need to extract them from the event payload using your desired programming language. This involves accessing the event data object and extracting the required information. Once you have these details, you can use them to craft a custom verification email for users in your Appwrite application.
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