Skip to content
v1.0.0
OpenAPI 3.0.3

Retrieving HTML and CSS (Legacy Compatibility)

Returns HTML with developer markup and classes, along with CSS, to be stored within your database. This method ensures that when a customer wants to open an email with the editor (old plugin) next time, the stored HTML and CSS can be sent to the editor, maintaining compatibility with legacy systems and preserving the email's design and structure.

Server:https://plugins.stripo.email

Stripo API server

Client Libraries

Methods

​

Get HTML and CSS of email template

​

Get HTML with developer markup and classes, along with CSS

Headers

  • Stripo plugin auth token in the format - Bearer ${AUTH_TOKEN}

  • JSON string with parameters to identify email (Same as metadata param in UI editor). For example: {"emailId": "id1"}

Responses

  • HTML and CSS of email template

    • CSS of email template

    • ID of email

    • HTML of email template

    • List of IDs of sync modules what was found in the HTML (only in case you've activated the Synchronized Modules)

    • UTM params of email template

      Properties: 6
    application/json
Request Example for get/coediting/v1/email/html-css
curl https://plugins.stripo.email/coediting/v1/email/html-css \
  --header 'ES-PLUGIN-AUTH: ' \
  --header 'ES-PLUGIN-UI-DATA: '
{
  "html": "string",
  "css": "string",
  "emailId": 1,
  "syncModules": [
    1
  ],
  "utm": {
    "source": "string",
    "medium": "string",
    "campaign": "string",
    "content": "string",
    "term": "string",
    "custom": {
      "additionalProperty": null
    }
  }
}

Models

​
  • CSS of email template

  • ID of email

  • HTML of email template

  • List of IDs of sync modules what was found in the HTML (only in case you've activated the Synchronized Modules)

  • UTM params of email template

    Properties: 6
​
  • UTM campaign

  • UTM content

  • UTM custom properties

    Properties: 1
  • UTM medium

  • UTM source

  • UTM term