Change a template's subject, body, or settings. Every call replaces subject, html_content and json_content, and also manager_email and other_manager_email (left out = cleared); title and template_editor_mode keep their values when left out. Send channel_id to attach the template to a campaign channel: a regular template becomes the channel's email, a follow_up template its follow-up. Editing a shared (global) template saves a copy under your account with a new id (400 if your account already has a template with that name). Returns the updated template.
Prerequisites: a bearer token and the template's id (value in GET /api/v1/campaign/template/email/list). Optional: a campaign channel id (channel_id, from data.data.channels[].id in the campaign create step 2 or 3 response).
Authentication: Account token. email_template_id must be one of your account's templates or a shared template, and channel_id must be a channel of a campaign on a location inside your own account tree; otherwise 422.
Rate limit: none.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
