Verify an email address (the link in the verification email)
GET
/verify-email
const url = 'http://localhost:4000/api/auth/verify-email?token=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:4000/api/auth/verify-email?token=example'Shows a form that asks for the password chosen at sign-up. Verifies nothing.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”token
required
string
Responses
Section titled “Responses”The form
Media typetext/html