New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

Create Verification Flow for Browser Clients

GET 

/self-service/verification/browser

This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to selfservice.flows.verification.ui_url with the flow ID set as the query parameter ?flow=.

If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects.

This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

More information can be found at Ory Kratos Email and Phone Verification Documentation.

SDK ReferenceTypeScript
createBrowserVerificationFlow()
ParametersTypeRequiredDescription
returnTostringoptionalThe URL to return the browser to after the flow was completed.
VariableType
dataVerificationFlow