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()| Parameters | Type | Required | Description |
|---|---|---|---|
| returnTo | string | optional | The URL to return the browser to after the flow was completed. |
| Variable | Type |
|---|---|
| data | VerificationFlow |