Follow-up policies
Reminder/escalation and notification policies. Escalation steps {after_ with channels email | sms | alternate_email | paper.
Endpoints
- POSTCreate a follow-up policy
/v1/reminder_policies - GETList follow-up policies
/v1/reminder_policies - GETRetrieve a follow-up policy
/v1/reminder_policies/{id} - PATCHUpdate a follow-up policy
/v1/reminder_policies/{id} - DELDelete a follow-up policy
/v1/reminder_policies/{id} - GETList a follow-up policy's versions
/v1/reminder_policies/{id}/versions - POSTPreview a follow-up step
/v1/reminder_policies/preview - POSTDuplicate a follow-up policy
/v1/reminder_policies/{id}/duplicate - POSTReset one of Parasend's policies
/v1/reminder_policies/{id}/reset
The ReminderPolicy object
-
Your name for the policy: 1–100 characters, without control characters; leading and trailing spaces are trimmed.
at most 100 characters -
6 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[].availablebooleanResponses only. False for a step that cannot run yet and is skipped (only the paper step of
rpol_); true otherwise.debt_ collection -
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
-
-
-
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 -
idstringThe policy's ID. Parasend's own policies are
rpol_,default rpol_anddebt_ collection rpol_.none -
objectstringAlways
reminder_.policy -
systembooleanOne of Parasend's own policies (
rpol_,default rpol_,debt_ collection rpol_). The steps of the first two can be made your organisation's own version (none customized); none can be renamed or deleted. -
customizedbooleanYour organisation's own version of one of Parasend's policies is in use.
-
versionintegerThe version in use in this organisation — for one of Parasend's, its own while customized.
-
version_idstringThe follow-up policy version's ID, starting
rpv_. -
in_use_by_batchesintegerOpen batches (draft or sending) that name the policy.
-
in_use_by_deliveriesintegerDeliveries that cite the policy and are not yet confirmed or ended.
-
created_atstring · date-timeWhen the policy was created, in ISO 8601 (UTC).
-
updated_atstring · date-timeWhen the policy last changed (renamed, given a new version, or archived), in ISO 8601 (UTC). For one of Parasend's policies with your own version, when your version last changed.
-
archived_atstring · date-time · nullableWhen the policy was archived with
DELETE /reminder_, in ISO 8601 (UTC); null while it is in use. Parasend's own policies are never archived.policies/{id}