Admin

Send a marketing email to all verified subscribers

post/api/admin/subscribers/send-email

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/subscribers/send-email
  • Auth
    HTTP bearer

Request body

templateKeystring

Template key: app_launch | new_feature | newsletter | promotional | custom

variablesobject

Variables required by the chosen template

Example request

{
  "templateKey": "app_launch",
  "variables": {
    "appStoreUrl": "https://apps.apple.com/...",
    "playStoreUrl": "https://play.google.com/..."
  }
}

Response

unknown required

Example response

{
  "success": true,
  "sent": 38,
  "failed": 0
}

Changes

No recorded changes to this operation across all 34 revisions of this API.