https://supertokens.com/ logo
c

CuriousCI

05/01/2022, 11:32 AM
I can't find the API request to ask the backend to send a verification email...
r

rp

05/01/2022, 12:27 PM
Hey @CuriousCI
What do you mean by you can’t find the request?
c

CuriousCI

05/01/2022, 12:42 PM
I want to build a button "verify email" in the profile page, but, in the "EmailVerification Recipe" section of the API, I can't find a function to "tell the backend to send the verification email", do I have to build it?
Copy code
POST /{apiBasePath}/user/email/verify/token # Verifies the email
POST /{apiBasePath}/user/email/verify # Verifies the email
GET /{apiBasePath}/user/email/verify # Checks if the email is verified
https://app.swaggerhub.com/apis/supertokens/FDI/1.13.0#/
r

rp

05/01/2022, 12:43 PM
Yea. So the default recipe UI auto sends the email verification email when the email verification page is shown. It has a resend button as well on the page
2 Views