v1

latestOpenAPI 3.1.02026-07-2616459400.5 KB
Template API

View a template

Retrieve and preview a stored template from the Netcore CPaaS dashboard.

Use this endpoint to fetch template content by template_id.

get/template

Query parameters

template_idstring required
Example:102345

Add the template ID you want to preview.

Headers

api_keystring required
Example:x-api-key-123456789

Add your Netcore CPaaS dashboard Email API key.

Response

Template details returned

messagestring
statusstring

Example response

{
  "data": {
    "template_name": "order_confirmation_v1",
    "content": [
      {
        "type": "html",
        "value": "<html>...</html>"
      }
    ]
  },
  "message": "Success",
  "status": "success"
}