Campaign templates

Save a campaign's sequence as a reusable template

Saves an existing campaign's sequence as a reusable template: every step (channel, wait days, topic, subject and body) plus the schedule settings - sending days, sending hours, timezone and source lists. The template is a snapshot; later edits to the campaign do not change it, and editing the template is not exposed here. Use the returned id as templateId when creating a campaign. Only the token owner's own campaigns can be snapshotted: a campaign delegated to you, one shared by your team's visibility settings, and a deleted one all answer 404. Rate limit: 30 requests/minute and 1,000/day per token owner, shared by every campaign, scheduled-send, campaign-template and knowledge-hub endpoint.

Errors:

  • 404 CAMPAIGN_NOT_FOUND — No campaign with this id exists, it belongs to another account (including a campaign delegated to you or shared by your team's visibility settings), or it has been deleted.
  • 422 VALIDATION_FAILED — name or campaignId is missing, unknown key, or campaignId is not a 24-character hex id; param names the field.
  • 429 RATE_LIMITED — More than 30 campaign requests in a minute, or 1,000 in a day, for this token owner (the bucket is shared by every /business/campaigns, /business/scheduled-sends, /business/campaign-templates and /business/knowledge-hubs call).
  • 500 UNEXPECTED_ERROR — An unhandled failure; the detail stays in our logs and is never returned.

Requires one of the following token scopes: campaigns.

post/business/campaign-templates

Request

  • Base URL: https://api.tryfuse.ai/api/v1
  • URL: https://api.tryfuse.ai/api/v1/business/campaign-templates
  • Auth: HTTP basic

Request body

namestring required

Name of the new template (1-200 characters, trimmed).

campaignIdstring required

Id of the campaign whose steps (channel, wait days, topic, subject/body) and schedule settings (emailDays, sending hours, timezone, source lists) are snapshotted into the template.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.