ParasendDocs
Sign in Start free

Update a batch

PATCH/v1/batches/{id}

Changes a batch. A draft can be changed in full; after Send out, only its name and its lock.

Path parameters

  • idstringrequired

    The batch's ID, starting bat_.

Body

Optional

  • namestring · nullable
    at most 200 characters
  • defaultsobject
    6 fields of defaults
    • 8 fields of options
      • How the recipient is told — the invitation and every reminder go to each channel listed; each needs its contact (recipient.email, recipient.phone). Default — e-mail when there is an address, else SMS. Told on both, a failure on one channel bounces the delivery only once the other cannot arrive either.

        One of email sms
      • Which ways of identifying the recipient to offer within recipient.verification_level, in your order of preference. The recipient may always use a way at least as strong as the weakest one you list. Left out: every way the level allows (an SMS code only when the recipient has a phone).

        One of audkenni smart_id sms_otp passkey videoid password link_only
      • The follow-up policy's ID (rpol_…): the reminders this delivery sends while it waits.

      • The brand profile's ID (bp_…). One set on the delivery wins over the batch's, and the batch's over the account's default.

      • How many days the recipient has to confirm receipt before the delivery expires: a whole number from 1 to 365. Default 30. For a delivery in a batch, the days count from when the batch is sent out.

      • What the recipient and the evidence show as the sender. legal_person (your organisation's default) shows the organisation, with an opaque reference to the person who sent it; that person's name, personal code and e-mail are not shown. individual names the person who sent it as well. Your choice per delivery or template; a personal account is always individual.

        One of legal_person individual
      • Which saved wording the first notice uses, per channel: a wording ID, null for Parasend's own, or left out for your organisation's default.

        2 fields of notice_wording
    • csv_personal_code: a delivery added with a recipient.personal_code, and no recipient.conditional_authentication of its own, gets conditional_authentication: true, so only that person can open it. null or left out: no such rule.

      One of csv_personal_code
    • The language (is or en) for deliveries added to the batch that do not set their own.

    • The message for deliveries added to the batch that do not set their own: the plain-text note the recipient sees before signing in.

    • The title for deliveries added to the batch that do not set their own: the subject the recipient sees in the notice and on their page.

    • The recipient.verification_level (high, substantial, medium or low) for deliveries added to the batch that do not set their own.

  • follow_up_policy_idstring · nullable
  • One of keep switch
  • scheduled_atstring · date-time · nullable
  • 3 fields of send_window
    • send_window.startstringrequired

      Local time HH:MM, inclusive.

    • send_window.endstringrequired

      Local time HH:MM, exclusive; after start, same day.

    • The time zone of start and end: always Atlantic/Reykjavik, which is UTC all year.

Returns

200 application/json. The batch. See the Batch object.

Errors have one shape; see Errors for every code.