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
Request
- Base URLhttps://emailapi.netcorecloud.net/v5.1
- URLhttps://emailapi.netcorecloud.net/v5.1/template
- AuthAPI key in header api_key
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
Example response
{
"data": {
"template_name": "order_confirmation_v1",
"content": [
{
"type": "html",
"value": "<html>...</html>"
}
]
},
"message": "Success",
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.