> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# In-app Templates Overview

> Create, search, and update In-app templates (Self-Handled and HTML).

The MoEngage In-app Templates API allows you to seamlessly manage In-app templates within the MoEngage platform. This API enables you to upload templates created outside the MoEngage ecosystem—supporting both **Self-Handled** and **HTML** types—so they can be used for campaign creation.

With these endpoints, you can create versions of your templates, search through your existing library using various filters, and choose whether updates to a template should automatically reflect in your active campaigns.

## Endpoints

The In-app Templates API is a collection of the following endpoints:

* [Create In-app Template](/api/in-app-templates/create-in-app-template): Creates a new In-app template (Self-Handled or HTML).
* [Update In-app Template](/api/in-app-templates/update-in-app-template): Updates an existing template.
* [Search In-app Templates](/api/in-app-templates/search-in-app-templates): Finds templates using filters like name, source, type, or creator ID.

## FAQs

<Accordion title="Which template types are supported via API?" icon="layer-group">
  Currently, the API supports **SELF\_HANDLED** (JSON-based) and **INAPP\_HTML** template types.
</Accordion>

<Accordion title="How do I apply template updates to active campaigns?" icon="arrows-rotate">
  When using the **Update In-app Template** API, set the `update_campaigns` flag to `true`. This will update all running campaigns currently using that template to the latest version.
</Accordion>

## Postman Collection

Test these endpoints quickly by importing our Postman collection: [**View in Postman**](https://www.postman.com/moengage-dev/api-docs/collection/wada9u5/moengage-in-app-api?action=share\&source=copy-link\&creator=28342601)
