Leum gu prìomh susbaint

RecipientInput

Recipient details when sending a document. Used within DocumentSendSettingsInput.

Fields

FieldTypeRequiredDefaultDescription
roleIdIDNoOptional base64-encoded role ID from the template. Use it to link a recipient to template fields, order, and experience when needed
firstNameStringNoRecipient's first name
lastNameStringNoRecipient's last name
emailAWSEmail!YesRecipient's email address
orderInt!YesSend order for sequential signing (0-indexed), and/or to get template role if roleId not used
phoneNumberStringNo""Phone number (E.164 format)
expiryDateAWSDateTimeNonullWhen the invitation expires (ISO 8601). Null for no expiry
schedule[ScheduleItemInput]NoInline custom reminder schedule. Use this or scheduleId, not both
scheduleIdIDNoBase64-encoded preset schedule ID
messageStringNo""Email message body. Supports placeholders: {{signer_firstname}}, {{signer_lastname}}, {{sender_fullname}}, {{doc_name}}
attachments[ID]NoBase64-encoded attachment IDs to include
experienceIDNoBase64-encoded experience value for the signing page. It must decode to exp plus a non-empty suffix
timeZoneStringNoRecipient's time zone (IANA format, e.g. Europe/London)
ccFirstNameStringNoCC contact first name
ccLastNameStringNoCC contact last name
ccEmailAWSEmailNoCC contact email address
ccMessageStringNoCC message text
ccIncludeLinkBooleanNoInclude signing link in CC email

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.