Verify email method
WARNING
This method requires the Wized WordPress plugin to be installed and active on your WordPress site. Download the plugin →
With the "Verify email" method, you can complete the email verification flow by validating the token the user received in their verification email.
This method should be called on the page the user lands on after clicking the verification link. The verification token is automatically extracted from the verification-token URL query parameter — no additional configuration is needed.
Parameters
This method has no manually configured parameters. The verification token is read automatically from the URL.
Response
On success, the user's email address is marked as verified in WordPress.
Flow
This method is the second step of the email verification flow:
- Call Send email verification to send the verification email to the user.
- The user clicks the link and lands on your verification page.
- Call Verify email on that page — the token is automatically picked up from the URL.
Require email verification on requests
You can enforce that a user's email must be verified before they can perform certain actions (e.g. creating or reading posts). This is configured via the Require Email Verification checkbox in the Permissions section of any post request.