All valid targets are listed below. If a target is specified, then a
site_name must be provided. You can generate a link to the Duda dashboard, the editor, stats page or reset a site. If you are sending the user to the stats, editor or reset pages, you will need to pass the
target on the query string. After generating the link, you should direct the users browser to this URL.
|Target Location||Query Key||Query Value||Description|
|Dashboard||(none)||(none)||Send the user directly to their website dashboard. You do not need to send a target or site_name parameter.|
|Stats||target||STATS||Send the user directly to the website statistics page.|
|Site Editor||target||EDITOR||Send the user directly to the white labeled website builder.|
|Template Chooser||target||RESET_SITE||Send the user directly to select a new template / reset site page. If the user does reset the site, all existing website edits will be lost and the site will be reset to a new template that is selected.|
|Template Chooser||target||SWITCH_TEMPLATE||Send the user directly to select new a template without resetting the site. This will retain all site data and installed apps. When implementing a DIY Flow it is highly recommended to use this target and not |
|Simple Editor||target||RESET_BASIC||Send the user directly to the simple editor to build or maintain their site. (note: the simple editor is an add-on and may not be available on all accounts)|
SSO Links should be generated on demand and should not be generated upon page load or be statically linked to. SSO Tokens are only valid for two minutes, so you need to verify in real time that the user is authenticated to your system, then generate the SSO link once they intend to enter the editor, dashboard, stats, etc..