The Get All Templates API fetches the list of all the email templates available in your MoEngage account.
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:
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.
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
This response is returned when the request is processed successfully.