Description
This function list the different templates for the Mailjet campaign tool. You can list templates from all or just one category, and also the user's templates.
Request URL
api.mailjet.com/0.1/messageTplmodels
Code Sample
<?php # Call $response = $mj->messageTplModels(); # Result $templates = $reponse->templates; ?>
Parameters
Return
| Label | Type | Description |
| category | String | |
|---|---|---|
| footer | String | |
| footer_wysiwyg_type | Integer | |
| header_filename | String | |
| header_link | String | |
| header_text | String | |
| header_url | String | |
| id | Integer | |
| id_category | Integer | |
| is_custom | Boolean | |
| name | String | |
| permalink | String | |
| permalink_wysiwyg_type | Integer |