Neidio i’r prif gynnwys

RecipientInput

Recipient details when sending a document. Used within DocumentSendSettingsInput.

Fields​

FieldTypeRequiredDefaultDescription
idIDNo—Optional recipient ID when updating or reusing recipient details
roleIdIDNo—Optional base64-encoded role ID from the template. Use it to link a recipient to template fields, order, and experience when needed
firstNameStringNo—Recipient's first name
lastNameStringNo—Recipient's last name
emailString!Yes—Recipient's email address
orderInt!Yes—Send order for sequential signing (0-indexed), and/or to get template role if roleId not used
signerIndexIntNo—Legacy field indicator number for this recipient
phoneNumberStringNo""Phone number (E.164 format)
expiryDateAWSDateTimeNonullWhen the invitation expires (ISO 8601). Null for no expiry
schedule[ScheduleItemInput]No—Inline custom reminder schedule. Use this or scheduleId, not both
scheduleIdIDNo—Base64-encoded preset schedule ID
messageIDNo""Message ID or value to use for this recipient
attachments[ID]No—Base64-encoded attachment IDs to include
experienceIDNo—Base64-encoded experience value for the signing page. It must decode to exp plus a non-empty suffix
skippedBooleanNo—Whether this recipient should be skipped
timeZoneStringNo—Recipient's time zone (IANA format, e.g. Europe/London)
channelChannelTypeNoEMAILCommunication channel for this recipient
ccFirstNameStringNo—CC contact first name
ccLastNameStringNo—CC contact last name
ccEmailStringNo—CC contact email address
ccMessageStringNo—CC message text
ccIncludeLinkBooleanNo—Include signing link in CC email
ccToggleValueBooleanNo—Deprecated CC toggle value

Validation Rules​

  • firstName maximum length: 60 characters.
  • lastName maximum length: 60 characters.
  • email maximum length: 75 characters.
  • phoneNumber maximum length: 120 characters.
  • message maximum length: 8000 characters.
  • roleId must decode to rol followed by a UUID.
  • experience, when supplied, must be base64-encoded and decode to exp followed by a non-empty string suffix. The suffix does not need to be a UUID.
  • scheduleId, when supplied, must decode to sch followed by an integer. Empty string is also allowed.
  • attachments entries must decode to att followed by a UUID.
  • If schedule is supplied, each item uses the limits documented in ScheduleItemInput.

Skipping recipients​

To skip a recipient (e.g. a witness that isn't needed), omit them from the recipients array entirely. The remaining recipients should have their order values re-indexed starting from 0. Template-level fields (senderFields, participantFields) are unaffected — include all of them regardless of which recipients are skipped.

Example​

recipients: [{
firstName: "Jane"
lastName: "Smith"
email: "jane@example.com"
order: 0
experience: "ZXhwLWRlZmF1bHQ="
schedule: [{
daysAfter: 3
frequency: 7
when: 2
timeOfDay: "09:00:00"
subject: "Reminder: please sign"
message: "Please sign the document."
skipWeekend: true
}]
}]

Export This Article

Save a copy of this page as PDF or plain text.