New Window

Open the editor in a separate browser tab for a standalone editing experience.

Open in New Window

Use the new-window method when you want the editor to open as a standalone editing page.

This method is simple to implement and works well when your product does not have enough space to embed a full editor inside the current page.

Basic link

<a
  href="https://plugin.aurorasendcloud.com/thirdApp?code=TEMP_CODE&id=EMAIL_ID&lang=en_US"
  target="_blank"
  rel="noopener"
>
  Edit Email
</a>

JavaScript example

const editorUrl = `https://plugin.aurorasendcloud.com/thirdApp?code=${code}&id=${emailId}&lang=en_US`;
window.open(editorUrl, '_blank', 'noopener');

URL parameters

ParameterRequiredDescription
codeYesTemporary code generated by your backend through POST /access/code.
idYesEmail ID returned by POST /access/email or selected from an existing email record.
langNoEditor language, such as en_US.

Backend responsibilities

Your backend should generate the editor URL or return the pieces needed to build it.

Before opening the editor:

  1. Create or refresh the End User token.
  2. Create or select an email ID.
  3. Generate a temporary code.
  4. Return the editor URL to your frontend.

Return URL

The Return URL controls where the End User goes after leaving the editor.

Configure it from:

Application -> Editor API -> Embed

Use a Return URL that brings users back to the right workflow in your product, such as:

https://app.yourproduct.com/templates

Save behavior

The Return URL is not used to deliver final email content.

When the End User saves, ASC Editor Plugin sends the saved HTML and JSON to your configured Push URL.

Use Push URL Callback to receive and store saved content.

When to use this method

Use new-window launch when:

  • You want the simplest frontend integration.
  • The editor should feel like a full-page workflow.
  • Your application layout is too compact for an iframe.
  • You want users to return to a specific page after editing.

Security notes

  • Generate a fresh temporary code for each editor session.
  • Do not expose Application API keys or End User tokens to the frontend.
  • Use rel="noopener" for links opened with target="_blank".
  • Use HTTPS URLs.