ParasendDocs
Sign in Start free

Save a wording

POST/v1/wordings

Version 1 of a named wording for one channel. message follows a step's rules (StepMessage, without source); its custom needs Plan 1–3 or Enterprise (403 theme_knob_plan_gated, param message.custom); an SMS wording must keep the reminder one SMS (policy_sms_too_long).

Body

Required

  • namestringrequired

    Your name for the wording: 1–100 characters, without control characters; leading and trailing spaces are trimmed.

    at most 100 characters
  • channelstringrequired

    The channel the wording is for: email or sms. It cannot be changed later; an SMS wording's text must keep the message to one SMS.

    One of email sms
  • messageobjectrequired

    The wording a follow-up step's reminder sends. Left out: Parasend's standard reminder. preset picks Parasend's wording; custom holds your own, by language (Plan 1–3 and Enterprise). A field or language left out comes from the preset.

    3 fields of message
    • standard is the usual reminder; firmer and final are Parasend's stronger wordings.

      One of standard firmer final
      Default "standard"
    • Your own wording, by language (is, en); a field or a language left out comes from preset. Needs Plan 1–3 or Enterprise; otherwise refused with theme_knob_plan_gated.

      2 fields of custom
      • Plain text. An e-mail step takes subject, heading and text; an SMS step text only. 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}}.

        3 fields of is
      • Plain text. An e-mail step takes subject, heading and text; an SMS step text only. 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}}.

        3 fields of en
    • The 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

Optional

  • usestring

    reminder (the default) for follow-up steps, or notice for the first notice.

    One of reminder notice
    Default "reminder"
  • is_defaultboolean

    Notice wordings only: make this the first-notice wording for its channel. One per channel.

    Default false

Returns

201 application/json. Saved. See the Wording object.

Errors have one shape; see Errors for every code.