Getting Information About Templates

You can retrieve the list of templates using the following HTTP request:

curl -X GET https://api.msndr.net/v1/email/templates \
     -H 'Content-Type: application/json'    \
     -H 'Authorization: Bearer $API_TOKEN'
 

Uses GET and /email/templates endpoint

 

This method supports page-by-page output of results. So you can output specific pages with a specific number of entries.

 

Successful Response:

{
  "total_count":3,
  "total_pages":1,
  "page_number":1,
  "page_size":25,
  "collection":[
    {
      "id":1,
      "name":"My Template"
    }
  ]
}

Have you tried Cloud4U cloud services? Not yet?

Visit Website

Try for free

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Managing Email Campaigns

Creating an Email Campaign  JSON Data Example for HTTP Request: {...

Managing organizations

Creating organization Example of json data for HTTP request: { "name":"My Organization",...

Sending Messages Via SMTP

Base URL smtp.msndr.net Use port 25 or 587 The use of SSL/TLS encryption is not mandatory....

Getting the Current Balance Information

To check your balance, make the following HTTP request: curl -X GET...

Webhooks Mechanism

The Webhooks mechanism allows you to receive POST requests to a specified URL when events occur...