Create Template
templates
Create Template
Create a new email template.
Templates can be used across multiple campaigns for sending template-based emails. Variables in the template (e.g., ) will be replaced with lead data at send time.
Args: request: Template creation request with name and content current_user: Authenticated user information service: Campaign service instance
Returns: Created template response
POST
Create Template
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Successful Response
Response model for email template.