notification
Stable
Latest stable
Export ready v1
export-ready - v1
Subject: Your export is ready
Preheader: Download your completed export.
Required fields
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
actionButton.url |
url | Yes | Action Button URL Max 2048 characters |
https://example.com/download |
Optional fields
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
actionButton.label |
text | No | Action Button Label Max 120 characters |
Download export |
exportDetails |
detailsTable | No | Export details Details table keys: createdAt (datetime), expiresAt (datetime), format, size |
{"createdAt":"Created At","expiresAt":"Expires At","format":"Format","size":"Size"} |
heading |
text | No | Heading Max 180 characters |
Your export is ready |
intro |
text | No | Intro Max 1000 characters |
The export you requested is ready to download. |
preheader |
text | No | Preheader Max 220 characters |
Download your completed export. |
subject |
text | No | Subject Max 180 characters |
Your export is ready |
Defaults
{
"actionButton.label": "Download export",
"heading": "Your export is ready",
"intro": "The export you requested is ready to download.",
"preheader": "Download your completed export.",
"subject": "Your export is ready"
}
Example data
{
"templateId": "export-ready",
"data": {
"actionButton": {
"url": "https://example.com/download"
}
}
}
Template messages
| Type | Code | Message |
|---|---|---|
| Return | accepted |
Valid template data can be queued by the send endpoint. |
| Error | missing_required_variable |
Action Button URL is required. |
| 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 |
Action Button Label must be 120 characters or fewer. |
| Error | invalid_details_table |
Export details must be an object whose documented table keys are strings, numbers, or booleans. |
| 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. |