Admin

Create a policy-change notice email (draft)

Changed on

Rejected unless effectiveAt is at least 30 days away and both bodies link to /privacy… and /terms…. Nothing is sent until start.

post/api/admin/legal/notice-campaigns

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/admin/legal/notice-campaigns
  • Auth
    HTTP bearer

Request body

keystring required

Unique name for this notice

subjectstring required
bodyHtmlstring required

HTML body. The client's copy, as supplied. {{firstName}} and {{effectiveDate}} are filled in per recipient (no name: "Hi {{firstName}}," becomes "Hi,"). Must link to both the Privacy Policy and the Terms.

bodyTextstring required

Plain-text body. The client's copy, as supplied. {{firstName}} and {{effectiveDate}} are filled in per recipient (no name: "Hi {{firstName}}," becomes "Hi,"). Must link to both the Privacy Policy and the Terms.

effectiveAtstring required

When the new version takes effect. At least 30 days after the notice is sent.

Example request

{
  "key": "pp-terms-v3.0",
  "subject": "Changes to our Privacy Policy and Terms, effective {{effectiveDate}}",
  "effectiveAt": "2026-12-03T08:00:00.000Z"
}

Changes