API ReferenceTemplatesUpdate Template

    Update Template

    Update an existing email template. Only the fields you include in the request body will be modified. Only name, subject, type, and content are allowed.
    PATCHhttps://wapi.simplysend.email/web-setup/templates/{templateId}

    Parameters

    templateIdRequired
    string
    The unique identifier of the template to update (path parameter).
    name
    string
    Updated name for the template.
    subject
    string
    Updated subject line. Supports {{variable}} syntax.
    type
    string
    Updated template type (e.g. 'transactional', 'marketing').
    content
    string
    Updated HTML content of the template. Content is validated and sanitized.
    RequestPATCH
    Response