Launch a verification
Since our SDK does the heavy lifting and your server handles most of the communication, launching a new verification on your web app is extremely simple. You only need to create a button, link, or interactive element in your UI that opens a link when the user clicks it.
This link should be the Start Endpoint
provided by your backend. Based on how you or your team decided to implement this endpoint, you might need to pass some query parameters for your backend to link the request to a specific user or transaction. Veriph.One doesn't explicitly ask for this to happen in a certain way; you and your team define how to approach this.
Here's an example of how you would create such a link or button within your UI:
- HTML
- Javascript
<a href="https://api.example.com/verification-start">Verify your phone number</a>
window.location.href = "https://api.example.com/verification-start";
Assuming the endpoint functions correctly, you should see that it redirects your app to Veriph.One's Web SDK, containing a fresh verification session.