--- title: "Redirection Guide | Veriff.com" slug: "redirection-guide-1" description: "Redirect users to Veriff web flow with session management." status: "update" updated: 2026-04-20T06:08:39Z published: 2026-04-20T06:08:48Z canonical: "devdocs.veriff.com/redirection-guide-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://devdocs.veriff.com/llms.txt > Use this file to discover all available pages before exploring further. # Redirection Guide Veriff Redirection solution allows you to **redirect your end-users to Veriff web flow**. ***→*** *If you are interested in implementing Veriff’s verification flow using WebViews, see* [*Embedding in Android and iOS WebViews*](/v1/docs/embedding-in-android-and-ios-webviews-1) --- ## Requirements and prerequisites ### Prerequisites - You have an active account with Veriff (see the [Getting Started](/v1/docs/getting-started) section) - You have an integration with Veriff (see the [Getting Started](/v1/docs/getting-started) section) - You have set up webhook(s) to get replies from Veriff (see the [Webhooks](/v1/docs/webhooks-guide) section) - You have integrated a solution that allows you to create `session URL`s for your end-users (using the API [POST /sessions](https://devdocs.veriff.com/apidocs/v1sessions) call or [Javascript SDK](/v1/docs/javascript-sdk-1)) --- ## Add SDK to the project ### **Step 1:** Create a session URL You need to have a Veriff `session URL `generated before initializing the SDK. You have two options: - see the [POST /sessions](https://devdocs.veriff.com/apidocs/v1sessions) in API documentation to learn how to generate a `session URL `via API call - use the [JavaScript SDK](/v1/docs/javascript-sdk-1) to create the `session URL` ### **Step 2: Redirect the end-user to the flow** After receiving the `session URL` you can redirect end-users there by using following function: ```javascript window.location.href = url; ``` ### What happens after the end-user leaves the flow? When a session is canceled or finished, we try to **redirect the end-user to the callback URL**, or **close the browser** if the **callback URL is not present**. --- ## Verification session decision Veriff returns info about the verification session decision, extracted data, registries checks etc via **webhooks**. You need to set up webhooks and tie them to your system. → *See Webhooks Guide > [Set up webhooks](https://veriff-dev-documentation.document360.io/docs/webhooks-guide#set-up-webhooks) sub-section for detailed overview of the setup process* --- ## Customize the SDK > [!NOTE] > SDK customization is optional In the redirection flow, it is possible to customize the end-user **interface language**. ### User interface language settings It is possible to use the `lang` parameter to change the language. To change it, add the lang as query parameter to the URL: ```javascript https://magic.veriff.me/v/{sessionURLtheEndUserIsRedirectedTo}?lang=es ``` *→ See* [*Supported languages in SDKs*](/v1/docs/sdk-guide#supported-languages) *article for more info* --- ## Changelog | Date | Description | | --- | --- | | Apr 20, 20206 | Link to [Embedding in Android and iOS WebViews](/v1/docs/embedding-in-android-and-ios-webviews-1) updated | | Jun 6, 2025 | Heading “Article versioning” changed to “Changelog” | | May 15, 2025 | Link to [Embedding in Android and iOS WebViews](/v1/docs/embedding-in-android-and-ios-webviews-1) added | | Mar 12, 2025 | Documentation published | A **process where the end-user submits the data** required to get verified. Also referred to as the "end-user flow". ## Related - [Create verification session](/how-to-generate-sessions-manually.md) - [Intro to the API](/quick-guide-of-idv-using-the-api.md) - [Webhooks Guide](/webhooks-guide.md) - [Backwards compatible changes](/backwards-compatible-changes.md) - [JavaScript SDK](/javascript-sdk-1.md)