Update a follow-up policy
/v1/reminder_policies/{id}Changes a follow-up policy. An archived policy answers 409 policy_. Changing the steps of rpol_ or rpol_ makes your organisation's own version of it, under the same ID, and customized becomes true; their names stay Parasend's. rpol_ takes no steps (403 system_). Any of Parasend's policies can be made your account default.
Path parameters
-
The policy's ID.
Body
Required
-
Your name for the policy: 1–100 characters, without control characters; leading and trailing spaces are trimmed.
at most 100 characters -
5 fields of
steps-
Days after the first notice when the step is due: a whole number from 1 to 365, never smaller than the step before it. The reminder goes within the send window and at least 24 hours after the delivery's last message.
at least 1, at most 365 -
How the step's reminder goes:
emailorsms. A step whose channel the recipient has no contact for is skipped.alternate_andemail paperare refused withpolicy_until they are available.step_ invalid One ofemailsmsalternate_emailpaper -
steps[].conditionsarray of stringWhat must all hold for the step to go, else it is skipped:
not_(always included, listed or not);delivered email_, no e-mail to the recipient has been opened (a hint, not proof);not_ opened email_, an e-mail to the recipient bounced or failed.bounced One ofnot_deliveredemail_not_openedemail_bounced -
steps[].requires_approvalboolean · nullablePaper defaults to approval-required.
-
steps[].messageobjectThe wording a follow-up step's reminder sends. Left out: Parasend's standard reminder.
presetpicks Parasend's wording;customholds your own, by language (Plan 1–3 and Enterprise). A field or language left out comes from the preset.3 fields of
message-
steps[].message.presetstringstandardis the usual reminder;firmerandfinalare Parasend's stronger wordings.One ofstandardfirmerfinalDefault"standard" -
steps[].message.customobjectYour own wording, by language (
is,en); a field or a language left out comes frompreset. Needs Plan 1–3 or Enterprise; otherwise refused withtheme_.knob_ plan_ gated 2 fields of
custom-
Plain text. An e-mail step takes
subject,headingandtext; an SMS steptextonly. Variables: {{recipient.name}}, {{recipient.first_name}}, {{sender.name}}, {{delivery.title}}, {{delivery.sent_on}}, {{delivery.expires_on}}, {{files.count}}; an SMS only the two dates. No links, e-mail addresses or phone numbers. An e-mail may hold the gender word {{recipient.gender: male | female | other}}. -
Plain text. An e-mail step takes
subject,headingandtext; an SMS steptextonly. Variables: {{recipient.name}}, {{recipient.first_name}}, {{sender.name}}, {{delivery.title}}, {{delivery.sent_on}}, {{delivery.expires_on}}, {{files.count}}; an SMS only the two dates. No links, e-mail addresses or phone numbers. An e-mail may hold the gender word {{recipient.gender: male | female | other}}.
-
-
steps[].message.sourceobjectThe saved wording and version this step's wording was loaded from. A record only: the step keeps its own copy. Not on a saved wording's own message.
2 fields of
source-
at least 1
-
-
Optional
-
stop_onstringWhen the follow-ups stop:
confirmed, the only value, once the recipient confirms receipt. -
is_account_defaultbooleanThe organisation's pre-fill for new batches and deliveries; never applied by itself. Needs organization.update.
Defaultfalse
Returns
200 application/json. Updated. See the ReminderPolicy object.
Errors have one shape; see Errors for every code.