Create an email template

Encoding : UTF-8

Authentication

Your "api-key" and "api-login" identifiers must be added in the headers.

Definition

This web service allows you to create a reusable email template populated with your landing page content.

Parameters

NameTypeDescription
namestringTemplate label displayed in your dashboard.
page_titlestringTitle injected inside the generated HTML <title> tag.
page_descriptionstringText inserted inside the meta description tag.
html_contentstringRaw HTML body of your template.
css_contentstringOptional CSS styles applied to the HTML content.
json_designstringOptional design payload produced by the landing page builder.
unsubscription_mention_languagestringOptional language code for the unsubscribe mention.

Note: The slug is automatically generated by the system and returned in follow-up landing page queries.

How Our API Deals With Incorrect Data

The API will attempt to cast or clean malformed values. If a parameter remains invalid after formatting, it will be ignored and the request will proceed with the remaining data.

Server Response Example in JSON

Success

{
  "id": "9f8c6d28-5f4f-4eca-9b82-0d2a6f9a0d02",
  "name" : "landing_page_name_1",
}
Body Params
name
required
page_title
required
page_description
required
html_content
required
json_design
object
css_content
object
string
Headers
string
required

Your api login from your account

string
required

Your api key from your account

Responses

400

Bad request.

401

Unauthorized.

403

Forbidden.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json