Automation timing
Options to set delays and delivery time windows for automated messages.
Absolute window of time
An object with start and end attributes containing ISO-formatted dates specifying an absolute window of time.
- end stringREQUIRED
A date-time specifying the end date.
- start stringREQUIRED
A date-time specifying the start date.
Examples
Example absolute time window
{ "audience":
{
"date": {
"days": {
"start": "2020-01-01",
"end": "2020-01-15"
}
}
}
}
Relative window of time
A relative window of time is indicated by setting the recent attribute. The value is an object with a single integer-valued attribute set.
- recent integer
The
hoursvalid range is1-48(Up to the last two days). Thedaysvalid range is1-60(Up to the last 60 days). Theweeksvalid range is1-10(Up to the last 10 weeks). Themonthsvalid range is1-48(Up to the last 4 years). Theyearsvalid range is1-10(Up to the last 10 years).
Examples
Example relative time window
{
"date": {
"days": {
"recent": 1
}
}
}