For more information on using API

GET https://webapi.mymarketing.co.il/api/templates/{id}

Get a specific template' information

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Template id. Can be found using the endpoint "Get account's "my templates"" or in the UI(go to "Emails" -> "My Templates" -> click on your desired template -> you'll find the ID at the end of the URL).

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiCampaignTemplateBase

Name

Description

Type

Additional information

name

The template's name

string

Required

subject

The subject of the email that will be sent - for operational messages only

string
classification

Template classification. Used to classify operational messages reports

string
AddPrintButton

Add Print Button

boolean
template_category_id

To which category the template will be added to. Can be found using the endpoint "Get "my templates" categories".

integer
template_category_name

Template category Name. Will be the category name that is related to the category ID. Can be removed in a post/put endpoint

string
campaign_encoding

Campaign encoding of the given template. UTF-8 is recommended in a post/put endpoint

content

The template's content. A clean text (without any design to it) or HTML content. if you send HTML content please note you should use back-slash before each quatation mark.

string

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.