Skip to main content
Version: v3New

Get Email Template by ID

GET 

/emails/locations/:locationId/templates/:templateId

Get a single email template by its ID

Request

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

Location ID

templateId stringrequired

Template ID

application/json

Success

Schema
    idstringrequired

    Template ID

    namestringrequired

    Template name

    editorTypestringrequired

    Editor type

    Available optionshtmlbuildertext
    isPlainTextbooleanrequired

    Whether template is plain text

    parentFolderIdstring

    Parent folder ID

    fromNamestring

    Sender name

    fromEmailstring

    Sender email address

    subjectstring

    Email subject line

    previewTextstring

    Preview text

    editorContentUrlstring

    URL to fetch the rendered template content as HTML. Issue a GET against this URL to retrieve the body.

    deletedbooleanrequired

    Whether the template is deleted

    createdAtstring

    Created timestamp

    updatedAtstring

    Updated timestamp

    traceIdstring

    Trace ID of request