Understand how to use Netcore Email Template APIs (V6).
Overview
The Template API allows you to create, retrieve, update, and delete email templates. Each template includes HTML content and a unique name. These templates can be reused across campaigns for consistent communication.
Important Points to Remember
- All timestamps follow the ISO 8601 format.
- HTML content must be URL-encoded in the request.
- The system decodes and store the content automatically.
- Template changes are tracked for audit logging.
- Content is stored as a single decoded HTML string in the database.
Available Endpoints
Endpoint Name | Method | Endpoint | Description |
---|---|---|---|
Create Template | POST | /v6/templates | Creates a new template with metadata, content, and optional variables. |
List Templates | GET | /v6/templates | Retrieves a paginated list of all templates available under the account. |
Get Template by ID | GET | /v6/templates/{template_id} | Fetches details of a specific template, including content, metadata, and usage. |
Update Template | PUT | /v6/templates/{template_id} | Updates the content or metadata of an existing template. |
Delete Template | DELETE | /v6/templates/{template_id} | Permanently deletes a template that is no longer in use. |