✨ MoEngage NEXT Spring 2026 — The Future of Engagement is Agentic. Join us on April 28. Register now
curl --request POST \
--url https://api-{dc}.moengage.com/v1.0/custom-templates/inapp/search \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"page": 1,
"entries": 15,
"template_source": [
"API"
],
"sort_params": [
{
"template_name": "ASCENDING"
}
]
}
'{
"data": [
{
"external_template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"basic_details": {
"payload": "<string>",
"preview_image": "<string>",
"inapp_template_type": "SELF_HANDLED"
},
"meta_info": {
"template_id": "<string>",
"template_name": "<string>",
"template_version": "<string>",
"created_by": "<string>",
"channel": "INAPP",
"template_source": "API",
"template_type": "CUSTOM"
},
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_by": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}This API searches the In-app templates created in your MoEngage account.
curl --request POST \
--url https://api-{dc}.moengage.com/v1.0/custom-templates/inapp/search \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"page": 1,
"entries": 15,
"template_source": [
"API"
],
"sort_params": [
{
"template_name": "ASCENDING"
}
]
}
'{
"data": [
{
"external_template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"basic_details": {
"payload": "<string>",
"preview_image": "<string>",
"inapp_template_type": "SELF_HANDLED"
},
"meta_info": {
"template_id": "<string>",
"template_name": "<string>",
"template_version": "<string>",
"created_by": "<string>",
"channel": "INAPP",
"template_source": "API",
"template_type": "CUSTOM"
},
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_by": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Documentation Index
Fetch the complete documentation index at: https://moengage-crashes-in-debug-feedback.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.
Search filters for finding In-app templates.
Notes:
page and entries are mandatory effective November 15, 2025. All other fields are optional.This field contains the index of the pages to be returned in the search result. Mandatory after Nov 15, 2025.
This field contains the number of entries per page in the search result. Max 15. Mandatory after Nov 15, 2025.
x <= 15This 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.
API, MOENGAGE This field indicates whether the template is a custom one or a pre-built one. Allowed values: CUSTOM, PRE_BUILT.
CUSTOM, PRE_BUILT 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.
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.
Sort the templates by multiple fields in ASCENDING or DESCENDING order: template_name, last_modified_date, last_modified_by.
Show child attributes
Search multiple templates using Pair of external_template_id and version.
Show child attributes
The template was searched successfully.
This field contains all the details of the template searched, such as the meta info, template ID, template version, payload, date and time the template was created or updated, and the user attribute of the user who created or updated the template.
Show child attributes
Was this page helpful?