Get All Templates
The Get All Templates API fetches the list of all the email templates available in your MoEngage account.
Rate Limit
The rate limits are at the app level, and a maximum of thousand (sum of all the API requests per app)requests are allowed for an app per minute.Authorizations
The API request will be authenticated through Basic Authentication. Basic Authentication sends a Base64-encoded string containing your username and password with every API request.
The username and password details can be obtained from the MoEngage Dashboard. If you're using the API for the first time, follow these steps:
- Navigate to Settings -> Account -> APIs.
- Copy the following details:
- Username: Under Workspace ID (earlier app id), click the copy icon to copy the username.
- Password: In the API keys section, click the copy icon in the Data tile to copy the API key.
- Use these details to authenticate the API requests.
Headers
This is your MoEngage account's WORKSPACE ID which must be passed along with the request. You can find your MoEngage WORKSPACE ID at Settings -> Account -> APIs -> WORKSPACE ID.
Set the Content-Type header to application/json.
application/json This authentication parameter, used for access control, must be passed along with the request. To generate the authentication header, refer to Authentication.
Query Parameters
This parameter represents the page number. If this value is not specified, it will be considered as one by default. Each page will have a batch size of 20( 20 templates will be returned in a page).
1
Response
This response is returned when the request is processed successfully.