templates

Convert Simple to Full schema.

Convert design json from Simple to Full schema.

post/v3/templates/convert/simple-to-full

Request

  • Base URL: https://api.unlayer.com
  • URL: https://api.unlayer.com/v3/templates/convert/simple-to-full
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

displayMode'email' | 'web' | 'popup' | 'document'

Display mode of the design (email, web, document, popup). Defaults to "email", matching /v3/templates/validate. Mode-specific repairs apply during conversion (email caps contentWidth at 900px, for example), so pass the design's actual mode — a web design converted under the email default can be altered.

includeDefaultValuesboolean

Response

Default Response

successtrue

Changes

No recorded changes to this operation across all 2 revisions of this API.