Add base Email message

The method is used for creating a base Email message. If the template parameter is set to true, the message is created as a template. If template = false or absent, a regular message is created and added to the general message list.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
int32

Message ID.

string
required

Message name.

string

Language code.

tags
array of strings

List of tags.

tags
subscriptionsKeys
array of strings

Subscription categories keys, assigned to a message.

subscriptionsKeys
languages
array of strings

An array with the language codes for multilingual messages. Available for the GET method only.

languages
string
required

Required parameter for a regular message (template = false or absent).

Sender name and email address, e.g. "from": ""name" <[email protected]>".

If template = true, the parameter is optional: if your organization has email senders, the first one is assigned to the template; otherwise, the template is created without a sender.

string
required

Message subject

string
required

Message HTML code

string

Message HTML code without styles.

string

Message AMP code

string

Message styles

date-time

Message updated date

translations
array of objects

The array of the language versions for the current message. Available for the GET method only.

translations
boolean

Set to true to create the message as a template. If false or absent, a general message is created.

Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json; charset=UTF-8