*** title: Redirection slug: integration/web/website-redirection subtitle: Simple redirection based integration ---------------------------------------------- The Transak Web Redirection integration allows you to redirect users to Transak's interface with minimal implementation effort. Call the [Create Widget URL](/api/public/create-widget-url) to generate a Widget URL by securely passing the [widget parameters](/customization/query-parameters).
Open Transak in a new tab and pass `redirectURL` to redirect users back to your site after the order is placed.
The response returns a `widgetUrl`.
A `widgetUrl` is valid for 5 minutes and can only be used once. A new `widgetUrl` must be generated for every user flow.
**Example Request:** ```bash curl --request POST \ --url https://api-gateway-stg.transak.com/api/v2/auth/session \ --header 'access-token: YOUR_ACCESS_TOKEN' \ --header 'content-type: application/json' \ --data '{ "widgetParams": { "apiKey": "YOUR_API_KEY", "referrerDomain": "yourdomain.com", "redirectURL": "https://partner-app-url.com" } }' ```
```html title="Staging" Buy/Sell Crypto with Transak ``` ```html title="Production" Buy/Sell Crypto with Transak ```