Skip to main content

Update Team Email Template

PUT 

/v2/team_templates/:id

Update a team email template

Request

Path Parameters

    id stringrequired

    Template ID

Body

required
    title string

    The title of the email content.

    subject string

    The subject line of the email content.

    body string

    The main body of the email content.

    open_tracking boolean

    Indicates if open tracking is enabled for the email.

    click_tracking boolean

    Indicates if click tracking is enabled for the email.

    attachment_ids integer[]

    A list of attachment IDs to associate with the email template.

Responses

Success

Schema
    id string

    ID of team template

    title string

    Title of the team template

    subject string

    Subject of the team template

    body string

    Body of the team template

    body_preview string

    A plain text version of the first 100 characters of the body of the team template

    created_at date-time

    Datetime of when the team template was created

    updated_at date-time

    Datetime of when the team template was last updated

    last_used_at date-time

    Datetime of when the team template was last used

    archived_at date-time

    Datetime of when the team template was archived, if archived

    last_modified_at date-time

    Datetime of when the team template was last modified

    open_tracking_enabled boolean

    Whether open tracking is enabled for this team template

    click_tracking_enabled boolean

    Whether click tracking is enabled for this team template

    counts object
    sent_emails integer

    The number of times the team template was sent out

    views integer

    The number of times the team template was opened

    clicks integer

    The number of times links in the team template were clicked

    replies integer

    The number of replies the team template received

    bounces integer

    The number of bounces the team template received

    last_modified_user object

    User that last modified this team template

    id integer
    _href string
    _links object

    Links to attachments resource for this template

    tags string[]

    All tags applied to this team template

Loading...