v1
latestOpenAPI 3.1.02026-07-2616459400.5 KBTemplate API
Update a template
Update template name and/or template content stored in the Netcore CPaaS dashboard.
Pass the template_id and only the fields you want to change.
patch/template
Headers
api_keystring required
Example:x-api-key-123456789
Add your Netcore CPaaS dashboard Email API key.
Request body
Example request
{
"template_id": 102345,
"template_name": "order_confirmation_v2",
"content": [
{
"type": "html",
"value": "<html><body>Hello [% NAME %], your order has shipped.</body></html>"
}
]
}Response
Template updated successfully
Example response
{
"data": {
"template_id": 102345,
"template_name": "order_confirmation_v2"
},
"message": "Template updated",
"status": "success"
}