Import an email template
Import a template from a provider URL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
emails/ templates. writeOAuthPrivate IntegrationSub-Account TokenRequest
Headers
Unique key per intended write (max 255 chars). Retrying with the same key and body within 24 hours returns the first response instead of creating another resource. Reusing the key with a different body returns 422; a retry while the first request is still running returns 409.
0f8fad5b-d9cb-469f-a165-70867728950eAPI Version
v3v3Path Parameters
Location ID
ve9EPM428h8vShlRW1KTBody
Import provider (URL-based providers only)
mailchimpactive_campaignmailchimpPublic import URL
https://templates.example.com/public/template-123Template name
Imported TemplateParent folder ID
67f15c2ae99226d5bcccb8f0ID of the user performing this action
507f1f77bcf86cd799439011Response
Success
Template ID
507f1f77bcf86cd799439011Template name
Newsletter TemplateEditor type. html = code editor (raw HTML string), text = plain-text email (string), builder = design (drag-and-drop) editor (JSON, see BuilderEditorContentPublicV2Dto). Merge fields are Handlebars: {{contact.first_name}}, a fallback is {{default contact.first_name "there"}}, a condition is {{#if contact.city}}...{{/if}}. Liquid filters such as {{contact.first_name | default: "there"}} are not supported and block the send.
htmlbuildertexthtmlWhether template is plain text
falseParent folder ID
67f15c2ae99226d5bcccb8f0Sender name
John DoeEmail subject line
Welcome to our newsletterPreview text
Email preview textPreview URL
https://example.com/preview/template123Created timestamp
2025-07-24T11:55:43.598ZUpdated timestamp
2025-07-24T11:55:43.598ZTrace ID of request
019e4ef5-a65e-4198-8cf9-8e93dca9bda4