Update a batch
/v1/batches/{id}Changes a batch. A draft can be changed in full; after Send out, only its name and its lock.
Path parameters
-
The batch's ID, starting
bat_.
Body
Optional
-
namestring · nullableat most 200 characters -
defaultsobject6 fields of
defaults-
defaults.optionsobject8 fields of
options-
defaults.options.notify_channelsarray of stringHow 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 ofemailsms -
defaults.options.auth_methodsarray of stringWhich ways of identifying the recipient to offer within
recipient., 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).verification_ level One ofaudkennismart_idsms_otppasskeyvideoidpasswordlink_only -
defaults.options.reminder_policystring · nullableThe follow-up policy's ID (
rpol_): the reminders this delivery sends while it waits.… -
defaults.options.brand_profile_idstring · nullableThe 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_(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.person individualnames the person who sent it as well. Your choice per delivery or template; a personal account is alwaysindividual.One oflegal_personindividual -
Send even though your brand profile's link domain is not working, with Parasend's own links (warning
link_). Without it such a delivery is refused with 409domain_ unavailable link_.domain_ unavailable Defaultfalse -
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-
defaults.options.notice_wording.emailstring · nullable -
defaults.options.notice_wording.smsstring · nullable
-
-
-
defaults.additional_security_sourcestring · nullablecsv_: a delivery added with apersonal_ code recipient., and nopersonal_ code recipient.of its own, getsconditional_ authentication conditional_, so only that person can open it. null or left out: no such rule.authentication: true One ofcsv_personal_code -
defaults.languagestringThe
language(isoren) for deliveries added to the batch that do not set their own. -
defaults.messagestringThe
messagefor deliveries added to the batch that do not set their own: the plain-text note the recipient sees before signing in. -
defaults.titlestringThe
titlefor 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,mediumorlow) for deliveries added to the batch that do not set their own.
-
-
follow_up_policy_idstring · nullable -
allow_policy_overrideboolean -
own_policy_deliveriesstringOne ofkeepswitch -
scheduled_atstring · date-time · nullable -
send_windowobject3 fields of
send_window-
Local time HH:MM, inclusive.
-
Local time HH:MM, exclusive; after start, same day.
-
send_window.tzstringThe time zone of
startandend: alwaysAtlantic/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.