Case actions

Edit a default or one of the account's own templates

Replaces a template's name, audience, stage, subject and body. Editing a default stores the account's own copy of it (delete_outreach_template restores the default). Placeholders: {{brand_name}}, {{brand_domain}}, {{trademark}}, {{advertiser_domain}}, {{affiliate_id}}, {{first_seen}}, {{last_seen}}, {{observation_count}}, {{search_terms}}, {{evidence_summary}}, {{today}}. Requires the write scope.

post/outreach-templates/{template_id}

Request

  • Base URL: https://adslighthouse.com/api/v1
  • URL: https://adslighthouse.com/api/v1/outreach-templates/{template_id}
  • Auth: HTTP bearer

Path parameters

template_idstring required

The template id from list_outreach_templates.

Request body

namestring required
audience'affiliate' | 'advertiser' required
stage'first_notice' | 'reminder' | 'final_notice' | 'custom' required
subjectstring required
bodystring required

Response

Edit a default or one of the account's own templates

idstring required

A default's key (such as affiliate-first-notice) or your template's id.

namestring required
audience'affiliate' | 'advertiser' required
stage'first_notice' | 'reminder' | 'final_notice' | 'custom' required
subjectstring required
bodystring required
is_defaultboolean required
editedboolean required

True for a default your account has edited.

request_idstring

Changes

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