Template Stable

Subscription renewed

Sent when a subscription renews.

subscription-renewed - billing

billing Stable Latest stable

Subscription renewed v1

subscription-renewed - v1

Subject: Subscription renewed

Preheader: Your subscription has renewed.

Required fields

No fields.

Optional fields

Name Type Required Description Example
actionButton.label text No Action Button Label
Max 120 characters
View details
actionButton.url url No Action Button URL
Max 2048 characters
https://example.com/app
heading text No Heading
Max 180 characters
Subscription renewed
intro text No Intro
Max 1000 characters
Your subscription has renewed.
preheader text No Preheader
Max 220 characters
Your subscription has renewed.
subject text No Subject
Max 180 characters
Subscription renewed
subscriptionDetails detailsTable No Subscription details
Details table keys: plan, renewedAt (date), nextRenewalAt (date), amount (currency)
{"plan":"Plan","renewedAt":"Renewed At","nextRenewalAt":"Next Renewal At","amount":"Amount"}

Defaults

{
  "actionButton.label": "View details",
  "heading": "Subscription renewed",
  "intro": "Your subscription has renewed.",
  "preheader": "Your subscription has renewed.",
  "subject": "Subscription renewed"
}

Example data

{
  "templateId": "subscription-renewed",
  "data": {}
}

Template messages

TypeCodeMessage
Return accepted Valid template data can be queued by the send endpoint.
Error field_too_long Action Button Label must be 120 characters or fewer.
Error field_too_long Action Button URL must be 2048 characters or fewer.
Error invalid_url Action Button URL must be a valid http or https URL.
Error field_too_long Heading must be 180 characters or fewer.
Error field_too_long Intro must be 1000 characters or fewer.
Error field_too_long Preheader must be 220 characters or fewer.
Error field_too_long Subject must be 180 characters or fewer.
Error invalid_details_table Subscription details must be an object whose documented table keys are strings, numbers, or booleans.