VMware Cloud
Federal Law Cloud FZ-152

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

Scroll up!