Skip to main content
Version: v3New

Import an email template

POST 

/emails/locations/:locationId/templates/import

Import a template from a provider URL

Request

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

Location ID

application/json

Bodyrequired

    importProviderstringrequired

    Import provider (URL-based providers only)

    Available optionsmailchimpactive_campaign
    importUrlstringrequired

    Public import URL

    namestring

    Template name

    parentFolderIdstring

    Parent folder ID

    userIdstring

    ID of the user performing this action

application/json

Success

Schema
    idstringrequired

    Template ID

    namestringrequired

    Template name

    editorTypestringrequired

    Editor type

    Available optionshtmltext
    isPlainTextbooleanrequired

    Whether template is plain text

    parentFolderIdstring

    Parent folder ID

    fromNamestring

    Sender name

    fromEmailstring

    Sender email address

    subjectLinestring

    Email subject line

    previewTextstring

    Preview text

    previewUrlstring

    Preview URL

    createdAtstring

    Created timestamp

    updatedAtstring

    Updated timestamp

    traceIdstring

    Trace ID of request