This API searches the email templates created in your MoEngage account.
page: The page number of the results you wish to fetch.entries: The number of templates to return per page, with a maximum value of 15.Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
For more information on authentication and getting your credentials, refer here.
Note:
template_ids if you want specific older versions of the email template. In other cases, you will receive the latest version of the template.is_default_template_of_group flag is set to "true" for the default (parent) template and "false" for child templates.This field contains the index of the pages to be returned in the search result.
This field contains the number of entries per page in the search result.
This field indicates the name of the template. When this value is specified, the template that matches the name specified in this field will be returned.
This field indicates the template source that created the template. For example ["API", "MOENGAGE"]. When specified, the templates whose source matches that specified in this list will be returned.
This field indicates the template version. When specified, the template whose template version matches that specified in this field will be returned.
This field indicates the template id. When specified, the template whose template id matches that specified in this field will be returned.
This field indicates whether the template is a custom one or a pre-built one. Allowed values: CUSTOM, PRE_BUILT. When specified, the templates whose template type matches that specified in this list will be returned.
This field indicates the user who created the template. When specified, the templates for which the created_by user information matches that specified in this list will be returned. Example: ["[email protected]", "[email protected]"]
This field indicates the user who updated the template. When specified, the templates for which the updated_by user information matches that specified in this list will be returned. Example: ["[email protected]", "[email protected]"]
This field indicates the sorting parameters for the search result and the sort order. Example: "sort_params":[{"template_name": "ASCENDING","last_modified_date": "ASCENDING","last_modified_by": "ASCENDING"}]
This field indicates the list of the template ids and their versions that must be fetched. When this value is specified, the template that matches the id and version specified in this field will be returned.
This field indicates the group ID of the parent template. Pass the Group ID of the parent (default) template of the group to fetch all templates associated with that group. The "external_template_id" generated for the parent template acts as its group ID.
If the value is "true", this API fetches only the default template data, including additional fields such as unique locale count, unique variations, total templates in the group, and all individual templates that are not part of any group. If the value is "false", this API will fetch all individual templates and their template data.
If the value is "true", this API fetches total templates of the same request to support pagination on the UI.
This response is returned when the request is processed successfully.