SigninghubClient
Attributes
WorkflowWorkflowAddGroupInput
module-attribute
WorkflowWorkflowAddPlaceholderInput
module-attribute
WorkflowWorkflowAddUserInput
module-attribute
TextboxType
module-attribute
CertifyPermission
module-attribute
CertifyPermission = Literal['NO_CHANGES_ALLOWED', 'FORM_FILLING_ALLOWED', 'FORM_FILLING_WITH_ANNOTATIONS_ALLOWED']
DocumentPackageStatus
module-attribute
DocumentPackageStatus = Literal['ALL', 'DRAFT', 'INPROGRESS', 'PENDING', 'SIGNED', 'COMPLETED', 'REVIEWED', 'DECLINED', 'EDITED', 'EXPIRING_IN_SEVEN_DAYS']
TemplateSortBy
module-attribute
CollaboratorRole
module-attribute
CollaboratorRole = Literal['SIGNER', 'REVIEWER', 'EDITOR', 'INPERSON_HOST', 'CARBON_COPY', 'ELECTRONIC_SEAL']
FolderItemSortBy
module-attribute
FolderItemSortBy = Literal['TITLE', 'WORKFLOW_TYPE', 'DATE_CREATED', 'LAST_MODIFIED', 'OWNER', 'LOCATION', 'STATUS']
WorkflowCollaboratorRole
module-attribute
Classes
EmptyResponse
dataclass
AttachmentDownloadAttachmentResponse
dataclass
GetAttachmentResponse
dataclass
AddAttachmentResponse
dataclass
AddFieldResponse
dataclass
ContactResponse
dataclass
ContactResponse(id: Optional[int] = None, user_name: Optional[str] = None, user_email: Optional[str] = None, mobile_number: Optional[str] = None, enterprise: Optional[bool] = None, user_national_id: Optional[str] = None, created_on: Optional[str] = None)
Response for Get Contacts
Attributes
user_name
class-attribute
instance-attribute
User name of the contact.
user_email
class-attribute
instance-attribute
Email address of the contact.
mobile_number
class-attribute
instance-attribute
Mobile number of the contact.
enterprise
class-attribute
instance-attribute
True, if contact is enterprise.
user_national_id
class-attribute
instance-attribute
National identity number of the contact
DocumentResponse
dataclass
DocumentsDownloadDocumentBytesResponse
dataclass
CertifyPolicyResponse
dataclass
DocumentDetailsResponse
dataclass
DocumentDetailsResponse(document_id: Optional[int] = None, document_name: Optional[str] = None, document_order: Optional[int] = None, document_type: Optional[str] = None, document_width: Optional[int] = None, document_height: Optional[int] = None, document_source: Optional[str] = None, document_pages: Optional[int] = None, form_fields: Optional[bool] = None, lock_form_fields: Optional[bool] = None, uploaded_on: Optional[str] = None, modified_on: Optional[str] = None, certify: Optional[DocumentCertifyResponse] = None, template: Optional[DocumentTemplateResponse] = None)
Response for Get Document Details
Attributes
document_id
class-attribute
instance-attribute
ID of the newly created document.
document_name
class-attribute
instance-attribute
The name of the document.
document_type
class-attribute
instance-attribute
Type of the document e.g. "PDF".
document_width
class-attribute
instance-attribute
Width of the document in PDF format.
document_height
class-attribute
instance-attribute
Height of the document in PDF format.
document_source
class-attribute
instance-attribute
Identifies where the document was uploaded e.g. "My App".
document_pages
class-attribute
instance-attribute
Total pages of the document.
form_fields
class-attribute
instance-attribute
True if document has form fields.
lock_form_fields
class-attribute
instance-attribute
True if locking of form fields with the last signature is enabled.
uploaded_on
class-attribute
instance-attribute
The date and time when the document was uploaded.
UploadDocumentLibraryResponse
dataclass
UploadDocumentLibraryResponse(document_id: Optional[int] = None, document_name: Optional[str] = None, document_size: Optional[int] = None, document_order: Optional[int] = None, document_type: Optional[str] = None, document_source: Optional[str] = None, document_width: Optional[int] = None, document_height: Optional[int] = None, document_pages: Optional[int] = None, uploaded_on: Optional[str] = None, modified_on: Optional[str] = None, form_fields: Optional[bool] = None, lock_form_fields: Optional[bool] = None, certify: Optional[UploadDocumentLibraryCertifyResponse] = None, template: Optional[UploadDocumentLibraryTemplateResponse] = None, package_name: Optional[str] = None, metadata: Optional[UploadDocumentMetaInfoDetail] = None)
Response for Add or Update Document from Library
Attributes
document_id
class-attribute
instance-attribute
ID of the newly created document.
document_name
class-attribute
instance-attribute
The name of the document.
document_size
class-attribute
instance-attribute
Uploaded document size in bytes
document_order
class-attribute
instance-attribute
Order of the document
document_type
class-attribute
instance-attribute
Type of the document e.g. "PDF".
document_source
class-attribute
instance-attribute
Identifies where the document was uploaded e.g. "My App".
document_width
class-attribute
instance-attribute
Width of the document in PDF format.
document_height
class-attribute
instance-attribute
Height of the document in PDF format.
document_pages
class-attribute
instance-attribute
Total pages of the document.
uploaded_on
class-attribute
instance-attribute
The date and time when the document was uploaded.
modified_on
class-attribute
instance-attribute
The date and time when the document was last modified.
form_fields
class-attribute
instance-attribute
True if document has form fields.
lock_form_fields
class-attribute
instance-attribute
True if locking of form fields with the last signature is enabled.
UploadDocument
dataclass
UploadDocument(document_id_2: Optional[int] = None, documentid: Optional[int] = None, document_id: Optional[int] = None, document_name: Optional[str] = None, document_order: Optional[int] = None, document_type: Optional[str] = None, document_source: Optional[str] = None, document_width: Optional[int] = None, document_height: Optional[int] = None, document_pages: Optional[int] = None, uploaded_on: Optional[str] = None, modified_on: Optional[str] = None, lock_form_fields: Optional[bool] = None, certify: Optional[CertifyPermissionResponse] = None, document_size: Optional[int] = None, metadata: Optional[UploadDocumentMetaInfoDetail] = None, package_name: Optional[str] = None)
Response for Upload Document
Attributes
document_id_2
class-attribute
instance-attribute
This property is retained for backward compatibility and will be removed in later versions. Use document_id instead.
documentid
class-attribute
instance-attribute
The document ID to be used later to share, download and get status of the document. will be removed later document_id will be used
document_id
class-attribute
instance-attribute
The document ID to be used later to share, download and get status of the document.
document_name
class-attribute
instance-attribute
The name of the document.
document_order
class-attribute
instance-attribute
Document order in package
document_type
class-attribute
instance-attribute
Type of the document e.g. "PDF".
document_source
class-attribute
instance-attribute
Identifies where the document was uploaded e.g. "My App".
document_width
class-attribute
instance-attribute
Width of the document in PDF format.
document_height
class-attribute
instance-attribute
Height of the document in PDF format.
document_pages
class-attribute
instance-attribute
Total pages of the document.
uploaded_on
class-attribute
instance-attribute
The date and time when the document was uploaded.
modified_on
class-attribute
instance-attribute
The date and time when the document was last modified.
lock_form_fields
class-attribute
instance-attribute
True if locking of form fields with the last signature is enabled.
document_size
class-attribute
instance-attribute
Uploaded document size in bytes
EnterpriseAccessResponse
dataclass
EnterpriseAccessResponse(authentication: Optional[EnterpriseAuthenticationResponse] = None, authentication_signing: Optional[EnterpriseAuthenticationSigningResponse] = None, access_duration: Optional[PermissionAccessDurationResponse] = None)
Response for Get Workflow User Authentication (Document Opening) of Enterprise Package
AutoPlaceFieldsResponse
dataclass
FieldsResponse
dataclass
FieldsResponse(signature: Optional[List[DigitalSignatureFieldResponse]] = None, hand_signature: Optional[List[HandSignatureFieldResponse]] = None, electronic_signature: Optional[List[ElectronicSignatureFieldResponse]] = None, initials: Optional[List[InitialFieldResponse]] = None, in_person_signature: Optional[List[Dict[str, Any]]] = None, text: Optional[List[TextFieldResponse]] = None, radio: Optional[List[RadioFieldResponse]] = None, checkbox: Optional[List[CheckboxFieldResponse]] = None, dropdown: Optional[List[DropdownFieldResponse]] = None, listbox: Optional[List[ListBoxFieldResponse]] = None, qrcode: Optional[List[QrCodeResponse]] = None, attachment: Optional[List[AttachmentFieldResponse]] = None, comment: Optional[List[CommentFieldResponse]] = None, unique_identifier: Optional[List[UniqueIdentifierFieldResponse]] = None)
AddPackageResponse
dataclass
AddPackageResponse(package_id: Optional[int] = None, workflow_mode: Optional[str] = None, workflow_type: Optional[str] = None)
Response for Add Package
Attributes
package_id
class-attribute
instance-attribute
The package ID to be used later to share, download and get status of the document.
workflow_mode
class-attribute
instance-attribute
The workflow mode that is set while adding package.
PackageDownloadPackageBytesResponse
dataclass
GetPackagesResponse
dataclass
GetPackagesResponse(package_id: Optional[int] = None, package_name: Optional[str] = None, package_owner: Optional[str] = None, owner_name: Optional[str] = None, shared_package: Optional[bool] = None, gatekeeper_package: Optional[bool] = None, package_status: Optional[str] = None, extension: Optional[str] = None, workflow_mode: Optional[str] = None, folder: Optional[str] = None, folder_id: Optional[int] = None, unread: Optional[bool] = None, next_signer: Optional[str] = None, next_signer_email: Optional[List[NextSignerEmail]] = None, uploaded_on: Optional[str] = None, modified_on: Optional[str] = None, access_duration: Optional[RecipientAccessDurationDetails] = None, decline: Optional[RecipientDeclineDetails] = None, size: Optional[int] = None)
Response for Get Packages
Attributes
package_id
class-attribute
instance-attribute
Package ID of the document package.
package_name
class-attribute
instance-attribute
Name of the document package.
package_owner
class-attribute
instance-attribute
Email address of the document package owner.
owner_name
class-attribute
instance-attribute
Name of the document package owner.
shared_package
class-attribute
instance-attribute
Shared Package
gatekeeper_package
class-attribute
instance-attribute
Gatekeeper Package
package_status
class-attribute
instance-attribute
Document status for the current logged in user. Possible values are "DRAFT", "INPROGRESS", "PENDING", "DECLINED", or "COMPLETED".
extension
class-attribute
instance-attribute
Document Package extension
folder
class-attribute
instance-attribute
Name of the folder which contains the document package.
folder_id
class-attribute
instance-attribute
Id of the folder which contains the document package.
unread
class-attribute
instance-attribute
True, if the document is not read by the recipient yet.
next_signer
class-attribute
instance-attribute
The name of the next signer if the document is in shared state.
next_signer_email
class-attribute
instance-attribute
An object containing next signers username and email address. In case of group signer it will have a list of email addresses of all the group members.
uploaded_on
class-attribute
instance-attribute
Date and time when the document was uploaded.
modified_on
class-attribute
instance-attribute
Date and time when the document was last modified.
GetPackageDetailsResponse
dataclass
GetPackageDetailsResponse(name: Optional[str] = None, owner: Optional[DocumentOwner] = None, read_only: Optional[bool] = None, document_status: Optional[str] = None, documents: Optional[List[DocumentDetails]] = None)
Response for Get Package Details
Attributes
read_only
class-attribute
instance-attribute
True if the applied template is read only. User will not be able to make any changes if a read only template is applied.
AddQrCodeResponse
dataclass
AddQrCodeResponse(data: Optional[str] = None, field_name: Optional[str] = None, value: Optional[str] = None)
Response for Add QR Code
Attributes
field_name
class-attribute
instance-attribute
Name of the field created in the document.
UpdateQrCodeResponse
dataclass
TemplateResponse
dataclass
TemplateResponse(template_id: Optional[int] = None, template_name: Optional[str] = None, template_public: Optional[bool] = None, read_only: Optional[bool] = None, created_on: Optional[str] = None, description: Optional[str] = None, enterprise: Optional[bool] = None, documents: Optional[List[TemplateDocumentResponse]] = None, smart_form: Optional[TemplateSmartFormResponse] = None)
Response for Get Templates
Attributes
template_id
class-attribute
instance-attribute
Id of the template is returned here
template_name
class-attribute
instance-attribute
Name of the template.
template_public
class-attribute
instance-attribute
Response is "true" if enterprise template is marked as public. Otherwise "false" would be returned
read_only
class-attribute
instance-attribute
Response of "true" if the template is read only, and user cannot make any changes to the workflow after applying this template. Otherwise "false".
created_on
class-attribute
instance-attribute
Date and time when the template was created
description
class-attribute
instance-attribute
Description of the template
SignatureFieldResponse
dataclass
BulkSignResponse
dataclass
Response for Bulk Sign Packages
BulkSignStatusResponse
dataclass
BulkSignStatusResponse(status: Optional[str] = None, packages: Optional[List[BulkSignPackagesStatus]] = None)
Response for Bulk Signing Status
SignDocumentResponse
dataclass
SignDocumentResponse(field_name: Optional[str] = None, status: Optional[str] = None, transaction_id: Optional[str] = None, verification: Optional[VerificationResponse] = None, authentication_access_token: Optional[str] = None)
Response for Sign Document
Attributes
field_name
class-attribute
instance-attribute
Name of the field for which the verification was requested.
status
class-attribute
instance-attribute
Returns the status of signature field. Values are SIGNED, PENDING. Status helps in eIDAS enabled remote authorized signing. If sign request is sent to mobile the status is pending.
transaction_id
class-attribute
instance-attribute
This parameter is used while RAS signing
EnterpriseTemplateResponse
dataclass
EnterpriseTemplateResponse(id: Optional[int] = None, name: Optional[str] = None, public: Optional[bool] = None, read_only: Optional[bool] = None, description: Optional[str] = None, created_on: Optional[str] = None, roles: Optional[List[EnterpriseTemplateRole]] = None, documents: Optional[List[TemplateDocumentResponse]] = None)
Response for Get Enterprise Templates
Attributes
public
class-attribute
instance-attribute
Response is "true" if enterprise template is marked as public. Otherwise "false" would be returned
read_only
class-attribute
instance-attribute
Response of "true" if the template is read only, and user cannot make any changes to the workflow after applying this template. Otherwise "false".
description
class-attribute
instance-attribute
Description of the template
WorkflowEvidenceReportDownloadBytesResponse
dataclass
WorkflowDetailsResponse
dataclass
WorkflowDetailsResponse(package_id: Optional[int] = None, package_name: Optional[str] = None, shared_package: Optional[bool] = None, package_owner: Optional[str] = None, owner_name: Optional[str] = None, package_status: Optional[str] = None, folder: Optional[str] = None, folder_id: Optional[int] = None, gatekeeper: Optional[bool] = None, next_signer: Optional[str] = None, next_signer_email: Optional[List[NextSignerEmail]] = None, uploaded_on: Optional[str] = None, modified_on: Optional[str] = None, workflow: Optional[WorkflowResponse] = None, documents: Optional[List[WorkflowDocumentsResponse]] = None, users: Optional[List[WorkflowUserResponse]] = None)
Response for Get Workflow Details
Attributes
package_id
class-attribute
instance-attribute
Package ID of the document package.
package_name
class-attribute
instance-attribute
Name of the document package.
shared_package
class-attribute
instance-attribute
shared package
package_owner
class-attribute
instance-attribute
Email address of the document package owner.
owner_name
class-attribute
instance-attribute
Name of the document package owner.
package_status
class-attribute
instance-attribute
Document status for the current logged in user. Possible values are "DRAFT", "INPROGRESS", "PENDING", "DECLINED", "APPROVED", "UPDATED" or "COMPLETED".
folder
class-attribute
instance-attribute
Name of the folder which contains the document package.
folder_id
class-attribute
instance-attribute
ID of the folder which contains the document package.
next_signer
class-attribute
instance-attribute
The name of the next signer if the document is in shared state.
next_signer_email
class-attribute
instance-attribute
An object containing next signers username and email address. In case of group signer it will have a list of email addresses of all the group members.
uploaded_on
class-attribute
instance-attribute
Date and time when the document was uploaded.
modified_on
class-attribute
instance-attribute
Date and time when the document was last modified.
documents
class-attribute
instance-attribute
List of documents that are uploaded in the package.
WorkflowHistoryResponse
dataclass
WorkflowHistoryResponse(package_id: Optional[int] = None, package_name: Optional[str] = None, package_owner: Optional[str] = None, owner_name: Optional[str] = None, package_status: Optional[str] = None, next_signer: Optional[str] = None, next_signer_email: Optional[List[NextSignerEmail]] = None, documents: Optional[List[WorkflowDocumentsResponse]] = None, actions: Optional[List[DocumentLogsActions]] = None)
Response for Get Workflow History
Attributes
package_id
class-attribute
instance-attribute
ID of the package for which the workflow history is requested.
package_owner
class-attribute
instance-attribute
Email address of the package owner.
owner_name
class-attribute
instance-attribute
Name of the package owner.
package_status
class-attribute
instance-attribute
Status of the package/document with the current logged in user. Possible values are "DRAFT", "INPROGRESS", "PENDING", "DECLINED", "APPROVED", "UPDATED" or "COMPLETED".
next_signer
class-attribute
instance-attribute
Name of the next recipient.
ReminderResponse
dataclass
ReminderResponse(enabled: Optional[bool] = None, frequency: Optional[str] = None, remind_after: Optional[int] = None, repeat: Optional[ReminderRepeat] = None)
Response for Get Workflow Reminder
Attributes
enabled
class-attribute
instance-attribute
True, if reminders are enabled for the recipient
frequency
class-attribute
instance-attribute
Reminder Frequency. Possible Values are DAYS | HOURS.
WorkflowRecipient
dataclass
WorkflowRecipient(order: Optional[int] = None, user_email: Optional[str] = None, user_name: Optional[str] = None, mobile_number: Optional[str] = None, delivery_method: Optional[str] = None, user_photo_url: Optional[str] = None, group_name: Optional[str] = None, group_members: Optional[List[GroupMemberResponse]] = None, delegatee: Optional[str] = None, delegatee_name: Optional[str] = None, role: Optional[str] = None, reason: Optional[str] = None, process_status: Optional[str] = None, processed_on: Optional[str] = None, processed_as: Optional[str] = None, processed_by: Optional[str] = None, placeholder: Optional[str] = None, signing_order: Optional[int] = None, user_national_id: Optional[str] = None, guest_user: Optional[bool] = None, email_language_code: Optional[str] = None, electronic_seal: Optional[ElectronicSealRecipient] = None, gatekeepers: Optional[WorkflowGatekeeperResponse] = None)
Response for Get Workflow Users
Attributes
order
class-attribute
instance-attribute
Order of the recipient in the workflow.
user_email
class-attribute
instance-attribute
Email address of the recipient if user is not a group.
user_name
class-attribute
instance-attribute
Name of the recipient if user is not a group.
delivery_method
class-attribute
instance-attribute
Delivery method of recipient Possible values: EMAIL, SMS, or EMAIL_AND_SMS
user_photo_url
class-attribute
instance-attribute
API endpoint to access the resource, This will be provided only for main signers. e.g it will be null for group/delegator/gatekeeper etc. This URL does not make sure that signer image is exist. If image exist it will be provided by hitting the defined url otherwise it will be an empty string.
group_name
class-attribute
instance-attribute
Group name of the recipient if recipient is a group.
group_members
class-attribute
instance-attribute
A list of email addresses of the group members if recipient is a group.
delegatee
class-attribute
instance-attribute
Delegatee email address, if recipient is not a group.
delegatee_name
class-attribute
instance-attribute
Name of the delegatee user, if recipient is not a group.
role
class-attribute
instance-attribute
Workflow role in which the recipient was added. This role is not the enterprise role. Possible values are "SIGNER", "REVIEWER","CARBON_COPY" and "EDITOR".
reason
class-attribute
instance-attribute
Reason provided by the user when declining, approving or submitting a document.
process_status
class-attribute
instance-attribute
Document processing status for the recipient. Possible values are "UN_PROCESSED", "IN_PROGRESS", "SIGNED", "REVIEWED", "DECLINED", "EDITED" or "INVALID".
processed_on
class-attribute
instance-attribute
Date and time on which the document was processed.
processed_as
class-attribute
instance-attribute
User may processed the field as COLLABORATOR , DELEGATOR, GROUP_MEMBER or OWNER.
processed_by
class-attribute
instance-attribute
Email address of the user who processed the document.
placeholder
class-attribute
instance-attribute
Placeholder text if the recipient is a placeholder
signing_order
class-attribute
instance-attribute
Order in which the workflow will be signed by the recipients. This signing order is important when workflow type is set to "CUSTOM".
user_national_id
class-attribute
instance-attribute
National identity number of the user. This helps to identify user in the workflow
WorkflowPermissionResponse
dataclass
WorkflowPermissionResponse(print: Optional[bool] = None, download: Optional[bool] = None, add_text: Optional[bool] = None, change_recipients: Optional[bool] = None, add_attachment: Optional[bool] = None, legal_notice: Optional[PermissionLegalNoticeResponse] = None, attachment: Optional[AttachmentPermissionResponse] = None)
Response for Get Workflow User Permissions
Attributes
print
class-attribute
instance-attribute
True, if printing is allowed for this recipient.
download
class-attribute
instance-attribute
True, if download is allowed.
add_text
class-attribute
instance-attribute
True, if add text annotation on the document is allowed.
change_recipients
class-attribute
instance-attribute
True, if the recipient on the current order can change other recipients in the workflow after workflow is shared.
StartWorkflowResponse
dataclass
Response for Share Document Package
Attributes
package_id
class-attribute
instance-attribute
Package ID of the package just shared. Incase of individual sharing, more then one packages are created and shared with the recipients. API returns an array of packages along with IDs of newly created documents.
CollaboratorGroupResponse
dataclass
CollaboratorPlaceholderResponse
dataclass
CollaboratorResponse
dataclass
CollaboratorResponse(user_email: Optional[str] = None, signing_order: Optional[int] = None, guest_user: Optional[bool] = None, email_language_code: Optional[str] = None, permission: Optional[WorkflowPermissionResponse] = None, reminder: Optional[ReminderResponse] = None)
Response for Add Users to Workflow
Attributes
UpdateCollaboratorResponse
dataclass
UpdateCollaboratorResponse(user_email: Optional[str] = None, signing_order: Optional[int] = None, guest_user: Optional[bool] = None, email_language_code: Optional[str] = None)
Response for Update Workflow User
Attributes
WorkSpaceResponse
dataclass
WorkSpaceResponse(id: Optional[int] = None, name: Optional[str] = None, owner: Optional[WorkSpaceOwner] = None, members: Optional[List[WorkSpaceMembers]] = None)
Response for Get Shared Space
ErrorWithDescriptionResponse
dataclass
Definition: ErrorWithDescriptionResponse
Attributes
error
class-attribute
instance-attribute
Error key to identify the error in programming and applications can respond based on the different error keys.
Response
dataclass
Definition: Response
DetailedResponse
dataclass
Definition: DetailedResponse
Attributes
error
class-attribute
instance-attribute
Custom error code
AuthenticationRequest
dataclass
AuthenticationRequest(client_id: Optional[str] = None, client_secret: Optional[str] = None, profile_name: Optional[str] = None)
Definition: AuthenticationRequest
Attributes
client_id
class-attribute
instance-attribute
Application Name that you have configured in your Enterprise Account when configuring the integration options.
ElectronicSealRecipient
dataclass
Definition: ElectronicSealRecipient
PermissionLegalNoticeResponse
dataclass
PermissionLegalNoticeResponse(enabled: Optional[bool] = None, allowed_notices: Optional[List[LegalNoticeResponse]] = None, default_notice: Optional[List[LegalNoticeResponse]] = None)
Definition: PermissionLegalNoticeResponse
Attributes
enabled
class-attribute
instance-attribute
True, if legal notice is enabled and configured for the recipient.
allowed_notices
class-attribute
instance-attribute
List of legal notices allowed to the document owner from which he can select one for the recipient.
LegalNoticeResponse
dataclass
AccessResponse
dataclass
AccessResponse(authentication: Optional[AuthenticationResponse] = None, authentication_signing: Optional[AuthenticationSigningResponse] = None, access_duration: Optional[PermissionAccessDurationResponse] = None)
Definition: AccessResponse
AuthenticationResponse
dataclass
AccessSecurityPasswordResponse
dataclass
Definition: AccessSecurityPasswordResponse
AccessSecuritySmsOtpResponse
dataclass
AccessSecuritySmsOtpResponse(enabled: Optional[bool] = None, otp_length: Optional[int] = None, retry_duration: Optional[int] = None, mobile_number: Optional[str] = None, methods: Optional[List[str]] = None)
Definition: AccessSecuritySmsOtpResponse
Attributes
enabled
class-attribute
instance-attribute
True, if SMS OTP authentication is enabled for the package.
mobile_number
class-attribute
instance-attribute
Mobile number of the recipient. Mobile number is needed to send the SMS to the recipient for the authentication.
TotpPermissionResponse
dataclass
AuthenticationSigningResponse
dataclass
AuthenticationSigningSmsOtpResponse
dataclass
AuthenticationSigningSmsOtpResponse(otp_length: Optional[int] = None, retry_duration: Optional[int] = None, mobile_number: Optional[str] = None, methods: Optional[List[str]] = None)
Definition: AuthenticationSigningSmsOtpResponse
Attributes
mobile_number
class-attribute
instance-attribute
Mobile number of the recipient. Mobile number is needed to send the SMS to the recipient for the authentication.
PermissionAccessDurationResponse
dataclass
AccessDurationByDateResponse
dataclass
DurationByDateResponse
dataclass
Definition: DurationByDateResponse
Attributes
start_date_time
class-attribute
instance-attribute
Date and time from where the package will be accessible to the recipient.
AccessDurationByDaysResponse
dataclass
DurationByDaysResponse
dataclass
ReminderRepeat
dataclass
ReminderRepeat(enabled: Optional[bool] = None, frequency: Optional[str] = None, keep_reminding_after: Optional[int] = None, total_reminders: Optional[int] = None)
Definition: ReminderRepeat
Attributes
enabled
class-attribute
instance-attribute
True, if subsequent reminders are enabled.
frequency
class-attribute
instance-attribute
Repeat Reminder Frequency. Possible Values are DAYS | HOURS.
keep_reminding_after
class-attribute
instance-attribute
The number of days after which the subsequent reminders would be sent to workflow recipient.
AccessUpdateRequest
dataclass
AccessAuthentication
dataclass
AuthenticationPassword
dataclass
Definition: AuthenticationPassword
Attributes
enabled
class-attribute
instance-attribute
True, if password authentication is enabled for the package.
AuthenticationSmsOtp
dataclass
Definition: AuthenticationSmsOtp
Attributes
enabled
class-attribute
instance-attribute
True, if SMS OTP authentication is enabled for the package.
SigningAuthentication
dataclass
AuthenticationSigningSmsOtp
dataclass
PermissionAccessDuration
dataclass
AccessDurationByDate
dataclass
DurationByDate
dataclass
Definition: DurationByDate
Attributes
start_date_time
class-attribute
instance-attribute
Date and time from where the package will be accessible to the recipient.
AccessDurationByDays
dataclass
DurationByDays
dataclass
QrCodeRequest
dataclass
QrCodeRequest(page_no: Optional[int] = None, field_name: Optional[str] = None, dimensions: Optional[FieldDimension] = None, data: Optional[str] = None, options: Optional[QrCodeOptions] = None, color: Optional[QrCodeColor] = None, logo: Optional[QrCodeLogo] = None)
Definition: QrCodeRequest
Attributes
page_no
class-attribute
instance-attribute
Page number on which the field is to be created.
field_name
class-attribute
instance-attribute
Name of the provided field that is to be added. If not provided, system will assign an unique auto generated name to the field.
FieldDimension
dataclass
FieldDimension(x: Optional[float] = None, y: Optional[float] = None, width: Optional[float] = None, height: Optional[float] = None)
Definition: FieldDimension
Attributes
QrCodeOptions
dataclass
QrCodeOptions(error_correction_level: Optional[ECCLevelAPI] = None, encoding: Optional[EciModeAPI] = None, pixels_per_module: Optional[int] = None, add_margins: Optional[bool] = None)
Definition: QrCodeOptions
Attributes
pixels_per_module
class-attribute
instance-attribute
Specifies the number of pixels per module in the QR code. A higher number results in a larger and more detailed QR code. Default is "20" Possible Values are : 20 | 30 | 40 | 50
QrCodeColor
dataclass
Definition: QrCodeColor
Attributes
dots
class-attribute
instance-attribute
Represents the dark color used for the dots in the QR code. Default is "black". e.g. "#000000"
QrCodeLogo
dataclass
QrCodeLogo(base64: Optional[str] = None, hide_background_dots: Optional[bool] = None, size: Optional[int] = None)
Definition: QrCodeLogo
Attributes
base64
class-attribute
instance-attribute
An optional icon (base64) to place in the center of the QR code.
hide_background_dots
class-attribute
instance-attribute
The background color behind the icon, if an icon is provided. If color is not provided transparent background is implemented.
SignatureFieldAuthentication
dataclass
SignatureFieldAuthenticationOtp
dataclass
SignatureFieldAuthenticationOtp(enabled: Optional[bool] = None, mobile_number: Optional[str] = None)
Definition: SignatureFieldAuthenticationOtp
Attributes
enabled
class-attribute
instance-attribute
True, if SMS/Email OTP authentication is enabled for the field. False otherwise.
SignatureFieldAuthenticationTotp
dataclass
UpdateQrCodeRequest
dataclass
UpdateQrCodeRequest(field_name: Optional[str] = None, renamed_as: Optional[str] = None, page_no: Optional[int] = None, dimensions: Optional[FieldDimension] = None, data: Optional[str] = None, options: Optional[QrCodeOptions] = None, color: Optional[QrCodeColor] = None, logo: Optional[QrCodeLogo] = None)
Definition: UpdateQrCodeRequest
Attributes
field_name
class-attribute
instance-attribute
Current name of the field, that is to be updated.
renamed_as
class-attribute
instance-attribute
Updated name of the field if renaming is intended.
page_no
class-attribute
instance-attribute
Page number for which field is need to be updated
FieldValidationValue
dataclass
FieldValidationValue(required: Optional[bool] = None, rules: Optional[List[FieldValidationValueRule]] = None)
Definition: FieldValidationValue
FieldValidationValueRule
dataclass
Definition: FieldValidationValueRule
Attributes
type_
class-attribute
instance-attribute
Specifies the type of validation rule, which is currently always set to EQUALS for text field.
PostProcessResponse
dataclass
PostProcessResponse(enabled: Optional[bool] = None, contacts: Optional[List[str]] = None, recipients: Optional[List[PostProcessRecipientResponse]] = None, message: Optional[str] = None, google_drive: Optional[bool] = None, one_drive: Optional[bool] = None, dropbox: Optional[bool] = None, workflow_recipients: Optional[bool] = None, document_processing_report: Optional[bool] = None)
Definition: PostProcessResponse
Attributes
enabled
class-attribute
instance-attribute
True, if post processing is enabled for the package.
contacts
class-attribute
instance-attribute
List of email addresses to which the email will be sent when the workflow is completed.
recipients
class-attribute
instance-attribute
List of the name and email addresses to whom the emails are sent when the post processing is executed after the workflow completion.
message
class-attribute
instance-attribute
Any custom string message that is to be sent to the contacts when the workflow is completed.
google_drive
class-attribute
instance-attribute
True, if google drive uploading is turned on for the package. Documents will be uploaded to google drive when the workflow is completed.
one_drive
class-attribute
instance-attribute
True, if one drive uploading is turned on for the package. Documents will be uploaded to one drive when the workflow is completed.
dropbox
class-attribute
instance-attribute
True, if dropbox uploading is turned on for the package. Documents will be uploaded to google drive when the workflow is completed.
workflow_recipients
class-attribute
instance-attribute
True, if workflow completion report is to be sent to all recipients of the workflow when post processing is executed. Default value is false.
PostProcessRecipientResponse
dataclass
Definition: PostProcessRecipientResponse
CertifyResponse
dataclass
CertifyResponse(enabled: Optional[bool] = None, allowed_permissions: Optional[List[str]] = None, default_permission: Optional[str] = None)
Definition: CertifyResponse
Attributes
enabled
class-attribute
instance-attribute
True, if certify signature settings are enabled for the document.
GroupMemberResponse
dataclass
AttachmentPermissionResponse
dataclass
PostProcessRecipientRequest
dataclass
Definition: PostProcessRecipientRequest
UpdateCertifyPolicyRequest
dataclass
CertifyPolicyRequest
dataclass
DeleteDocumentFieldRequest
dataclass
EnterpriseTemplateRole
dataclass
TemplateDocumentResponse
dataclass
NextSignerEmail
dataclass
WorkflowGatekeeperResponse
dataclass
WorkflowGatekeeperUserResponse
dataclass
Definition: WorkflowGatekeeperUserResponse
EnterpriseAuthenticationResponse
dataclass
EnterpriseAccessSecuritySmsOtpResponse
dataclass
EnterpriseAccessSecuritySmsOtpResponse(enabled: Optional[bool] = None, otp_length: Optional[int] = None, retry_duration: Optional[int] = None, mobile_number: Optional[str] = None)
Definition: EnterpriseAccessSecuritySmsOtpResponse
Attributes
enabled
class-attribute
instance-attribute
True, if SMS OTP authentication is enabled for the package.
EnterpriseAuthenticationSigningResponse
dataclass
EnterpriseAuthenticationSigningSmsOtpResponse
dataclass
DocumentOwner
dataclass
DocumentDetails
dataclass
DocumentDetails(id: Optional[int] = None, name: Optional[str] = None, uploaded_on: Optional[str] = None, modified_on: Optional[str] = None, size: Optional[int] = None, type_: Optional[str] = None, source: Optional[str] = None)
Definition: DocumentDetails
Attributes
uploaded_on
class-attribute
instance-attribute
Date and time when the document was uploaded.
modified_on
class-attribute
instance-attribute
Date and time when the document was last modified.
type_
class-attribute
instance-attribute
Type of the document e.g. "PDF".
ChangeServicePlanRequest
dataclass
Definition: ChangeServicePlanRequest
TemplateSmartFormResponse
dataclass
ServicePlanLevelOfAssurance
dataclass
ServicePlanLevelOfAssurance(allowed: Optional[List[str]] = None, default: Optional[List[str]] = None)
Definition: ServicePlanLevelOfAssurance
Attributes
allowed
class-attribute
instance-attribute
Allowed level of assurances, Possible values are: ADVANCED_ELECTRONIC_SIGNATURE, HIGH_TRUST_ADVANCED, QUALIFIED_ELECTRONIC_SIGNATURE, ELECTRONIC_SEAL, ADVANCED_ELECTRONIC_SEAL, QUALIFIED_ELECTRONIC_SEAL, ELECTRONIC_SIGNATURE
default
class-attribute
instance-attribute
Default level of assurances, Possible values are: ADVANCED_ELECTRONIC_SIGNATURE, HIGH_TRUST_ADVANCED, QUALIFIED_ELECTRONIC_SIGNATURE, ELECTRONIC_SEAL, ADVANCED_ELECTRONIC_SEAL, QUALIFIED_ELECTRONIC_SEAL, ELECTRONIC_SIGNATURE
ServicePlanCertifyOption
dataclass
Definition: ServicePlanCertifyOption
Attributes
allowed
class-attribute
instance-attribute
Allowed document certify options, Possible values are: NO_CHANGES_ALLOWED, FORM_FILLING_ALLOWED, FORM_FILLING_WITH_ANNOTATIONS_ALLOWED
ServicePlanAutoDeleteDocument
dataclass
NotifyUnUsedDeleteDocument
dataclass
Definition: NotifyUnUsedDeleteDocument
EmailDeletedDocument
dataclass
EmailDeletedDocument(enabled: Optional[bool] = None, workflow_evidence_report: Optional[bool] = None)
Definition: EmailDeletedDocument
Attributes
enabled
class-attribute
instance-attribute
True, If deleted document as attachment is enabled
ServicePlanSigningServer
dataclass
ServicePlanSigningServer(key_location: Optional[str] = None, order: Optional[int] = None, signing_profile: Optional[ServicePlanProfile] = None, electronic_seal: Optional[SigningServerCapacity] = None, advanced_electronic_seal: Optional[SigningServerCapacity] = None, qualified_electronic_seal: Optional[SigningServerCapacity] = None, advanced_electronic_signature: Optional[SigningServerCapacity] = None, high_trust_advanced_signature: Optional[SigningServerCapacity] = None, qualified_electronic_signature: Optional[SigningServerCapacity] = None, signature_appearances: Optional[SigningServerSignatureAppearance] = None, csp: Optional[SigningServerCsp] = None)
ServicePlanProfile
dataclass
SigningServerCapacity
dataclass
SigningServerCapacity(enabled: Optional[bool] = None, capacities: Optional[List[ServicePlanCapacity]] = None)
Definition: SigningServerCapacity
ServicePlanCapacity
dataclass
ServicePlanCapacity(id: Optional[int] = None, name: Optional[str] = None, level_of_assurance: Optional[str] = None, key_protection: Optional[str] = None)
Definition: ServicePlanCapacity
Attributes
level_of_assurance
class-attribute
instance-attribute
Level of assurance of the capacity, possible values are ADVANCED_ELECTRONIC_SIGNATURE, HIGH_TRUST_ADVANCED, QUALIFIED_ELECTRONIC_SIGNATURE, ELECTRONIC_SEAL, ADVANCED_ELECTRONIC_SEAL, QUALIFIED_ELECTRONIC_SEAL.
SigningServerSignatureAppearance
dataclass
SigningServerSignatureAppearance(signature_appearance: Optional[str] = None, signature_appearance_logo: Optional[str] = None)
Definition: SigningServerSignatureAppearance
Attributes
signature_appearance
class-attribute
instance-attribute
Appearances of the signature, possible values are COMPANY_LOGO, HAND_SIGNATURE, DETAILED_SIGNATURE
SigningServerCsp
dataclass
SigningServerCsp(enabled: Optional[bool] = None, virtual_profile: Optional[ServicePlanProfile] = None, auto_delete_certificates: Optional[bool] = None)
Definition: SigningServerCsp
Attributes
enabled
class-attribute
instance-attribute
True, If to add Push Certificates to CSP.
ServicePlanElectronicSealServer
dataclass
ServicePlanElectronicSealServer(electronic_seal_profile: Optional[ServicePlanProfile] = None, electronic_seal: Optional[SigningServerCapacity] = None, advanced_electronic_seal: Optional[SigningServerCapacity] = None, qualified_electronic_seal: Optional[SigningServerCapacity] = None)
Definition: ServicePlanElectronicSealServer
ServicePlanAuthenticationProfile
dataclass
ServicePlanEvidenceReport
dataclass
Definition: ServicePlanEvidenceReport
Attributes
type_
class-attribute
instance-attribute
Type of workflow evidence recording, Possible values are "BASIC", "DETAILED"
ServicePlanOneTimePassword
dataclass
ServicePlanOneTimePassword(email_otp: Optional[ServicePlanEmailOtp] = None, sms_otp: Optional[ServicePlanSmsOtp] = None, otp_length: Optional[int] = None, otp_expiry: Optional[int] = None, otp_retry_interval: Optional[int] = None)
Definition: ServicePlanOneTimePassword
Attributes
otp_length
class-attribute
instance-attribute
Character count of OTP to be generated for authentication.
otp_expiry
class-attribute
instance-attribute
OTP expiry duration in seconds
ServicePlanEmailOtp
dataclass
ServicePlanSmsOtp
dataclass
ServicePlanSmtpServer
dataclass
Definition: ServicePlanSmtpServer
ServicePlanSmsNotification
dataclass
Definition: ServicePlanSmsNotification
ServicePlanAutoDeleteUser
dataclass
NotifyInactiveDeleteUser
dataclass
Definition: NotifyInactiveDeleteUser
ServicePlanCapacityRequest
dataclass
WorkflowDetailUpdateRequest
dataclass
WorkflowDetailUpdateRequest(workflow_type: Optional[WorkflowType] = None, workflow_mode: Optional[WorkflowModes] = None, continue_on_decline: Optional[bool] = None, message: Optional[str] = None, comments: Optional[bool] = None)
Definition: WorkflowDetailUpdateRequest
Attributes
continue_on_decline
class-attribute
instance-attribute
True, if workflow needs to continue even if any recipient declines the document. If no value is provided, old value will be retained.
message
class-attribute
instance-attribute
A custom string message from the document owner to every recipient, this message appears in the sharing email as well as on the screen. If no value is provided, old value will be retained.
PostProcessUpdateRequest
dataclass
PostProcessUpdateRequest(enabled: Optional[bool] = None, contacts: Optional[List[str]] = None, recipients: Optional[List[PostProcessRecipientRequest]] = None, message: Optional[str] = None, google_drive: Optional[bool] = None, dropbox: Optional[bool] = None, onedrive: Optional[bool] = None, workflow_recipients: Optional[bool] = None, document_processing_report: Optional[bool] = None)
Definition: PostProcessUpdateRequest
Attributes
enabled
class-attribute
instance-attribute
True, if post processing is turned on for the package.
recipients
class-attribute
instance-attribute
List of the name and email addresses to whom the emails are sent when the post processing is executed after the workflow completion.
message
class-attribute
instance-attribute
A custom string message for all the contacts. Message becomes part of the email sent to the contacts.
google_drive
class-attribute
instance-attribute
True, if document is to be uploaded to the provided google account after the workflow completion.
dropbox
class-attribute
instance-attribute
True, if document is to be uploaded to the provided dropbox account after the workflow completion.
onedrive
class-attribute
instance-attribute
True, if document is to be uploaded to the provided oneDrive account after the workflow completion.
workflow_recipients
class-attribute
instance-attribute
True, if workflow completion report is to be sent to all recipients of the workflow when post processing is executed. Default value is false.
WorflowUserRequest
dataclass
WorflowUserRequest(user_email: Optional[str] = None, user_name: Optional[str] = None, user_national_id: Optional[str] = None, email_notification: Optional[bool] = None, role: Optional[CollaboratorRole] = None, signing_order: Optional[int] = None, delivery_method: Optional[DeliveryMethod] = None, mobile_number: Optional[str] = None)
Definition: WorflowUserRequest
Attributes
user_email
class-attribute
instance-attribute
Email address of the user to be added in the workflow.
user_name
class-attribute
instance-attribute
Name of the recipient to be added in the workflow.
user_national_id
class-attribute
instance-attribute
User national id of the recipient
email_notification
class-attribute
instance-attribute
If set as true, SigningHub will send notifications to the user via email as per the document owner and user notification settings. A value of false means no notifications will be sent to user throughout the workflow.
signing_order
class-attribute
instance-attribute
Order of the recipient in the workflow. This signing order is mandatory when workflow type is "CUSTOM".
WorkflowResponse
dataclass
WorkflowResponse(workflow_type: Optional[str] = None, continue_on_decline: Optional[bool] = None, workflow_status: Optional[str] = None, workflow_mode: Optional[str] = None, message: Optional[str] = None, read_only: Optional[bool] = None, post_process: Optional[PostProcessResponse] = None, comments: Optional[bool] = None)
Definition: WorkflowResponse
Attributes
workflow_type
class-attribute
instance-attribute
Type of the workflow, there are four types of workflows supported in the application. Possible values are "SERIAL", "PARALLEL", "INDIVIDUAL" and "CUSTOM".
continue_on_decline
class-attribute
instance-attribute
True, if workflow needs to be continued even after a recipient declines at his turn.
workflow_status
class-attribute
instance-attribute
Processing status of the workflow, possible values are "DRAFT", "IN_PRGORESS" and "COMPLETED".
workflow_mode
class-attribute
instance-attribute
Mode of the workflow, there are three types of workflow modes supported in application. Possible values are "ONLY_ME", "ME_AND_OTHERS" and "ONLY_OTHERS"
message
class-attribute
instance-attribute
Any custom string message that is to be sent to all the recipient of the workflow by the document owner.
read_only
class-attribute
instance-attribute
If any template applied on the documents in this workflow is read only or locked template then the workflow is read only. SigningHub will not allow the end users to make any changes to this workflow in draft state and this workflow is to be shared as it is.
WorkflowDocumentsResponse
dataclass
WorkflowDocumentsResponse(document_id: Optional[int] = None, document_name: Optional[str] = None, document_type: Optional[str] = None, document_order: Optional[int] = None, document_source: Optional[str] = None, update_required: Optional[bool] = None, document_height: Optional[int] = None, document_width: Optional[int] = None, document_pages: Optional[int] = None, created_on: Optional[str] = None, modified_on: Optional[str] = None, form_fields: Optional[bool] = None, template: Optional[DocumentsTemplateResponse] = None, certify: Optional[CertifyResponse] = None, lock_form_fields: Optional[bool] = None, locked: Optional[bool] = None, has_signed_signature_fields: Optional[bool] = None, attachments: Optional[bool] = None, conformance_level: Optional[str] = None, document_size: Optional[int] = None, formatted: Optional[bool] = None)
Definition: WorkflowDocumentsResponse
Attributes
document_id
class-attribute
instance-attribute
ID of the document.
document_name
class-attribute
instance-attribute
Name of the document.
document_type
class-attribute
instance-attribute
Original document extension when the document was uploaded before conversion to the PDF.
document_order
class-attribute
instance-attribute
Order of the document in the document package.
document_source
class-attribute
instance-attribute
Source of the document from where the document was uploaded.
update_required
class-attribute
instance-attribute
True if document is required to update
document_height
class-attribute
instance-attribute
Height of the PDF document.
document_width
class-attribute
instance-attribute
Width of the PDF document.
document_pages
class-attribute
instance-attribute
Total number of pages in the document.
created_on
class-attribute
instance-attribute
The date and time on which the document was uploaded.
modified_on
class-attribute
instance-attribute
The date and time on which the document was last modified.
form_fields
class-attribute
instance-attribute
True, if document has form fields.
lock_form_fields
class-attribute
instance-attribute
True, if document is set to lock the form fields with the last digital signature on the document.
has_signed_signature_fields
class-attribute
instance-attribute
Pdf document meta info: true if pdf document have signed signature fields
attachments
class-attribute
instance-attribute
True, if document has attachments.
conformance_level
class-attribute
instance-attribute
Document conformance level
document_size
class-attribute
instance-attribute
Size of document.
DocumentsTemplateResponse
dataclass
DocumentsTemplateResponse(template_id: Optional[int] = None, template_name: Optional[str] = None, read_only: Optional[bool] = None)
Definition: DocumentsTemplateResponse
Attributes
template_id
class-attribute
instance-attribute
ID of the template applied to the document.
template_name
class-attribute
instance-attribute
Name of the template applied to the document.
WorkflowUserResponse
dataclass
WorkflowUserResponse(order: Optional[int] = None, user_name: Optional[str] = None, user_email: Optional[str] = None, mobile_number: Optional[str] = None, delivery_method: Optional[str] = None, user_photo_url: Optional[str] = None, group_name: Optional[str] = None, group_members: Optional[List[str]] = None, delegator: Optional[str] = None, gatekeeper: Optional[str] = None, gatekeepers: Optional[WorkflowGatekeeperResponse] = None, role: Optional[str] = None, process_status: Optional[str] = None, processed_on: Optional[str] = None, processed_as: Optional[str] = None, processed_by: Optional[str] = None, reason: Optional[str] = None, placeholder: Optional[str] = None, permission: Optional[WorkflowPermissionResponse] = None, authentications: Optional[AccessResponse] = None, reminder: Optional[ReminderResponse] = None, signing_order: Optional[int] = None, user_national_id: Optional[str] = None, guest_user: Optional[bool] = None, email_language_code: Optional[str] = None, electronic_seal: Optional[ElectronicSealRecipient] = None)
Definition: WorkflowUserResponse
Attributes
order
class-attribute
instance-attribute
Order of the recipient in the workflow.
user_name
class-attribute
instance-attribute
Name of the recipient if recipient is not a group. If recipient is a placeholder it will contain the name of the placeholder.
user_email
class-attribute
instance-attribute
Email address of the recipient if recipient is not a group or placeholder.
delivery_method
class-attribute
instance-attribute
Delivery method of recipient Possible values: EMAIL, SMS, or EMAIL_AND_SMS
user_photo_url
class-attribute
instance-attribute
API endpoint to access the resource, This will be provided only for main signers. e.g it will be null for group/delegator/gatekeeper etc. This URL does not make sure that signer image is exist. If image exist it will be provided by hitting the defined url otherwise it will be an empty string.
group_name
class-attribute
instance-attribute
Name of the group if recipient is a group.
group_members
class-attribute
instance-attribute
List of all the email addresses and names of the users.
delegator
class-attribute
instance-attribute
Email address of the user who is delegator to this recipient.
gatekeeper
class-attribute
instance-attribute
Email address of the user who is gatekeeper to this recipient.
role
class-attribute
instance-attribute
Role of the recipient i.e., "SIGNER", "REVIEWER", "EDITOR","CARBON_COPY" or "INPERSON_HOST".
process_status
class-attribute
instance-attribute
Document processing status for the recipient. Possible values are "UN_PROCESSED", "IN_PROGRESS", "SIGNED", "REVIEWED", "DECLINED", "EDITED" or "INVALID".
processed_on
class-attribute
instance-attribute
Date and time on which the document was processed.
processed_as
class-attribute
instance-attribute
User may processed the field as COLLABORATOR, DELEGATOR, GROUP_MEMBER or OWNER.
processed_by
class-attribute
instance-attribute
Email address of the user who processed the document.
reason
class-attribute
instance-attribute
Reason provided by the user when declining, approving or submitting a document.
placeholder
class-attribute
instance-attribute
Placeholder text if the recipient is a placeholder.
signing_order
class-attribute
instance-attribute
Order in which the workflow will be signed by the recipients. This signing order is important when workflow type is set to "CUSTOM".
user_national_id
class-attribute
instance-attribute
National identity number of the user. This helps to identify user in the workflow
DocumentCertifyResponse
dataclass
Definition: DocumentCertifyResponse
Attributes
enabled
class-attribute
instance-attribute
True if certify signature is enabled for the document.
DocumentTemplateResponse
dataclass
Definition: DocumentTemplateResponse
Attributes
template_name
class-attribute
instance-attribute
Name of the template applied on the document.
ApplyTemplateRequest
dataclass
Definition: ApplyTemplateRequest
AddDocumentPackageRequest
dataclass
AddDocumentPackageRequest(package_name: Optional[str] = None, workflow_mode: Optional[WorkflowMode] = None, folder_name: Optional[str] = None)
Definition: AddDocumentPackageRequest
Attributes
package_name
class-attribute
instance-attribute
The name of the package. Default package name is always "Untitled" if the package_name is not provided.
ApproveRequest
dataclass
DeclineRequest
dataclass
RenameDocumentPackageRequest
dataclass
RecipientAccessDurationDetails
dataclass
Definition: RecipientAccessDurationDetails
RecipientDeclineDetails
dataclass
DeclineByDetails
dataclass
CertifyPermissionResponse
dataclass
CertifyPermissionResponse(enabled: Optional[bool] = None, allowed_permissions: Optional[List[str]] = None, default_permission: Optional[str] = None)
Definition: CertifyPermissionResponse
Attributes
enabled
class-attribute
instance-attribute
True if certify signature is enabled for the document.
allowed_permissions
class-attribute
instance-attribute
Set of allowed certify permission levels for the document.
UploadDocumentMetaInfoDetail
dataclass
UploadDocumentMetaInfoDetail(attachments: Optional[bool] = None, form_fields: Optional[bool] = None, blank_signatures: Optional[bool] = None, signed_signatures: Optional[bool] = None, conformance: Optional[str] = None, locked: Optional[bool] = None, certify: Optional[str] = None, qr_code: Optional[bool] = None)
Definition: UploadDocumentMetaInfoDetail
Attributes
attachments
class-attribute
instance-attribute
true if pdf document has any attachment
form_fields
class-attribute
instance-attribute
true if pdf document has any form field
blank_signatures
class-attribute
instance-attribute
true if pdf document has any blank signature field
signed_signatures
class-attribute
instance-attribute
true if pdf document has any signed signature field
conformance
class-attribute
instance-attribute
null/empty if document does not contains any conformance level otherwise contains formation like 1A, 1B etc
locked
class-attribute
instance-attribute
true if pdf document is locked
certify
class-attribute
instance-attribute
CertifyLevel of pdf document. Possible values NotCertified, NoChangesAllowed, FormFilling, FormFillingAndAnnotations
RenameDocumentRequest
dataclass
VerificationResponse
dataclass
VerificationResponse(field_name: Optional[str] = None, signer_name: Optional[str] = None, signature_status: Optional[str] = None, signing_reason: Optional[str] = None, signing_location: Optional[str] = None, contact_information: Optional[str] = None, signing_time: Optional[str] = None, ltv: Optional[bool] = None, qualified: Optional[bool] = None, certified: Optional[bool] = None, certify_permission: Optional[str] = None, timestamp_at: Optional[str] = None, timestamp_authority: Optional[str] = None, subject_dn: Optional[str] = None, issuer_dn: Optional[str] = None, cert_valid_from: Optional[str] = None, cert_valid_to: Optional[str] = None, signature_type: Optional[str] = None, signature_algorithm: Optional[str] = None, signature_application: Optional[str] = None, signature_policy_id: Optional[int] = None, signature_policy_uri: Optional[str] = None, signer_photo: Optional[str] = None, signer_photo_url: Optional[str] = None, signed_hash: Optional[str] = None, display: Optional[str] = None, page_number: Optional[int] = None, lei_number: Optional[str] = None, lei_role: Optional[str] = None, error_message: Optional[str] = None)
Definition: VerificationResponse
Attributes
field_name
class-attribute
instance-attribute
Name of the field for which the verification was requested.
signer_name
class-attribute
instance-attribute
Name of the signer.
signature_status
class-attribute
instance-attribute
If the overall status of the signature is valid or not. Possible values are "VALID" or "INVALID".
signing_reason
class-attribute
instance-attribute
Reason provided by the user while signing the field. In case of witness signing, custom signing reason would be set
signing_location
class-attribute
instance-attribute
Location entered by the user while signing the field.
contact_information
class-attribute
instance-attribute
Contact information entered by the user while signing the field.
signing_time
class-attribute
instance-attribute
Date and time of signing in 8601 format. Default timezone from SH Admin is followed the the time.
qualified
class-attribute
instance-attribute
True, if signatures are qualified.
certified
class-attribute
instance-attribute
True, if signatures are certified.
certify_permission
class-attribute
instance-attribute
Permission level for certified digital signature.
timestamp_at
class-attribute
instance-attribute
Date and time when signature was time-stamped.
timestamp_authority
class-attribute
instance-attribute
Authority by which the signature was time-stamped.
subject_dn
class-attribute
instance-attribute
Subject DN from the certificate used while signing the field.
issuer_dn
class-attribute
instance-attribute
Issuers DN from the certificate used while signing the field.
cert_valid_from
class-attribute
instance-attribute
Date and time from which the certificate is valid.
cert_valid_to
class-attribute
instance-attribute
Date and time to which the certificate is valid.
signature_type
class-attribute
instance-attribute
Type of signatures, possible values are "PADES_PART2" or "PADES_PART4".
signature_algorithm
class-attribute
instance-attribute
Signature algorithm used while signing the field.
signature_application
class-attribute
instance-attribute
Application name from where the field was signed.
signature_policy_id
class-attribute
instance-attribute
Signature policy ID.
signature_policy_uri
class-attribute
instance-attribute
Signature policy URI.
signer_photo
class-attribute
instance-attribute
Base64 image of the signer's avatar.
signed_hash
class-attribute
instance-attribute
Hash of the document that was signed in respective signature.
page_number
class-attribute
instance-attribute
Page number of the signature field
lei_number
class-attribute
instance-attribute
LEI number if availbale in certificate
lei_role
class-attribute
instance-attribute
LEI role if available in certificate
BulkSignRequest
dataclass
BulkSignRequest(ids: Optional[List[int]] = None, hand_signature_initials_image: Optional[str] = None, hand_signature_initials_method: Optional[HandSignature] = None, hand_signature_image: Optional[str] = None, hand_signature_method: Optional[HandSignature] = None, signing_reason: Optional[str] = None, signing_location: Optional[str] = None, contact_information: Optional[str] = None, appearance_design: Optional[str] = None, signing_server: Optional[str] = None, signing_capacity: Optional[str] = None, authentication: Optional[BulkSignAuthentication] = None, transaction_id: Optional[str] = None)
Definition: BulkSignRequest
Attributes
ids
class-attribute
instance-attribute
An array of the document package ids that are selected for bulk signing.
hand_signature_initials_image
class-attribute
instance-attribute
Base64 image used for the filling of the initials
hand_signature_image
class-attribute
instance-attribute
Base64 encoded string image of the visible signature appearance
signing_reason
class-attribute
instance-attribute
Reason of signing provided by the recipient.
signing_location
class-attribute
instance-attribute
Locale of the signer provided by the recipient
contact_information
class-attribute
instance-attribute
Contact information of the signer provided by the recipient
appearance_design
class-attribute
instance-attribute
Name of the signature appearance provided by user for signing. In case no appearance name is provided then default selected appearance would be used. Possible values are "COMPANY_LOGO", "DETAILED_SIGNATURE", "HAND_SIGNATURE"
signing_server
class-attribute
instance-attribute
Name of signing server using which the document is to be signed
signing_capacity
class-attribute
instance-attribute
Name of certification profile/signing capacity using which the document is to be signed
BulkSignAuthentication
dataclass
BulkSignAuthentication(mechanism: Optional[str] = None, password: Optional[str] = None, token: Optional[str] = None, user_identifier: Optional[str] = None, id: Optional[str] = None, code_verifier: Optional[str] = None, nonce: Optional[str] = None)
Definition: BulkSignAuthentication
Attributes
mechanism
class-attribute
instance-attribute
Mechanism of the authentication. Possible values for mechanism are: AUTHENTICATION_PASSWORD, AUTHENTICATION_ACTIVE_DIRECTORY, AUTHENTICATION_AZURE_ACTIVE_DIRECTORY, AUTHENTICATION_OFFICE_365, AUTHENTICATION_OAUTH2, AUTHENTICATION_OIDC
password
class-attribute
instance-attribute
It is an optional parameter, but it's only required when using 'AUTHENTICATION_PASSWORD' as a parameter value under 'mechanism'
token
class-attribute
instance-attribute
It is an optional parameter that will be received from third party server, but it's only required when using either 'AUTHENTICATION_AZURE_ACTIVE_DIRECTORY', 'AUTHENTICATION_OFFICE_365', 'AUTHENTICATION_OAUTH2' 'AUTHENTICATION_OIDC' 'AUTHENTICATION_GOOGLE' 'AUTHENTICATION_LINKED_IN' 'AUTHENTICATION_SALES_FORCE' as a parameter value under 'mechanism'
user_identifier
class-attribute
instance-attribute
It is an optional parameter, but it's only required when using 'AUTHENTICATION_ACTIVE_DIRECTORY' or 'AUTHENTICATION_SAML' as a parameter value under 'mechanism'
id
class-attribute
instance-attribute
It is an optional parameter, but it's only required when using 'AUTHENTICATION_SALES_FORCE' or 'AUTHENTICATION_IDFY' as a parameter value under 'mechanism'. For 'AUTHENTICATION_IDFY' it's requestId
code_verifier
class-attribute
instance-attribute
Code Verifier if PKCE is enabled for the client.
BulkSignPackagesStatus
dataclass
BulkSignActionDocumentModel
dataclass
BulkSignActionDocumentModel(id: Optional[int] = None, fields: Optional[List[BulkSignActionFieldModel]] = None)
Definition: BulkSignActionDocumentModel
BulkSignActionFieldModel
dataclass
BulkSignActionFieldModel(name: Optional[str] = None, hash: Optional[str] = None, hashing_algo: Optional[str] = None)
Definition: BulkSignActionFieldModel
BulkSignStatusRequest
dataclass
SignDocumentRequest
dataclass
SignDocumentRequest(field_name: Optional[str] = None, hand_signature_image: Optional[str] = None, hand_signature_method: Optional[HandSignature] = None, signing_reason: Optional[str] = None, signing_location: Optional[str] = None, contact_information: Optional[str] = None, user_name: Optional[str] = None, user_password: Optional[str] = None, appearance_design: Optional[str] = None, signing_capacity: Optional[str] = None, skip_verification: Optional[bool] = None, signing_server: Optional[str] = None, authentication: Optional[Authentication] = None)
Definition: SignDocumentRequest
Attributes
field_name
class-attribute
instance-attribute
Unique identifier of the signature field in the document.
hand_signature_image
class-attribute
instance-attribute
Base64 encoded string image of the visible signature appearance, which is placed onto the document. Note this can be retrieved from the user's personal settings using this call. (The response is binary, so the business application must then Base64 encode it before submitting in this API call.)
signing_reason
class-attribute
instance-attribute
Reason of signing provided by the recipient. Note: Commitment type indication for XML documents
signing_location
class-attribute
instance-attribute
Locale of the signer provided by the recipient.
contact_information
class-attribute
instance-attribute
Contact information of the signer provided by the recipient.
user_name
class-attribute
instance-attribute
Name of the signer provided by the recipient. Note this applies to in-person signing operations only.
user_password
class-attribute
instance-attribute
Password provided by the user subject to user's signature settings.
appearance_design
class-attribute
instance-attribute
Name of the signature appearance provided by user for signing. In case no appearance name is provided then default selected appearance would be used. Possible values are "COMPANY_LOGO","DETAILED_SIGNATURE","HAND_SIGNATURE"
signing_capacity
class-attribute
instance-attribute
Name of certification profile/signing capacity using which the document is to be signed. If not provided the default capacity will be used to sign. Provided name must be exactly same as of the actual profile due to case sensitivity.
skip_verification
class-attribute
instance-attribute
No signature verification returns in response body when it is set as true. Default value for this parameter set to false.
Authentication
dataclass
Authentication(mechanism: Optional[str] = None, password: Optional[str] = None, token: Optional[str] = None, user_identifier: Optional[str] = None, id: Optional[str] = None, code_verifier: Optional[str] = None, nonce: Optional[str] = None)
Definition: Authentication
Attributes
mechanism
class-attribute
instance-attribute
Mechanism of the authentication. Possible values for mechanism are: AUTHENTICATION_PASSWORD, AUTHENTICATION_ACTIVE_DIRECTORY, AUTHENTICATION_AZURE_ACTIVE_DIRECTORY, AUTHENTICATION_OFFICE_365, AUTHENTICATION_OAUTH2, AUTHENTICATION_OIDC
password
class-attribute
instance-attribute
It is an optional parameter, but it's only required when using 'AUTHENTICATION_PASSWORD' as a parameter value under 'mechanism'
token
class-attribute
instance-attribute
It is an optional parameter that will be received from third party server, but it's only required when using either 'AUTHENTICATION_AZURE_ACTIVE_DIRECTORY', 'AUTHENTICATION_OFFICE_365', 'AUTHENTICATION_OAUTH2' 'AUTHENTICATION_OIDC' 'AUTHENTICATION_GOOGLE' 'AUTHENTICATION_LINKED_IN' 'AUTHENTICATION_SALES_FORCE' as a parameter value under 'mechanism'
user_identifier
class-attribute
instance-attribute
It is an optional parameter, but it's only required when using 'AUTHENTICATION_ACTIVE_DIRECTORY' or 'AUTHENTICATION_SAML' as a parameter value under 'mechanism'
id
class-attribute
instance-attribute
It is an optional parameter, but it's only required when using 'AUTHENTICATION_SALES_FORCE' or 'AUTHENTICATION_IDFY' as a parameter value under 'mechanism'. For 'AUTHENTICATION_IDFY' it's requestId
code_verifier
class-attribute
instance-attribute
Code Verifier if PKCE is enabled for the client.
AutoPlaceFieldRequest
dataclass
AutoPlaceFieldRequest(search_text: Optional[str] = None, order: Optional[int] = None, placement: Optional[str] = None, field_type: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, dimensions: Optional[FieldDimension] = None, placeholder: Optional[str] = None, radio_group_name: Optional[str] = None, format: Optional[str] = None, value: Optional[str] = None, max_length: Optional[int] = None, validation_rule: Optional[str] = None, validation: Optional[FieldValidationValue] = None, font: Optional[Font] = None, multiline: Optional[bool] = None)
Definition: AutoPlaceFieldRequest
Attributes
search_text
class-attribute
instance-attribute
Word that needs to be searched in the document.
order
class-attribute
instance-attribute
Order of the user to which the fields will be assigned automatically. Workflow in SigningHub orders recipients. This list begins with "1" for the first designated signer.
placement
class-attribute
instance-attribute
If the text is found, fields are to be placed in the document. Placement of the field can be mentioned in this attribute. Possible values of placement of a field are LEFT, RIGHT, TOP, BOTTOM. If no value is provided the default value will be LEFT.
field_type
class-attribute
instance-attribute
Type of field to be created in the document. Possible values are "SIGNATURE", "IN_PERSON_SIGNATURE", "INITIALS", "TEXT", "NUMBER" ,"NAME", "EMAIL", "COMPANY", "JOBTITLE", "RADIOBOX", "CHECKBOX", "DATE", "ATTACHMENT"
level_of_assurance
class-attribute
instance-attribute
Level Of Assurance to be updated. Possible Values are "ELECTRONIC_SIGNATURE", "ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SEAL", "QUALIFIED_ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SIGNATURE", "HIGH_TRUST_ADVANCED", "QUALIFIED_ELECTRONIC_SIGNATURE"
placeholder
class-attribute
instance-attribute
Provide note in the case of Mandatory Attachment
radio_group_name
class-attribute
instance-attribute
The group name required only when adding a Radio Box type field to group multiple Radio boxes together.
format
class-attribute
instance-attribute
Text format of the field. Used for the date type field only. Possible values are
- m/d
- m/d/yy
- m/d/yyyy
- mm/dd/yy
- mm/dd/yyyy
- mm/yy
- mm/yyyy
- d-mmm
- d-mmm-yy
- d-mmm-yyyy
- dd-mmm-yy
- dd-mmm-yyyy
- yy-mm-dd
- yyyy-mm-dd
- mmm-yy
- mmm-yyyy
- mmmm-yy
- mmmm-yyyy
- mmmm d, yyyy
- dd/mm/yy
- ddmmmyyyy
value
class-attribute
instance-attribute
Value that user want to show in the field.
max_length
class-attribute
instance-attribute
Maximum length of the value allowed in the field. Must between 1 - 9999
validation_rule
class-attribute
instance-attribute
One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".
Font
dataclass
Definition: Font
Attributes
name
class-attribute
instance-attribute
Name of the font selected for the text field. Possible values are "COURIER", "HELVETICA".
size
class-attribute
instance-attribute
Size of the font selected for the text field. Possible values are 8, 10, 12, 14, 16, 18, 20
FormFillingRequest
dataclass
FormFillingRequest(auto_save: Optional[bool] = None, text: Optional[List[TextFormFillingRequest]] = None, radio: Optional[List[RadioFormFillingRequest]] = None, checkbox: Optional[List[CheckBoxFormFillingRequest]] = None, dropdown: Optional[List[DropDownFormFillingRequest]] = None, listbox: Optional[List[ListBoxFormFillingRequest]] = None)
Definition: FormFillingRequest
Attributes
auto_save
class-attribute
instance-attribute
Default value is false. True, if the form fields are being saved without user intervention e.g., while closing the document or pressing back. For Signing, Initials, In-persons, Reviewing, Submit actions the value is false.
text
class-attribute
instance-attribute
It has the list of textboxes data to save
radio
class-attribute
instance-attribute
It has the list of radios value to save
checkbox
class-attribute
instance-attribute
It has the list of checkboxes value to save
dropdown
class-attribute
instance-attribute
It has the list of dropdowns value to save
TextFormFillingRequest
dataclass
RadioFormFillingRequest
dataclass
RadioFormFillingRequest(field_name: Optional[str] = None, radio_group_name: Optional[str] = None, value: Optional[bool] = None)
Definition: RadioFormFillingRequest
Attributes
field_name
class-attribute
instance-attribute
Unique identifier of the field in the document.
radio_group_name
class-attribute
instance-attribute
Group name to which the radio button belongs.
CheckBoxFormFillingRequest
dataclass
DropDownFormFillingRequest
dataclass
ListBoxFormFillingRequest
dataclass
InitialFieldRequest
dataclass
InitialFieldRequest(order: Optional[int] = None, page_no: Optional[int] = None, field_name: Optional[str] = None, dimensions: Optional[FieldDimension] = None)
Definition: InitialFieldRequest
Attributes
order
class-attribute
instance-attribute
The order of the user in workflow for which the field is being added.
page_no
class-attribute
instance-attribute
Page number on which the field is to be created.
InitialFillingRequest
dataclass
InitialFillingRequest(field_name: Optional[str] = None, image: Optional[str] = None, method: Optional[HandSignature] = None, apply_to_all: Optional[bool] = None)
Definition: InitialFillingRequest
Attributes
field_name
class-attribute
instance-attribute
Unique identifier of the field in the document.
image
class-attribute
instance-attribute
Base64 image used for the filling of the initials.
UpdateInitialFieldRequest
dataclass
UpdateInitialFieldRequest(field_name: Optional[str] = None, renamed_as: Optional[str] = None, page_no: Optional[int] = None, dimensions: Optional[FieldDimension] = None)
Definition: UpdateInitialFieldRequest
Attributes
field_name
class-attribute
instance-attribute
Current name of the field, that is to be updated.
renamed_as
class-attribute
instance-attribute
Updated name of the field if renaming is intended.
InPersonFieldRequest
dataclass
InPersonFieldRequest(order: Optional[int] = None, page_no: Optional[int] = None, field_name: Optional[str] = None, placeholder: Optional[str] = None, dimensions: Optional[FieldDimension] = None, display: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, authentication_signing: Optional[SignatureFieldAuthentication] = None)
Definition: InPersonFieldRequest
Attributes
order
class-attribute
instance-attribute
The order of the user in workflow for which the field is being added.
page_no
class-attribute
instance-attribute
Page number on which the field is to be created.
field_name
class-attribute
instance-attribute
Name of the field that is to be added. If not provided, system will assign an unique auto generated name to the field.
placeholder
class-attribute
instance-attribute
String identifier for the inperson field, it can be Customer, Jack, CEO etc.
display
class-attribute
instance-attribute
Visibility of the field that is to be added, possible values are "VISIBLE" and "INVISIBLE"
UpdateInPersonFieldRequest
dataclass
UpdateInPersonFieldRequest(field_name: Optional[str] = None, renamed_as: Optional[str] = None, page_no: Optional[int] = None, placeholder: Optional[str] = None, dimensions: Optional[FieldDimension] = None, display: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, authentication_signing: Optional[SignatureFieldAuthentication] = None)
Definition: UpdateInPersonFieldRequest
Attributes
field_name
class-attribute
instance-attribute
Current name of the field, that is to be updated.
renamed_as
class-attribute
instance-attribute
updated name of the field, if renaming is intended.
page_no
class-attribute
instance-attribute
Page number on which the field is to be created.
placeholder
class-attribute
instance-attribute
String identifier for the in-person field, it can be Customer, Jack, CEO etc.
display
class-attribute
instance-attribute
Visibility of the field that is to be updated, possible values are "VISIBLE" and "INVISIBLE"
DigitalSignatureFieldRequest
dataclass
DigitalSignatureFieldRequest(order: Optional[int] = None, page_no: Optional[int] = None, field_name: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, dimensions: Optional[FieldDimension] = None, display: Optional[str] = None, authentication_signing: Optional[SignatureFieldAuthentication] = None)
Definition: DigitalSignatureFieldRequest
Attributes
order
class-attribute
instance-attribute
Order of the recipient for which the field is being created.
page_no
class-attribute
instance-attribute
Page number at which the field is about to be created.
field_name
class-attribute
instance-attribute
Name of the field that is to be added. If not provided, system will assign an unique auto generated name to the field.
level_of_assurance
class-attribute
instance-attribute
Level Of Assurance to be added. Possible Values are "ELECTRONIC_SIGNATURE", "ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SEAL", "QUALIFIED_ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SIGNATURE", "HIGH_TRUST_ADVANCED", "QUALIFIED_ELECTRONIC_SIGNATURE"
UpdateDigitalSignatureFieldRequest
dataclass
UpdateDigitalSignatureFieldRequest(field_name: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, renamed_as: Optional[str] = None, page_no: Optional[int] = None, dimensions: Optional[FieldDimension] = None, display: Optional[str] = None, authentication_signing: Optional[SignatureFieldAuthentication] = None)
Definition: UpdateDigitalSignatureFieldRequest
Attributes
field_name
class-attribute
instance-attribute
Current name of the field, which is to be updated.
level_of_assurance
class-attribute
instance-attribute
Level Of Assurance to be updated. Possible Values are "ELECTRONIC_SIGNATURE", "ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SEAL", "QUALIFIED_ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SIGNATURE", "HIGH_TRUST_ADVANCED", "QUALIFIED_ELECTRONIC_SIGNATURE"
renamed_as
class-attribute
instance-attribute
Updated name of the field if renaming of the field is intended.
page_no
class-attribute
instance-attribute
Page number on which the field is to be created.
CheckBoxFieldRequest
dataclass
CheckBoxFieldRequest(order: Optional[int] = None, page_no: Optional[int] = None, field_name: Optional[str] = None, value: Optional[str] = None, dimensions: Optional[FieldDimension] = None, validation_rule: Optional[str] = None)
Definition: CheckBoxFieldRequest
Attributes
order
class-attribute
instance-attribute
The order of the user in workflow for which the field is being added.
page_no
class-attribute
instance-attribute
Page number on which the field is to be created.
field_name
class-attribute
instance-attribute
Name of the provided field that is to be added. If not provided, system will assign an unique auto generated name to the field.
value
class-attribute
instance-attribute
Value of the field. Possible values are "true" or "false"
UpdateCheckBoxFieldRequest
dataclass
UpdateCheckBoxFieldRequest(field_name: Optional[str] = None, renamed_as: Optional[str] = None, page_no: Optional[int] = None, value: Optional[str] = None, dimensions: Optional[FieldDimension] = None, validation_rule: Optional[str] = None)
Definition: UpdateCheckBoxFieldRequest
Attributes
field_name
class-attribute
instance-attribute
Current name of the field, that is to be updated.
renamed_as
class-attribute
instance-attribute
Updated name of the field if renaming is intended.
page_no
class-attribute
instance-attribute
Page number on which the field is to be created.
value
class-attribute
instance-attribute
Value of the field. Possible values are "true" or "false"
TextBoxFieldRequest
dataclass
TextBoxFieldRequest(order: Optional[int] = None, page_no: Optional[int] = None, type_: Optional[TextboxType] = None, value: Optional[str] = None, placeholder: Optional[str] = None, max_length: Optional[int] = None, format: Optional[str] = None, field_name: Optional[str] = None, field_type: Optional[FieldType] = None, validation_rule: Optional[ValidationRule] = None, validation: Optional[FieldValidationValue] = None, font: Optional[Font] = None, dimensions: Optional[FieldDimension] = None, multiline: Optional[bool] = None)
Definition: TextBoxFieldRequest
Attributes
order
class-attribute
instance-attribute
The order of the user in workflow for which the field is being added.
page_no
class-attribute
instance-attribute
Page number on which the field is to be created.
value
class-attribute
instance-attribute
Value of the field. For type = DATE, the value is expected to follow ISO 8601 format.Following the format YYYY-MM-DD hh:mm:ss +00. As the values are for date fields client applications can send YYYY-MM-DD and ignore hh:mm:ss +00. If value is not in proper format an error will be returned.
placeholder
class-attribute
instance-attribute
Placeholder text for the text field. For name, email, company, job title and date, placeholder value can be "NAME", "EMAIL", "COMPANY", "JOBTITLE", "DATE". Developers can send their own placeholders to overwrite the default values. For "TEXT" developers can provide a their own placeholder texts. These placeholders appear in the text fields while viewing the document in viewer.
max_length
class-attribute
instance-attribute
Maximum length of the value allowed in the field. Must between 1 - 9999
format
class-attribute
instance-attribute
Text format of the field. Used for the date type field only. Possible values are
- m/d
- m/d/yy
- m/d/yyyy
- mm/dd/yy
- mm/dd/yyyy
- mm/yy
- mm/yyyy
- d-mmm
- d-mmm-yy
- d-mmm-yyyy
- dd-mmm-yy
- dd-mmm-yyyy
- yy-mm-dd
- yyyy-mm-dd
- mmm-yy
- mmm-yyyy
- mmmm-yy
- mmmm-yyyy
- mmmm d, yyyy
- dd/mm/yy
- ddmmmyyyy
field_name
class-attribute
instance-attribute
Name of the field that is to be added. If not provided, system will assign an unique auto generated name to the field.
UpdateTextBoxFieldRequest
dataclass
UpdateTextBoxFieldRequest(field_name: Optional[str] = None, renamed_as: Optional[str] = None, page_no: Optional[int] = None, value: Optional[str] = None, max_length: Optional[int] = None, field_type: Optional[FieldType] = None, validation_rule: Optional[ValidationRule] = None, font: Optional[Font] = None, dimensions: Optional[FieldDimension] = None, placeholder: Optional[str] = None, format: Optional[str] = None, validation: Optional[FieldValidationValue] = None)
Definition: UpdateTextBoxFieldRequest
Attributes
field_name
class-attribute
instance-attribute
Current name of the field, that is to be updated.
renamed_as
class-attribute
instance-attribute
Updated name of the field if renaming is intended.
page_no
class-attribute
instance-attribute
Page number on which the field is to be created.
value
class-attribute
instance-attribute
Value of the field. For type = DATE, the value is expected to follow ISO 8601 format.Following the format YYYY-MM-DD hh:mm:ss +00. As the values are for date fields client applications can send YYYY-MM-DD and ignore hh:mm:ss +00. If value is not in proper format an error will be returned.
max_length
class-attribute
instance-attribute
Maximum length of the value allowed in the field. Must between 1 - 9999
placeholder
class-attribute
instance-attribute
Developers can provide a their own placeholder texts. These placeholders appear in the text fields while viewing the document in viewer.
format
class-attribute
instance-attribute
Text format of the field. Used for the date type field only. Possible values are
- m/d
- m/d/yy
- m/d/yyyy
- mm/dd/yy
- mm/dd/yyyy
- mm/yy
- mm/yyyy
- d-mmm
- d-mmm-yy
- d-mmm-yyyy
- dd-mmm-yy
- dd-mmm-yyyy
- yy-mm-dd
- yyyy-mm-dd
- mmm-yy
- mmm-yyyy
- mmmm-yy
- mmmm-yyyy
- mmmm d, yyyy
- dd/mm/yy
- ddmmmyyyy
RadioBoxFieldRequest
dataclass
RadioBoxFieldRequest(order: Optional[int] = None, page_no: Optional[int] = None, field_name: Optional[str] = None, value: Optional[str] = None, validation_rule: Optional[ValidationRule] = None, radio_group_name: Optional[str] = None, dimensions: Optional[FieldDimension] = None)
Definition: RadioBoxFieldRequest
Attributes
order
class-attribute
instance-attribute
The order of the user in workflow for which the field is being added.
page_no
class-attribute
instance-attribute
Page number on which the field is to be created.
field_name
class-attribute
instance-attribute
Name of the provided field that is to be added. If not provided, system will assign an unique auto generated name to the field.
UpdateRadioBoxFieldRequest
dataclass
UpdateRadioBoxFieldRequest(field_name: Optional[str] = None, renamed_as: Optional[str] = None, page_no: Optional[int] = None, value: Optional[str] = None, validation_rule: Optional[ValidationRule] = None, radio_group_name: Optional[str] = None, dimensions: Optional[FieldDimension] = None)
Definition: UpdateRadioBoxFieldRequest
Attributes
field_name
class-attribute
instance-attribute
Current name of the field, that is to be updated.
renamed_as
class-attribute
instance-attribute
Updated name of the field if renaming is intended.
page_no
class-attribute
instance-attribute
Page number on which the field is to be created.
value
class-attribute
instance-attribute
Value of the field. Possible values are "true" or "false"
WorkSpaceMembers
dataclass
WorkSpaceOwner
dataclass
UploadDocumentLibraryCertifyResponse
dataclass
UploadDocumentLibraryCertifyResponse(enabled: Optional[bool] = None, allowed_permissions: Optional[List[str]] = None, default_permission: Optional[str] = None, permission: Optional[str] = None)
Definition: UploadDocumentLibraryCertifyResponse
Attributes
enabled
class-attribute
instance-attribute
True if certify signature is enabled for the document.
allowed_permissions
class-attribute
instance-attribute
Set of allowed certify permission levels for the document.
default_permission
class-attribute
instance-attribute
Selected permission level for the certify signature settings.
UploadDocumentLibraryTemplateResponse
dataclass
UploadDocumentLibraryTemplateResponse(template_name: Optional[str] = None, read_only: Optional[bool] = None)
Definition: UploadDocumentLibraryTemplateResponse
Attributes
template_name
class-attribute
instance-attribute
Name of the template applied on the document.
WorkflowPermissionsUpdateRequest
dataclass
WorkflowPermission
dataclass
WorkflowPermission(print: Optional[bool] = None, download: Optional[bool] = None, add_text: Optional[bool] = None, change_recipients: Optional[bool] = None, add_attachment: Optional[bool] = None, legal_notice: Optional[PermissionLegalNotice] = None, attachment: Optional[AttachmentPermissionRequest] = None)
Definition: WorkflowPermission
Attributes
print
class-attribute
instance-attribute
It defines whether recipient is allowed to print the document.
download
class-attribute
instance-attribute
It defines whether recipient is allowed to download the document.
add_text
class-attribute
instance-attribute
It defines whether recipient is allowed to add text fields in the document.
change_recipients
class-attribute
instance-attribute
It allows the user to change any recipient who has not signed yet.
AttachmentPermissionRequest
dataclass
PermissionLegalNotice
dataclass
DocumentLogsActions
dataclass
DocumentLogsActions(log_id: Optional[int] = None, date_time: Optional[str] = None, action_type: Optional[str] = None, user_email: Optional[str] = None, user_name: Optional[str] = None, enterprise_name: Optional[str] = None, information: Optional[DocumentLogsActionsInformation] = None)
Definition: DocumentLogsActions
Attributes
log_id
class-attribute
instance-attribute
ID of an action performed on the document.
date_time
class-attribute
instance-attribute
Date and time when the action was performed.
user_email
class-attribute
instance-attribute
Email of the user who performed the action.
user_name
class-attribute
instance-attribute
Name of the user who performed the action.
DocumentLogsActionsInformation
dataclass
Definition: DocumentLogsActionsInformation
Attributes
type_
class-attribute
instance-attribute
The type of extra information about the action e.g. "SIGNING_METHOD" which means what signing method user used to sign the document.
WorkflowUserUpdateRequest
dataclass
WorkflowUserUpdateRequest(user_email: Optional[str] = None, user_name: Optional[str] = None, email_notification: Optional[bool] = None, mobile_number: Optional[str] = None, role: Optional[WorkflowCollaboratorRole] = None, signing_order: Optional[int] = None, email_language_code: Optional[str] = None, delivery_method: Optional[DeliveryMethod] = None)
Definition: WorkflowUserUpdateRequest
Attributes
user_email
class-attribute
instance-attribute
The email address of the new user to be updated in workflow. If no value is provided, old value will be retained.
user_name
class-attribute
instance-attribute
Name of the recipient to be updated. If no value is provided, old value will be retained.
email_notification
class-attribute
instance-attribute
Setting its value to "true" sends an email notification to the user when its turn arrives in workflow. Setting its value to "false" does not send the email notification to the user on its turn. If no value is provided, old value will be retained.
mobile_number
class-attribute
instance-attribute
Mobile number. If no value is provided, old value will be retained.
signing_order
class-attribute
instance-attribute
Order in which the workflow will be signed by the recipients. This signing order is important when workflow type is set to "CUSTOM".
WorkflowUserReorderRequest
dataclass
UpdateReminderRequest
dataclass
UpdateReminderRequest(apply_to_all: Optional[bool] = None, enabled: Optional[bool] = None, frequency: Optional[str] = None, remind_after: Optional[int] = None, repeat: Optional[RepeatRequest] = None)
Definition: UpdateReminderRequest
Attributes
apply_to_all
class-attribute
instance-attribute
True, if reminder settings are to be applied on all the recipients in the workflow.
enabled
class-attribute
instance-attribute
True, if reminder settings are to be enabled.
frequency
class-attribute
instance-attribute
Reminder Frequency. Possible Values are DAYS | HOURS.
RepeatRequest
dataclass
RepeatRequest(enabled: Optional[bool] = None, frequency: Optional[str] = None, keep_reminding_after: Optional[int] = None, total_reminders: Optional[int] = None)
Definition: RepeatRequest
Attributes
enabled
class-attribute
instance-attribute
True, if subsequent reminders are enabled.
frequency
class-attribute
instance-attribute
Repeat Reminder Frequency. Possible Values are DAYS | HOURS.
keep_reminding_after
class-attribute
instance-attribute
Required, in case of enabled property will true. The number of days after which the subsequent reminders would be sent to workflow user.
WorflowGroupRequest
dataclass
WorflowGroupRequest(group_name: Optional[str] = None, email_notification: Optional[bool] = None, role: Optional[CollaboratorRole] = None, signing_order: Optional[int] = None)
Definition: WorflowGroupRequest
Attributes
group_name
class-attribute
instance-attribute
The name of the new group to be added in workflow.
email_notification
class-attribute
instance-attribute
Setting its value to "true" sends an email notification to the user when its turn arrives in workflow. Setting its value to "false" does not send the email notification to the user on its turn. If no value is provided, default value of "true" will be set.
PlaceholderRequest
dataclass
PlaceholderRequest(placeholder: Optional[str] = None, email_notification: Optional[bool] = None, role: Optional[CollaboratorRole] = None, signing_order: Optional[int] = None)
Definition: PlaceholderRequest
Attributes
placeholder
class-attribute
instance-attribute
The name of the new placeholder to be added in workflow.
email_notification
class-attribute
instance-attribute
Setting its value to "true" sends an email notification to the user when its turn arrives in workflow. Setting its value to "false" does not send the email notification to the user on its turn.
WorkflowPlaceholderUpdateRequest
dataclass
WorkflowPlaceholderUpdateRequest(placeholder: Optional[str] = None, email_notification: Optional[bool] = None, role: Optional[WorkflowCollaboratorRole] = None, signing_order: Optional[int] = None)
Definition: WorkflowPlaceholderUpdateRequest
Attributes
placeholder
class-attribute
instance-attribute
The name of the new placeholder to be added in workflow. If no value is provided, old value will be retained.
email_notification
class-attribute
instance-attribute
Setting its value to "true" sends an email notification to the user when its turn arrives in workflow. Setting its value to "false" does not send the email notification to the user on its turn. If no value is provided, old value will be retained.
UpdateWorkSpaceRequest
dataclass
MoveToRequest
dataclass
DigitalSignatureFieldResponse
dataclass
DigitalSignatureFieldResponse(order: Optional[int] = None, display_order: Optional[int] = None, field_name: Optional[str] = None, page_no: Optional[int] = None, embedded: Optional[bool] = None, type_: Optional[str] = None, process_status: Optional[str] = None, processed_on: Optional[str] = None, processed_as: Optional[str] = None, created_on: Optional[str] = None, processed_by: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse] = None, verification: Optional[VerificationResponse] = None, nid: Optional[str] = None, display: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, authentication: Optional[FieldAuthentication] = None)
Definition: DigitalSignatureFieldResponse
Attributes
order
class-attribute
instance-attribute
Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.
display_order
class-attribute
instance-attribute
Display order according to the SigningHub viewer.
field_name
class-attribute
instance-attribute
Unique identifier of the field.
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
embedded
class-attribute
instance-attribute
True, if field is part of the PDF document.
type_
class-attribute
instance-attribute
If field is assigned or not, possible values are ASSIGNED, UN_ASSIGNED, SIGNED, LOGGED_IN_USER, HIDDEN and PLACEHOLDER.
process_status
class-attribute
instance-attribute
Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.
processed_on
class-attribute
instance-attribute
Date time on which the document is processed.
processed_as
class-attribute
instance-attribute
User who processed the field as COLLABORATOR, DELEGATEE, GROUP_MEMBER or OWNER.
created_on
class-attribute
instance-attribute
Date time on which the field is added
processed_by
class-attribute
instance-attribute
Email address of the user who processed the field.
FieldDimenssionResponse
dataclass
Definition: FieldDimenssionResponse
FieldResponse
dataclass
FieldResponse(x: Optional[float] = None, y: Optional[float] = None, width: Optional[float] = None, height: Optional[float] = None)
Definition: FieldResponse
Attributes
PageResponse
dataclass
FieldAuthentication
dataclass
AccessSecurityTOTPResponse
dataclass
HandSignatureFieldResponse
dataclass
HandSignatureFieldResponse(order: Optional[int] = None, display_order: Optional[int] = None, field_name: Optional[str] = None, page_no: Optional[int] = None, embedded: Optional[bool] = None, type_: Optional[str] = None, process_status: Optional[str] = None, processed_on: Optional[str] = None, processed_as: Optional[str] = None, processed_by: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse] = None, nid: Optional[str] = None)
Definition: HandSignatureFieldResponse
Attributes
order
class-attribute
instance-attribute
Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.
display_order
class-attribute
instance-attribute
Display order according to the SigningHub viewer.
field_name
class-attribute
instance-attribute
Unique identifier of the field.
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
embedded
class-attribute
instance-attribute
True, if field is part of the PDF document.
type_
class-attribute
instance-attribute
If field is assigned or not, possible values are ASSIGNED, UN_ASSIGNED, SIGNED, LOGGED_IN_USER, HIDDEN and PLACEHOLDER.
process_status
class-attribute
instance-attribute
Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.
processed_on
class-attribute
instance-attribute
Date time on which the document is processed.
processed_as
class-attribute
instance-attribute
User who processed the field as COLLABORATOR,DELEGATEE,GROUP_MEMBER or OWNER.
ElectronicSignatureFieldResponse
dataclass
ElectronicSignatureFieldResponse(order: Optional[int] = None, display_order: Optional[int] = None, field_name: Optional[str] = None, page_no: Optional[int] = None, embedded: Optional[bool] = None, type_: Optional[str] = None, process_status: Optional[str] = None, processed_on: Optional[str] = None, processed_as: Optional[str] = None, processed_by: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse] = None, signature_sub_type: Optional[str] = None, authentication: Optional[FieldAuthentication] = None, verification: Optional[VerificationResponse] = None, nid: Optional[str] = None, display: Optional[str] = None)
Definition: ElectronicSignatureFieldResponse
Attributes
order
class-attribute
instance-attribute
Email address of the user who processed the field.
display_order
class-attribute
instance-attribute
Display order according to the SigningHub viewer.
field_name
class-attribute
instance-attribute
Unique identifier of the field.
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
embedded
class-attribute
instance-attribute
True, if field is part of the PDF document.
type_
class-attribute
instance-attribute
If field is assigned or not, possible values are ASSIGNED, UN_ASSIGNED, SIGNED, LOGGED_IN_USER, HIDDEN and PLACEHOLDER.
process_status
class-attribute
instance-attribute
Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.
processed_on
class-attribute
instance-attribute
Date time on which the document is processed.
processed_as
class-attribute
instance-attribute
User who processed the field as COLLABORATOR,DELEGATEE,GROUP_MEMBER or OWNER.
processed_by
class-attribute
instance-attribute
Email address of the user who processed the field.
signature_sub_type
class-attribute
instance-attribute
The signature sub-type can be a WITNESS signature. If witness signatures are enabled in service plan, E-Signature fields are signed with a common certificate shared by all the users in the service plan. Possible values are WITNESS or NONE.
InitialFieldResponse
dataclass
InitialFieldResponse(order: Optional[int] = None, display_order: Optional[int] = None, field_name: Optional[str] = None, page_no: Optional[int] = None, process_status: Optional[str] = None, processed_on: Optional[str] = None, processed_as: Optional[str] = None, processed_by: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse] = None, embedded: Optional[bool] = None)
Definition: InitialFieldResponse
Attributes
order
class-attribute
instance-attribute
Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.
display_order
class-attribute
instance-attribute
Display order according to the SigningHub viewer.
field_name
class-attribute
instance-attribute
Unique identifier of the field.
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
process_status
class-attribute
instance-attribute
Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.
processed_on
class-attribute
instance-attribute
Date time on which the document is processed.
processed_as
class-attribute
instance-attribute
User who processed the field as COLLABORATOR,DELEGATEE,GROUP_MEMBER or OWNER.
processed_by
class-attribute
instance-attribute
Email address of the user who processed the field.
InPersonFieldResponse
dataclass
InPersonFieldResponse(order: Optional[int] = None, display_order: Optional[int] = None, field_name: Optional[str] = None, page_no: Optional[int] = None, embedded: Optional[bool] = None, type_: Optional[str] = None, process_status: Optional[str] = None, processed_on: Optional[str] = None, processed_as: Optional[str] = None, processed_by: Optional[str] = None, placeholder: Optional[str] = None, signature_sub_type: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse] = None, verification: Optional[VerificationResponse] = None, display: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, authentication: Optional[FieldAuthentication] = None)
Definition: InPersonFieldResponse
Attributes
order
class-attribute
instance-attribute
Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.
display_order
class-attribute
instance-attribute
Display order according to the SigningHub viewer.
field_name
class-attribute
instance-attribute
Unique identifier of the field.
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
embedded
class-attribute
instance-attribute
True, if field is part of the PDF document.
process_status
class-attribute
instance-attribute
Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.
processed_on
class-attribute
instance-attribute
Date time on which the document is processed.
processed_as
class-attribute
instance-attribute
User who processed the field as COLLABORATOR,DELEGATEE,GROUP_MEMBER or OWNER.
processed_by
class-attribute
instance-attribute
Email address of the user who processed the field.
placeholder
class-attribute
instance-attribute
Name of the in-person signer or placeholder e.g., Customer, Sales Representative etc.
signature_sub_type
class-attribute
instance-attribute
The signature sub-type for in-person signatures can be a WITNESS signature. If witness signatures are enabled in service plan, In-person fields are signed with a common certificate shared by all the users in the service plan. Possible values are WITNESS or NONE.
display
class-attribute
instance-attribute
Returns the visibility value of the inperson field, possible values are "VISIBLE" and "INVISIBLE".
TextFieldResponse
dataclass
TextFieldResponse(required: Optional[bool] = None, order: Optional[int] = None, tab_order: Optional[int] = None, display_order: Optional[int] = None, field_name: Optional[str] = None, page_no: Optional[int] = None, embedded: Optional[bool] = None, type_: Optional[str] = None, value: Optional[str] = None, read_only: Optional[bool] = None, validation_rule: Optional[str] = None, validation: Optional[FieldValidationValue] = None, visible: Optional[bool] = None, multiline: Optional[bool] = None, font: Optional[FontResponse] = None, max_length: Optional[int] = None, format_type: Optional[str] = None, placeholder: Optional[str] = None, format: Optional[str] = None, color: Optional[str] = None, border_color: Optional[str] = None, tooltip: Optional[str] = None, field_rotation: Optional[int] = None, align: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse] = None)
Definition: TextFieldResponse
Attributes
required
class-attribute
instance-attribute
True if field required in pdf
order
class-attribute
instance-attribute
Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.
tab_order
class-attribute
instance-attribute
Tab order in the PDF document
display_order
class-attribute
instance-attribute
Display order according to the SigningHub viewer.
field_name
class-attribute
instance-attribute
Unique identifier of the field.
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
embedded
class-attribute
instance-attribute
True, if field is part of the PDF document.
type_
class-attribute
instance-attribute
Type of the text field, possible values are "TEXT", "NAME", "COMPANY", "JOBTITLE", "EMAIL", "DATE".
value
class-attribute
instance-attribute
Value of the field. For type = DATE or format_type = DATE, the value is expected to follow ISO 8601 format.Following the format YYYY-MM-DD hh:mm:ss +00. As the values are for date fields client applications can send YYYY-MM-DD and ignore hh:mm:ss +00. If value is not in proper format an error will be returned.
read_only
class-attribute
instance-attribute
True, if the field is marked read only in the PDF document.
validation_rule
class-attribute
instance-attribute
One or more rules for validation of the fields, possible values are "MANDATORY" or "OPTIONAL".
visible
class-attribute
instance-attribute
True, if the field is not hidden in the PDF document.
multiline
class-attribute
instance-attribute
True, if the field is multi line in the PDF document.
max_length
class-attribute
instance-attribute
Maximum content length allowed to be filled in the field.
format_type
class-attribute
instance-attribute
If field is a textbox it can follow different input types. Possible values are ALPHANUMERIC, NUMBER, TEXT, EMAIL, TIME or DATE.
placeholder
class-attribute
instance-attribute
Placeholder text for the textbox field.
format
class-attribute
instance-attribute
Text format of the field. Used for the date type field only. Possible values are
- m/d
- m/d/yy
- m/d/yyyy
- mm/dd/yy
- mm/dd/yyyy
- mm/yy
- mm/yyyy
- d-mmm
- d-mmm-yy
- d-mmm-yyyy
- dd-mmm-yy
- dd-mmm-yyyy
- yy-mm-dd
- yyyy-mm-dd
- mmm-yy
- mmm-yyyy
- mmmm-yy
- mmmm-yyyy
- mmmm d, yyyy
- dd/mm/yy
- ddmmmyyyy
color
class-attribute
instance-attribute
Color of the text in the form fields.
border_color
class-attribute
instance-attribute
Border color of the form field.
field_rotation
class-attribute
instance-attribute
Field Rotation
RadioFieldResponse
dataclass
RadioFieldResponse(required: Optional[bool] = None, order: Optional[int] = None, tab_order: Optional[int] = None, display_order: Optional[int] = None, field_name: Optional[str] = None, page_no: Optional[int] = None, embedded: Optional[bool] = None, type_: Optional[str] = None, value: Optional[bool] = None, read_only: Optional[bool] = None, validation_rule: Optional[str] = None, radio_group_name: Optional[str] = None, checked: Optional[bool] = None, visible: Optional[bool] = None, dimensions: Optional[FieldDimenssionResponse] = None, color: Optional[str] = None, border_color: Optional[str] = None, tooltip: Optional[str] = None, field_rotation: Optional[int] = None)
Definition: RadioFieldResponse
Attributes
required
class-attribute
instance-attribute
True if field required in pdf
order
class-attribute
instance-attribute
Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.
tab_order
class-attribute
instance-attribute
Tab order in the PDF document.
display_order
class-attribute
instance-attribute
Display order according to the SigningHub viewer.
field_name
class-attribute
instance-attribute
Unique identifier of the field.
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
embedded
class-attribute
instance-attribute
True, if field is part of the PDF document.
read_only
class-attribute
instance-attribute
True, if the field is marked readonly in the PDF document.
validation_rule
class-attribute
instance-attribute
One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".
radio_group_name
class-attribute
instance-attribute
The group name to which the field belongs.
checked
class-attribute
instance-attribute
True, if the field is selected
visible
class-attribute
instance-attribute
True if the field is not hidden in the PDF document.
color
class-attribute
instance-attribute
Color of the text in the form fields.
border_color
class-attribute
instance-attribute
Border color of the form field.
CheckboxFieldResponse
dataclass
CheckboxFieldResponse(required: Optional[bool] = None, order: Optional[int] = None, tab_order: Optional[int] = None, display_order: Optional[int] = None, field_name: Optional[str] = None, page_no: Optional[int] = None, embedded: Optional[bool] = None, type_: Optional[str] = None, value: Optional[bool] = None, read_only: Optional[bool] = None, checked: Optional[bool] = None, visible: Optional[bool] = None, validation_rule: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse] = None, color: Optional[str] = None, border_color: Optional[str] = None, tooltip: Optional[str] = None, field_rotation: Optional[int] = None)
Definition: CheckboxFieldResponse
Attributes
required
class-attribute
instance-attribute
True if field required in pdf
order
class-attribute
instance-attribute
Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.
tab_order
class-attribute
instance-attribute
Tab order in the PDF document
display_order
class-attribute
instance-attribute
Display order according to the SigningHub viewer.
field_name
class-attribute
instance-attribute
Unique identifier of the field.
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
embedded
class-attribute
instance-attribute
True, if field is part of the PDF document.
read_only
class-attribute
instance-attribute
True, if the field is marked read only in the PDF document.
checked
class-attribute
instance-attribute
True if the field is selected.
visible
class-attribute
instance-attribute
True if the field is not hidden in the PDF document.
validation_rule
class-attribute
instance-attribute
One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".
color
class-attribute
instance-attribute
Color of the text in the form fields.
border_color
class-attribute
instance-attribute
Border color of the form field.
DropdownFieldResponse
dataclass
DropdownFieldResponse(required: Optional[bool] = None, order: Optional[int] = None, tab_order: Optional[int] = None, display_order: Optional[int] = None, field_name: Optional[str] = None, page_no: Optional[int] = None, embedded: Optional[bool] = None, validation_rule: Optional[str] = None, read_only: Optional[bool] = None, value: Optional[str] = None, choices: Optional[List[str]] = None, visible: Optional[bool] = None, dimensions: Optional[FieldDimenssionResponse] = None, font: Optional[FontResponse] = None, color: Optional[str] = None, border_color: Optional[str] = None, tooltip: Optional[str] = None, field_rotation: Optional[int] = None)
Definition: DropdownFieldResponse
Attributes
required
class-attribute
instance-attribute
True if field required in pdf
order
class-attribute
instance-attribute
Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.
tab_order
class-attribute
instance-attribute
Tab order in the PDF document.
display_order
class-attribute
instance-attribute
Display order according to the SigningHub viewer.
field_name
class-attribute
instance-attribute
Unique identifier of the field.
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
embedded
class-attribute
instance-attribute
True, if field is part of the PDF document.
validation_rule
class-attribute
instance-attribute
One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".
read_only
class-attribute
instance-attribute
True, if the field is marked read only in the PDF document.
choices
class-attribute
instance-attribute
Choices available for the dropdown to choose a value from.
visible
class-attribute
instance-attribute
True, if the field is not hidden in the PDF document.
color
class-attribute
instance-attribute
Color of the text in the form fields.
border_color
class-attribute
instance-attribute
Border color of the form field.
ListBoxFieldResponse
dataclass
ListBoxFieldResponse(order: Optional[int] = None, tab_order: Optional[int] = None, display_order: Optional[int] = None, field_name: Optional[str] = None, page_no: Optional[int] = None, embedded: Optional[bool] = None, validation_rule: Optional[str] = None, read_only: Optional[bool] = None, value: Optional[str] = None, choices: Optional[List[str]] = None, visible: Optional[bool] = None, dimensions: Optional[FieldDimenssionResponse] = None, font: Optional[FontResponse] = None, color: Optional[str] = None, border_color: Optional[str] = None, tooltip: Optional[str] = None, field_rotation: Optional[int] = None)
Definition: ListBoxFieldResponse
Attributes
order
class-attribute
instance-attribute
Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.
tab_order
class-attribute
instance-attribute
Tab order in the PDF document.
display_order
class-attribute
instance-attribute
Display order according to the SigningHub viewer.
field_name
class-attribute
instance-attribute
Unique identifier of the field.
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
embedded
class-attribute
instance-attribute
True, if field is part of the PDF document.
validation_rule
class-attribute
instance-attribute
One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".
read_only
class-attribute
instance-attribute
True, if the field is marked read only in the PDF document.
choices
class-attribute
instance-attribute
Choices available for the dropdown to choose a value from.
visible
class-attribute
instance-attribute
True, if the field is not hidden in the PDF document.
color
class-attribute
instance-attribute
Color of the text in the form fields.
border_color
class-attribute
instance-attribute
Border color of the form field.
FontResponse
dataclass
FontResponse(name: Optional[str] = None, size: Optional[int] = None, embedded_size: Optional[float] = None)
Definition: FontResponse
Attributes
name
class-attribute
instance-attribute
Font name for the text field. For user defined fields SigningHub only support "COURIER", "HELVETICA". In case of existing fields in a PDF file, font value can be anything that is set in the PDF.
QrCodeResponse
dataclass
QrCodeResponse(field_name: Optional[str] = None, type_: Optional[str] = None, page_no: Optional[int] = None, value: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse] = None, data: Optional[str] = None, options: Optional[QrCodeOptions] = None, color: Optional[QrCodeColor] = None, logo: Optional[QrCodeLogo] = None)
Definition: QrCodeResponse
Attributes
field_name
class-attribute
instance-attribute
Unique identifier of the field.
type_
class-attribute
instance-attribute
Field Type PDF_FIELD_TYPE like QR
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
value
class-attribute
instance-attribute
QrCode generated base64 will be provided inly in draft mode
AttachmentFieldResponse
dataclass
AttachmentFieldResponse(order: Optional[int] = None, display_order: Optional[int] = None, field_name: Optional[str] = None, page_no: Optional[int] = None, process_status: Optional[str] = None, processed_on: Optional[str] = None, processed_as: Optional[str] = None, processed_by: Optional[str] = None, attachment_ref_id: Optional[int] = None, note: Optional[str] = None, validation_rule: Optional[ValidationRule] = None, dimensions: Optional[FieldDimenssionResponse] = None)
Definition: AttachmentFieldResponse
Attributes
order
class-attribute
instance-attribute
Order of the recipient to whom this field is assigned.
display_order
class-attribute
instance-attribute
Display order according to the SigningHub viewer.
field_name
class-attribute
instance-attribute
Unique identifier of the field.
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
process_status
class-attribute
instance-attribute
Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.
processed_on
class-attribute
instance-attribute
Date time on which the document is processed.
processed_as
class-attribute
instance-attribute
User who processed the field as COLLABORATOR,DELEGATEE,GROUP_MEMBER or OWNER.
processed_by
class-attribute
instance-attribute
Email address of the user who processed the field.
attachment_ref_id
class-attribute
instance-attribute
Attachmet ref id
CommentFieldResponse
dataclass
CommentFieldResponse(id: Optional[int] = None, page_no: Optional[int] = None, unread_count: Optional[int] = None, private: Optional[bool] = None, recipients: Optional[List[CommentFieldRecipientResponse]] = None, dimensions: Optional[FieldDimenssionResponse] = None)
Definition: CommentFieldResponse
Attributes
page_no
class-attribute
instance-attribute
Page number of the document on which the field exists.
UniqueIdentifierFieldResponse
dataclass
UniqueIdentifierFieldResponse(field_name: Optional[str] = None, value: Optional[str] = None, page_no: Optional[int] = None, font: Optional[FontResponse] = None, dimensions: Optional[FieldDimenssionResponse] = None)
Definition: UniqueIdentifierFieldResponse
Attributes
field_name
class-attribute
instance-attribute
Unique identifier of the field.
CommentFieldRecipientResponse
dataclass
AssignFieldRequest
dataclass
AssignFieldRequest(field_name: Optional[str] = None, radio_group_name: Optional[str] = None, order: Optional[int] = None, level_of_assurance: Optional[List[str]] = None)
Definition: AssignFieldRequest
Attributes
field_name
class-attribute
instance-attribute
Name of the signature field that is to be assigned.
radio_group_name
class-attribute
instance-attribute
provide group name for radio box
order
class-attribute
instance-attribute
The order of the user in workflow, to which the field is being assigned.
level_of_assurance
class-attribute
instance-attribute
Level Of Assurance to be added. Possible Values are "ELECTRONIC_SIGNATURE", "ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SEAL", "QUALIFIED_ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SIGNATURE", "HIGH_TRUST_ADVANCED", "QUALIFIED_ELECTRONIC_SIGNATURE"
SigninghubClient
SigninghubClient(connection_runtime_url: str, token_provider: Optional[TokenProvider] = None, options: Optional[ConnectorClientOptions] = None)
Bases: ConnectorClientBase
Typed client for signinghub connector.
Initialize a SigninghubClient.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
connection_runtime_url
|
str
|
The connection runtime URL from Azure Portal. |
required |
token_provider
|
Optional[TokenProvider]
|
Optional token provider. Defaults to ManagedIdentityTokenProvider. |
None
|
options
|
Optional[ConnectorClientOptions]
|
Optional connector client options. |
None
|
Methods:
attachment_delete_attachment_async
async
attachment_delete_attachment_async(package_id: int, document_id: int, attachment_id: int) -> dict[str, Any] | None
Delete Attachment
Business applications can use this service API to delete the attachment of a document.
attachment_download_attachment_async
async
attachment_download_attachment_async(package_id: int, document_id: int, attachment_id: int) -> dict[str, Any] | None
Download Attachment
Business applications can use this service API to download the attachment of a document.
attachment_get_attachments_async
async
Get Attachments
Business applications can use this service API to get the attachments of a document.
attachment_upload_attachment_async
async
attachment_upload_attachment_async(input: bytes, package_id: int, document_id: int) -> dict[str, Any] | None
Upload Attachment
Business applications can use this service API to upload a attachment in a document.
checkbox_add_check_box_async
async
checkbox_add_check_box_async(input: CheckBoxFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Add CheckBox Field
Business applications can use this service API to add a checkbox to a document in a package. At least one user must exist in a workflow before fields(input and signature) can be added to the document in this way.The order number corresponds to the recipient in the workflow.Therefore, this number must be equal or less than the total number of users in the workflow. The below example assigns this new signature field to the first person in the workflow. See Add Users to Workflow for more information. Note if you have a document with a template applied, or have applied one using the APIs, then the workflow will already contain users. If width and height parameters are not provided, a default size of 10x10 will be assigned. If either width or height (or both) is provided, the system will compare these provided values with each other. The larger value between width and height will be assigned to both dimensions.
checkbox_update_check_box_async
async
checkbox_update_check_box_async(input: UpdateCheckBoxFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Update CheckBox Field
Business applications can use this service API to update a checkbox field of a document in a package. Note all of the input parameters can be changed.Where you wish to retain the current setting submit it in the call unchanged.You can therefore use the same parameters as when you added the input field, or the information as returned by Get Document Fields.The latter can be used when a template was applied or the document was created using the GUI interface. It's width and height cannot be updated. They will remain the same as when they were added.
contacts_get_async
async
contacts_get_async(record_per_page: int, page_no: int, sort_by: Optional[str] = None, asc: Optional[bool] = None) -> dict[str, Any] | None
Get Contacts
Business applications can use this service API to retieve contacts from both personal and enterprise contacts for the current user. It is possible to search based upon the criterion supplied under the "x-search-text" header.Furthermore, it is possible to search a user's specific contacts or that of the enterprise to which the user belongs. The search response information contains the user email address and respective user name.
documents_delete_document_async
async
Delete Document
Business applications can use this service API to delete a document in a package.
documents_download_document_bytes_async
async
Download Document
Business applications can use this service API to download the document bytes. The package ID and document ID is provided in the resource URL.
documents_get_certify_policy_async
async
Get Certify Policy for a document
Business applications can use this service API to get certify signature settings of a document in a package.
documents_get_document_details_async
async
Get Document Details
Business applications can use this service API to get the document details. The document ID is provided in the URL as "{document_id}".
documents_rename_document_async
async
documents_rename_document_async(input: RenameDocumentRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Rename Document
Business applications can use this service API to rename a document in a package.
documents_update_certify_policy_async
async
documents_update_certify_policy_async(input: UpdateCertifyPolicyRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Update Certify Policy for a document
Business applications can use this service API to update certify signature settings for a document in a package.
documents_upload_from_library_async
async
Add or Update Document from Library
Business applications can use this service API to add a document from the user's library to a package. Package ID is provided in the URL, the ID of the document should also be provided as "document_id" in the resource URL to identify the library document to be copied. Note a package must already exist before you can add a document using this call.
documents_upload_stream_async
async
Upload Document
Business applications can use this service API to add a document to a document package linked to an enterprise user's account. The document information is sent in the HTTP request header and document bytes are sent in the HTTP request body. Note SigningHub will convert supported document formats to PDF if the header "x-convert-document" is set to a value of "true". The only case supported where this value is set to "false" is to retain Word format and XML documents. SigningHub supports a wide variety of document formats, each of which can be converted to PDF format upon upload.Click here for the full list. Note PDF documents are not altered upon upload to the system. Note a package must already exist before you can add a document using this call.
enterprise_documents_get_enterprise_workflow_access_async
async
enterprise_documents_get_enterprise_workflow_access_async(package_id: int, order: int) -> dict[str, Any] | None
Get Workflow User Authentication (Document Opening) of Enterprise Package
Business applications can use this service API to get the access security settings enabled for the package. Recipients for whom the security is configured are identified by the order in the URL. Package ID is also identified in the request URL. Recipients will not be able to access document package outside the scope of this duration if the access security is enabled. Document owner can also configure authentication based security of the package for a recipient.
enterprise_documents_update_enterprise_workflow_access_async
async
enterprise_documents_update_enterprise_workflow_access_async(input: AccessUpdateRequest, package_id: int, order: int) -> dict[str, Any] | None
Update Workflow User Authentication (Document Opening) of Enterprise Package
Business applications can use this service API to update the package authentications and access duration for the recipients. This API can also be used by the enterprise administrator or the enterprise user if the "scope" variable was used in the authentication request
fields_auto_assign_field_async
async
fields_auto_assign_field_async(input: FieldsAutoAssignFieldInput, package_id: int, document_id: int) -> dict[str, Any] | None
Assign Document Field
Business applications can use this service API to assign users to input fields, e.g. signature fields, and hence define the signing order. The fields must already be present in the document and the users must be present in the workflow. The ID of the workflow document is provided in the resource URL, along with the package identifier. When recipients are in a workflow they are numbered, beginning at one and counting up for each extra one.Therefore, if there are three users in a workflow they are numbered "1", "2", and "3" respectfully.This API call allows you to assign a user by their workflow order number, to an input field on the document.
fields_auto_place_async
async
fields_auto_place_async(input: AutoPlaceFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
AutoPlace Fields
Business applications can call this API to add signature or user defined form fields to a document based upon the search criterion supplied. The placement options are: to the left, to the right, top and bottom. The document is search and all instances of the search criteria met are processed. This allows you to add multiple fields with one call. For example, upload a document and automatically place a signature field to the right of all instances of the word "Sign here:". This saves time and ensures no signatures are missed from the workflow. The API call supports all types of fields; namely electronic, digital, in-person, initials, and text field etc. In addition, the API call supports the "order" variable.This means you can assign a set of signature fields automatically to a single user.Hence, the call can be repeated to place and assign signature fields to more than one user in the workflow. At least one user must exist in a workflow before signature fields can be added to the document in this way.The order number corresponds to the recipient in the workflow. Therefore, this number must be equal or less than the total number of users in the workflow. The below example assigns this new signature field to the first person in the workflow. This API call can be used multiple times on the same document.The reason for doing so is to cater for multiple signatories on a document.The recipient or signatory is identified by the "order" variable passed in the call. See Add Users to Workflow for more information. Note if you have a document with a template applied, or have applied one using the APIs, then the workflow will already contain users.
fields_delete_document_field_async
async
fields_delete_document_field_async(input: DeleteDocumentFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Delete Document Field
Business applications can use this service API to delete a field of document in a package.
fields_fill_form_fields_async
async
fields_fill_form_fields_async(input: FormFillingRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Fill Form Fields
Business applications can use this service API to fill one or more form fields in a document by a specified user in the order.
fields_get_all_document_fields_async
async
fields_get_all_document_fields_async(package_id: int, document_id: int, page_no: int) -> dict[str, Any] | None
Get Document Fields
Business applications can use this service API to get document fields i.e., initials, in-persons, signature fields or form fields.
folder_move_package_async
async
Move Package to Custom or Shared Space folder
Business applications can use this service API to move the document package to a shared space or user's custom folder.
initials_add_initial_async
async
initials_add_initial_async(input: InitialFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Add Initial Field
Business applications can use this service API to add an initials field to a document in a package. At least one user must exist in a workflow before fields(input and signature) can be added to the document in this way.The order number corresponds to the recipient in the workflow.Therefore, this number must be equal or less than the total number of users in the workflow. The below example assigns this new signature field to the first person in the workflow. See Add Users to Workflow for more information. Note if you have a document with a template applied, or have applied one using the APIs, then the workflow will already contain users.
initials_fill_async
async
initials_fill_async(input: InitialFillingRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Fill Initials
Business applications can use this service API to fill an initials field in a document by a specified user in the order.
initials_update_initial_async
async
initials_update_initial_async(input: UpdateInitialFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Update Initial Field
Business applications can use this service API to update an initials field of a document in a package. Note all of the input parameters can be changed.Where you wish to retain the current setting submit it in the call unchanged. You can therefore use the same parameters as when you added the input field, or the information as returned by Get Document Fields.The latter can be used when a template was applied or the document was created using the GUI interface.
in_person_add_in_person_async
async
in_person_add_in_person_async(input: InPersonFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Add In-person Field
Business applications can use this service API to an add in-person signature field to a document in a package. At least one user must exist in a workflow before fields(input and signature) can be added to the document in this way.The order number corresponds to the recipient in the workflow.Therefore, this number must be equal or less than the total number of users in the workflow. The below example assigns this new signature field to the first person in the workflow. See Add Users to Workflow for more information. Note if you have a document with a template applied, or have applied one using the APIs, then the workflow will already contain users. In order to host an in-person meeting a SigningHub user must be part of the workflow.They must either be added with Role "INPERSON_HOST" or "SIGNER". For the host option they do not require a signature or input field on the document, and the in-person signature field can be signed by the non-SigningHub registered user. Note this is a special workflow scenario whereby it is expected that the SigningHub user and recipient would be in the same location.This type of signature is not intended for use whereby a document is shared with recipients over email link in the normal loose integration method.
in_person_update_in_person_async
async
in_person_update_in_person_async(input: UpdateInPersonFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Update In-person Field
Business applications can use this service API to update an in-person signature field of a document in a package. Note all of the input parameters can be changed.Where you wish to retain the current setting submit it in the call unchanged.You can therefore use the same parameters as when you added the input field, or the information as returned by Get Document Fields.The latter can be used when a template was applied or the document was created using the GUI interface.
package_add_package_async
async
Add Package
This service API is used to add/create a document package to hold one or more documents. This package can then be used to add documents and recipients in order to start a new workflow. As previously stated, this call is mandatory if you wish to work with documents. A package must exist before you can upload or add documents to SigningHub.. Even a single document is a part of a package: a package containing one document. Note: A package can be renamed if required once created.
package_approve_async
async
Approve Document
Business applications can use this service API to approve a document by a specified user in the order.
package_decline_async
async
Decline Document
Business applications can use this service API to decline a document by a specified user in the order.
package_delete_package_async
async
Delete Package
Business applications can use this service API to delete a document from the user inbox. The package ID is provided in the resource URL as "{package_id}". If the document status is PENDING, then it is automatically declined as result of delete operation. If the document status is SHARED, then the document is automatically recalled and workflow is stopped before the document is deleted.
package_download_package_bytes_async
async
package_download_package_bytes_async(package_id_bulk_action: int, document_ids: Optional[List[int]] = None) -> dict[str, Any] | None
Download Package
Business applications can use this service API to download the document package in binary format. The package ID is provided in the resource URL. If the package contains only one document, the download is the binary PDF document. Alternatively, if the package has more than one document, the download is the binary zip file of all documents. The x-password and x-otp headers are optional. They are required if the document owner set them during the workflow creation phase.
package_finish_async
async
Finish Processing
Business applications can use this service API to finish the document processing after signing all the signature fields. This method is primarily used by native SigningHub mobile apps for iOS and Android, and mobile web use cases. General business applications employing tight integration into their respective portal do not need to call this method. However, when using the Sign Document API (and hence the user is not presented with a visual representation of the document they are requested to sign) calling this API is required in order to ensure the respective workflow continues or completes. For example, once all signatures have been applied using the "blind" Sign Document API call the document will not show as status "Completed" to the owner until this API is invoked. The document owner will see a status of "In Progress" until this API is called. Within native SigningHub mobile apps and mobile web use cases, this call is necessary to ensure that each user completes their respective actions with respect to SigningHub.For example, after a signatory has signed a document in SigningHub App, this method is invoked by the application to ensure the workflow continues to process and the next signatory is notified, and the document status is available via the configured call-back URL.
package_gatekeeper_approve_async
async
Gatekeeper Approve Document
Business applications can use this service API to gatekeeper approve a document by a specified user in the order.
package_gatekeeper_decline_async
async
Gatekeeper Decline Document
Business applications can use this service API to gatekeeper decline a document by a specified user in the order.
package_get_all_packages_async
async
package_get_all_packages_async(document_status: str, page_no: int, record_per_page: int, package_name: Optional[str] = None, package_id: Optional[int] = None, recipient_from: Optional[str] = None, recipient_to: Optional[str] = None, document_id: Optional[int] = None, expiry: Optional[int] = None, modified_from: Optional[str] = None, modified_to: Optional[str] = None, size_from: Optional[int] = None, size_to: Optional[int] = None, certified_documents: Optional[bool] = None, form_fields: Optional[bool] = None, attachments: Optional[bool] = None, document_type: Optional[str] = None, sort_by: Optional[str] = None, asc: Optional[bool] = None, document_statuses: Optional[List[str]] = None, owned_by: Optional[str] = None, smart_form: Optional[str] = None) -> dict[str, Any] | None
Get Packages
Business applications can use this service API to get a list of documents filtered by different statuses. Users can divide the records into pages by providing a number of records per page.
package_get_package_details_async
async
Get Package Details
Business applications can use this service API to get the details of an package. This API can also be used by the business application to perform action on behalf of the enterprise user via "Scope Authentication".
package_rename_package_async
async
package_rename_package_async(input: RenameDocumentPackageRequest, package_id_bulk_action: int) -> dict[str, Any] | None
Rename Package
This service API is used to rename a document package. The document package is identified by its unique identifier in the URL of the call.
package_submit_async
async
Submit Document
One of the SigningHub roles is called "Editor". This allows a recipient to edit input fields on a document, but does not require a signature. Once completed the recipient submits their changes. The button used in the GUI is called "Submit". This is the equivalent operation for an editor to submit their changes via an API call. Click SigningHub Roles for a description of all available workflow recipient roles.
qr_add_qr_code_async
async
qr_add_qr_code_async(input: QrCodeRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Add QR Code
Business applications can use this service API to add a QR Code to a document in a package.
qr_update_qr_code_async
async
qr_update_qr_code_async(input: UpdateQrCodeRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Update QR Code
Business applications can use this service API to update a QR Code of a document in a package.
radio_add_radio_box_async
async
radio_add_radio_box_async(input: RadioBoxFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Add RadioBox Field
Business applications can use this service API to add a checkbox to a document in a package. At least one user must exist in a workflow before fields(input and signature) can be added to the document in this way.The order number corresponds to the recipient in the workflow.Therefore, this number must be equal or less than the total number of users in the workflow. The below example assigns this new signature field to the first person in the workflow. See Add Users to Workflow for more information. Note if you have a document with a template applied, or have applied one using the APIs, then the workflow will already contain users. If width and height parameters are not provided, a default size of 10x10 will be assigned. If either width or height (or both) is provided, the system will compare these provided values with each other. The larger value between width and height will be assigned to both dimensions.
radio_update_radio_box_async
async
radio_update_radio_box_async(input: UpdateRadioBoxFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Update RadioBox Field
Business applications can use this service API to update a radio button of a document in a package. Note all of the input parameters can be changed.Where you wish to retain the current setting submit it in the call unchanged.You can therefore use the same parameters as when you added the input field, or the information as returned by Get Document Fields.The latter can be used when a template was applied or the document was created using the GUI interface. It's width and height cannot be updated. They will remain the same as when they were added.
settings_get_templates_async
async
settings_get_templates_async(record_per_page: int, page_no: int, sort_by: Optional[str] = None, asc: Optional[bool] = None) -> dict[str, Any] | None
Get Templates
Business applications can use this service API to get list of templates for the current user. It is possible to search based upon the criterion supplied under the "x-search-text" header.Furthermore, it is possible to search a user's personal templates or the enterprise templates as allowed against their user role by their enterprise admin.
signature_add_signature_async
async
signature_add_signature_async(input: DigitalSignatureFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Add Digital Signature Field
Business applications can use this service API to add a digital signature field to a document in a package. At least one user must exist in a workflow before fields(input and signature) can be added to the document in this way.The order number corresponds to the recipient in the workflow.Therefore, this number must be equal or less than the total number of users in the workflow. The below example assigns this new signature field to the first person in the workflow. See Add Users to Workflow for more information.Note if you have a document with a template applied, or have applied one using the APIs, then the workflow will already contain users.
signature_update_signature_async
async
signature_update_signature_async(input: UpdateDigitalSignatureFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Update Digital Signature Field
Business applications can use this service API to update a digital signature field of a document in a package. Note all of the input parameters can be changed.Where you wish to retain the current setting submit it in the call unchanged.You can therefore use the same parameters as when you added the input field, or the information as returned by Get Document Fields.The latter can be used when a template was applied or the document was created using the GUI interface.
signing_bulk_sign_documents_async
async
signing_bulk_sign_documents_async(input: BulkSignRequest, package_id_bulk_action: str) -> dict[str, Any] | None
Bulk Sign Packages
Business applications can use this API to sign/share/sign and share multiple documents (both electronic and digital) without displaying the documents to the end user. This API needs information from the business application about document packages and the details of signatures, in-person and initials fields. On the successful completion of bulk signing transaction, the API will return the statuses and transaction ids of the document packages. Unlike the Sign Document API, this API not only signs a document package but also marks it as approved and reviewed based on whether the recipient is a Signer, Editor or Reviewer. Any document package for which the status returns as COMPLETED has been signed, approved or reviewed by this API. Bulk Signing works with all the signing-time authentication methods. If SIGN is passed as bulk_action and package is in Draft state, Sign and Share will be performed automatically. You must call this API after the Pre Bulk Sign Documents API. In case you need to make changes in any of the document before signing, the Fill Form Fields API should be called before calling the Pre Bulk Sign Document API. Remember, any mandatory input fields on a document require completing before this API will successfully complete; whereas, the auto-populated fields (like Name, Email, Date, Job Title, etc.) will be automatically filled. The signatory is identified by the access token presented in the call. Therefore, authentication of the signatory is required prior to making this call. You cannot authenticate as an Enterprise Admin with the scope variable, and sign a document on behalf of a user. The access token must be issued to the signatory as a result of direct authentication. Once document is signed, the verification response can be seen from the Bulk Signing Status API. First or Second Factor OTP Usage for Authentication In case OTP authentication is turned on for the server side signing operation, the client applications will need to generate an OTP for the mobile number using the Bulk Sign Authentication via OTP API call. Respective business applications must retrieve the OTP from the use and submit it when making the API call. This is done using the "x-otp" header in the request.
signing_bulk_sign_status_async
async
signing_bulk_sign_status_async(input: BulkSignStatusRequest, bulk_action: str) -> dict[str, Any] | None
Bulk Signing Status
Business applications can use this API to get the status of a specific bulk signing transaction along with the details of document packages that were processed by the Bulk Signing Packages API. You must call this API after the Bulk Signing Packages API. The signatory is identified by the access token presented in the call. Therefore, authentication of the signatory is required prior to making this call. You cannot authenticate as an Enterprise Admin with the scope variable, and sign a document on behalf of a user. The access token must be issued to the signatory as a result of direct authentication. For RAS signing, the ACTION property will be REMOTE_AUTHORIZATION_REQURIED and the STATUS property will be PENDING, indicating that the request needs to be authorized using the mobile device. If the signing process fails in some document due to different levels of assurance configured and the user wants to re-initiate the signing process to complete the signing process on failed documents, the ACTION property will be REINITIATE_SIGNING_PROCESS, and the STATUS property will be PENDING.
signing_sign_document_async
async
signing_sign_document_async(input: SignDocumentRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Sign Document
Business applications can use this service API to sign a document (both electronic and digital) without displaying the document to the end user using SigningHub. For example, a business application may have another method to display the document to the user, and only the signing functionality of SigningHub is required, or for bulk operations it may be justified to sign without requiring the user to view and approve every document individually. If there are changes to be saved in the document before signing, Fill Form Fields API should be called before calling the Sign Document API. Note any mandatory input fields on a document require completing before this API will successfully complete. The signatory is identified by the access token presented in the call.Therefore, authentication of the signatory is required prior to making this call.You cannot authenticate as an Enterprise Admin with the scope variable, and sign a document on behalf of a user.The access token must be issued to the signatory as a result of direct authentication. When this call completes it is important that if the signatory was the last signer for a document that the Finish Document API call is invoked.The reason is because without calling that API the document will remain in a status of "In Progress" to the document owner. Once the API has been called, the status will change to "Completed" for the document owner. Once document is signed, the verification response can be seen from Get Document Verification API. First or Second Factor OTP Usage for Authentication If OTP authentication is turned on for the server side signing operation, client applications will need to generate a OTP for the mobile number using Signer Authentication via OTP API call. Respective business applications must retrieve the OTP from the use and submit it when making the API call. This is done using the "x-otp" header in the request.
template_get_enterprise_templates_async
async
template_get_enterprise_templates_async(record_per_page: int, page_no: int, sort_by: Optional[str] = None, asc: Optional[bool] = None, id: Optional[List[int]] = None) -> dict[str, Any] | None
Get Enterprise Templates
Business applications can use this service API to get list of enterprise templates of the current user. This means the enterprise administrator or the enterprise user if the "scope" variable was used in the authentication request. It is possible to search based upon the criterion supplied under the "x-search-text" header.
text_box_add_text_box_async
async
text_box_add_text_box_async(input: TextBoxFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Add TextBox Field
Business applications can use this service API to add a text input field to a document in a package. At least one user must exist in a workflow before fields(input and signature) can be added to the document in this way.The order number corresponds to the recipient in the workflow.Therefore, this number must be equal or less than the total number of users in the workflow. The below example assigns this new signature field to the first person in the workflow. See Add Users to Workflow for more information. Note if you have a document with a template applied, or have applied one using the APIs, then the workflow will already contain users.
text_box_update_text_box_async
async
text_box_update_text_box_async(input: UpdateTextBoxFieldRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Update TextBox Field
Business applications can use this service API to update a text box of a document in a package. Note all of the input parameters can be changed.Where you wish to retain the current setting submit it in the call unchanged. You can therefore use the same parameters as when you added the input field, or the information as returned by Get Document Fields. The latter can be used when a template was applied or the document was created using the GUI interface.
workflow_apply_template_async
async
workflow_apply_template_async(input: ApplyTemplateRequest, package_id: int, document_id: int) -> dict[str, Any] | None
Apply Workflow Template
Business applications can use this service API to apply a workflow template to a document. The document ID on which template has to be applied is provided in the resource URL. When document ID is set to 0 then template will be applied to to all of the doucments in a pacakge. While applying the template it is important to remember these two important points: Point 1 - If the template being applied is created using a PDF which already contained form fields then ensure that the document on which this template is now being applied must contain these form fields in advance and SigningHub will NOT create those form fields via the template rather only apply the form data and assign to the respective users. Point 2 - If the template being applied is created where form fields are manually added (hence not present in the PDF originally) via SigningHub e.g. signature field, initial, in-person signature, check boxes, radio buttons, text fields etc. then on applying such a template, these form fields will be created on the target document even if these form fields were already present in the document.
workflow_evidence_report_download_bytes_async
async
Get Process Evidence Report
Business applications can use this service API to download the workflow process evidence report of a document.
workflow_get_workflow_detail_async
async
Get Workflow Details
Business applications can use this service API to get workflow details for the package.
workflow_get_workflow_history_async
async
workflow_get_workflow_history_async(package_id: int, page_no: int, records_per_page: int) -> dict[str, Any] | None
Get Workflow History
Business applications can utilize this service API to retrieve the list of actions performed on a document. The package ID is provided in the resource URL. The search field (x-search-text header) is intended for email, document name, action, infokey, and infovalue.
workflow_get_workflow_reminder_async
async
Get Workflow Reminder
Business applications can use this service API to update the reminders for the recipients that has already been added to a workflow. Normally this call is useful after a template has been applied to a document and business applications want to override the reminders settings within the workflow. The ID of the workflow document is provided in the resource URL, and the workflow recipient is identified by the order at which it is added to the workflow.
workflow_get_workflow_users_async
async
Get Workflow Users
Business applications can use this service API to get workflow details for the package.
workflow_mark_workflow_completed_async
async
Complete Workflow in the Middle (Terminate Workflow)
Business applications can mark the workflow completed even in the middle of the workflow. Use this service API to change the status of the workflow to completed. If there are recipients who have not signed the document yet. Their signature will not be required any more and they will not be able to see the document in their inbox any further. Bearer token should belong to document owner or enterprise admin can use scope variable to get the access token on behalf of document owner to perform this action.
workflow_permission_get_workflow_permissions_async
async
workflow_permission_get_workflow_permissions_async(package_id: int, order: int) -> dict[str, Any] | None
Get Workflow User Permissions
Business applications can use this service API to get document permissions for a recipient. Recipient is identified by the order in the workflow. The ID of the package is provided in the resource URL.
workflow_permission_update_workflow_permissions_async
async
workflow_permission_update_workflow_permissions_async(input: WorkflowPermissionsUpdateRequest, package_id: int, order: int) -> dict[str, Any] | None
Update Workflow User Permissions
Business applications can use this service API to update the workflow permissions for a user that has already been added to a workflow. Normally this call is useful after a template has been applied to a document and business applications want to override the permissions within the workflow. The ID of the document package is provided in the resource URL, and the workflow user is identified by the order at which it is added to the workflow.
workflow_recall_workflow_async
async
Recall Document
Business applications can use this service API to stop a workflow in progress. The document ID is provided in the resource URL. After recall the document status automatically changes to "DRAFT".
workflow_start_workflow_async
async
Share Document Package
Business applications can use this service API to share a document package with the signers and start a new workflow. The document should already have been prepared by applying a template and optionally updating the users and actions defined in template. The package ID to be shared is provided in the resource URL.
workflow_update_workflow_async
async
workflow_update_workflow_async(input: WorkflowDetailUpdateRequest, package_id: int) -> dict[str, Any] | None
Update Workflow Details
Business applications can use this service API to update the workflow details. Normally this call is useful after a template has been applied to a document, but business applications wants to override the certify permission or post processing details. The package ID is provided in the resource URL.
workflow_update_workflow_post_process_async
async
workflow_update_workflow_post_process_async(input: PostProcessUpdateRequest, package_id: int) -> dict[str, Any] | None
Update Post Processing
Business applications can use this service API to add placeholder to a workflow a document in a package.
workflow_update_workflow_reminder_async
async
workflow_update_workflow_reminder_async(input: UpdateReminderRequest, package_id: int, order: int) -> dict[str, Any] | None
Update Workflow Reminders
Business applications can use this service API to update the workflow reminders for a recipient that has already been added to a workflow. Normally this call is useful after a template has been applied to a document and business applications want to override the reminders settings within the workflow. The ID of the workflow document is provided in the resource URL, and the workflow recipient is identified by the order at which it is added to the workflow.
workflow_workflow_add_group_async
async
workflow_workflow_add_group_async(input: WorkflowWorkflowAddGroupInput, package_id: int) -> dict[str, Any] | None
Add Groups to Workflow
Business applications can use this service API to add groups as a recipient to a workflow. A SigningHub group means any member of the group can perform the action, i.e. sign, on behalf of all members of the group. Note the group will be added as the last user/group in the workflow.Hence further work may be required to remove a current user/group, already present in the workflow. While XML type document preparation, only supported role types are "SIGNER", "REVIEWER" and "CARBON_COPY"
workflow_workflow_add_placeholder_async
async
workflow_workflow_add_placeholder_async(input: WorkflowWorkflowAddPlaceholderInput, package_id: int) -> dict[str, Any] | None
Add Placeholder to Workflow
Business applications can use this service API to add placeholder to a workflow in a package. A place holder is required when you do not know the identity of the intended recipient in a workflow. Note the placeholder will be added as the last user in the workflow.Hence further work may be required to remove a current user/group, already present in the workflow. Adding a place holder allows you to proceed and add signature and/or input fields to the document, which can then be assigned to individual users at a later stage. While XML type document preparation, only supported role types are "SIGNER", "REVIEWER" and "CARBON_COPY"
workflow_workflow_add_user_async
async
workflow_workflow_add_user_async(input: WorkflowWorkflowAddUserInput, package_id: int) -> dict[str, Any] | None
Add Users to Workflow
Business applications can use this service API to add recipients to a workflow. This call will only add a recipient to the workflow. That is, no fields currently on the document will be automatically assigned to the new recipient(s), nor will this create any new fields. Note the recipient(s) will be added as the last person in the workflow.Hence further work may be required to remove a current recipient(s) already present in the workflow. At least one user must exist in a workflow before fields (input and signature) can be added to the document. Note the input accepts one or more users in a single call. In this specific call the user is a known natural person. However, the same rules apply to Groups and Placeholders. In either of these cases the recipient becomes a Group of users whereby any member of the group can sign the document, or a Placeholder.The latter case is used when you do not know the identity of the intended signatory. Note SigningHub workflow signing order starts at "1". Hence, adding a user to workflow with no current recipient(s) begins a new signing order count.The "signing_order" parameter is mandatory if the workflow type is "custom". Important, using this API call may affect the workflow type.If there are current recipients in a sequential workflow and a new one is added with the same signing order as a current recipient, then that part of the workflow changes automatically from sequential to parallel.Hence, the workflow overall is now of type custom as opposed to purely sequential. Adding a recipient with the same signing order as two or parallel recipients does not change the workflow.There are merely, three or more recipients at that particular point of the workflow; all in parallel order. Note, while XML type document preparation, only supported role types are "SIGNER", "REVIEWER" and "CARBON_COPY"
workflow_workflow_delete_user_async
async
Delete Workflow User
Business applications can use this service API to delete workflow recipient.
workflow_workflow_update_placeholder_async
async
workflow_workflow_update_placeholder_async(input: WorkflowPlaceholderUpdateRequest, package_id: int, order: int) -> dict[str, Any] | None
Update Placeholder
Business applications can use this service API to update a placeholder in the workflow. Normally this call is useful after a template has been applied to a document and business applications wants to override the details of a specific place holder within the workflow. The ID of the workflow document is provided in the resource URL, and the workflow place holder is identified by the order at which it is added to the workflow. While XML type document preparation, only supported role types are "SIGNER", "REVIEWER" and "CARBON_COPY"
workflow_workflow_user_update_async
async
workflow_workflow_user_update_async(input: WorkflowUserUpdateRequest, package_id: int, order: int) -> dict[str, Any] | None
Update Workflow User
Business applications can use this service API to update the details of a recipient, group or place holder who has already been added to a workflow. Normally this call is useful after a template has been applied to a document and business applications wants to override the details of a specific user within the workflow. The ID of the workflow document is provided in the resource URL, and the workflow recipient is identified by the order at which it is added to the workflow. Note, while XML type document preparation, only supports role types "SIGNER", "REVIEWER" and "CARBON_COPY".
workflow_workflow_user_update_order_async
async
workflow_workflow_user_update_order_async(input: WorkflowUserReorderRequest, package_id: int, order: int) -> dict[str, Any] | None
Update Workflow Users Order
Business applications can use this service API to update order of the recipient in the workflow.
work_space_delete_shared_space_async
async
Delete Shared Space
Business applications can use this service API to delete shared space. The availability of deleting shared spaces is subject to the assigned enterprise user role. To allow this provision Enterprise Admin will enable the 'Manage Shared Space' option in Roles>Document Settings.
work_space_get_shared_space_async
async
Get Shared Space
Business applications can use this service API to get a specific shared space. This API returns information about shared space, its owner and collaborator.
work_space_update_shared_space_async
async
work_space_update_shared_space_async(input: UpdateWorkSpaceRequest, id: int) -> dict[str, Any] | None
Update Shared Space
Business applications can use this service API to update shared space. The availability of updating shared spaces is subject to the assigned enterprise user role. To allow this provision Enterprise Admin will enable the 'Manage Shared Space' option in Roles>Document Settings.