Creates a URL for redirecting a visitor from an external client site to a Wix page for Wix-managed functionality.
The Create Redirect Session method enables your external Wix Headless client site, built on any platform, to integrate Wix-managed frontend functionality for specific processes. For example, your site can temporarily redirect a visitor to Wix for authentication, or for a checkout process for bookings, eCommerce, events, or paid plans transactions.
To initiate a redirect session:
Note: When creating a redirect session for a multilingual site:
lang parameter in additional_query_parameters and the request contains an x-wix-linguist header, the language from the header will be added to the redirect URL as lang.lang parameter, it takes priority over the header.This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.