Skip to content

SigninghubClient

Attributes

FieldsAutoAssignFieldInput module-attribute

FieldsAutoAssignFieldInput = List['AssignFieldRequest | Mapping[str, Any]']

WorkflowWorkflowAddGroupInput module-attribute

WorkflowWorkflowAddGroupInput = List['WorflowGroupRequest | Mapping[str, Any]']

WorkflowWorkflowAddPlaceholderInput module-attribute

WorkflowWorkflowAddPlaceholderInput = List['PlaceholderRequest | Mapping[str, Any]']

WorkflowWorkflowAddUserInput module-attribute

WorkflowWorkflowAddUserInput = List['WorflowUserRequest | Mapping[str, Any]']

ECCLevelAPI module-attribute

ECCLevelAPI = Literal['L', 'M', 'Q', 'H', 'Default']

EciModeAPI module-attribute

EciModeAPI = Literal['Default', 'Iso8859_1', 'Iso8859_2', 'Utf8']

ValidationRule module-attribute

ValidationRule = Literal['OPTIONAL', 'MANDATORY']

TextboxType module-attribute

TextboxType = Literal['TEXT', 'NAME', 'EMAIL', 'COMPANY', 'JOBTITLE', 'DATE']

FieldType module-attribute

FieldType = Literal['Number', 'Text']

DeliveryMethod module-attribute

DeliveryMethod = Literal['EMAIL', 'SMS', 'EMAIL_AND_SMS']

WorkflowType module-attribute

WorkflowType = Literal['SERIAL', 'INDIVIDUAL', 'PARALLEL', 'CUSTOM']

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']

DocumentType module-attribute

DocumentType = Literal['ALL', 'PDF', 'DOCX', 'XML']

DocumentOwnedBy module-attribute

DocumentOwnedBy = Literal['ME_OTHERS', 'ME', 'OTHERS']

TemplateSortBy module-attribute

TemplateSortBy = Literal['CREATED_ON', 'NAME', 'DESCRIPTION', 'READ_ONLY', 'IS_PUBLIC']

WorkflowModes module-attribute

WorkflowModes = Literal['ME_AND_OTHERS', 'ONLY_OTHERS', 'ONLY_ME']

CollaboratorRole module-attribute

CollaboratorRole = Literal['SIGNER', 'REVIEWER', 'EDITOR', 'INPERSON_HOST', 'CARBON_COPY', 'ELECTRONIC_SEAL']

WorkflowMode module-attribute

WorkflowMode = Literal['ME_AND_OTHERS', 'ONLY_OTHERS', 'ONLY_ME']

FolderItemSortBy module-attribute

FolderItemSortBy = Literal['TITLE', 'WORKFLOW_TYPE', 'DATE_CREATED', 'LAST_MODIFIED', 'OWNER', 'LOCATION', 'STATUS']

HandSignature module-attribute

HandSignature = Literal[0, 1, 2, 3, 4]

ApiBulkSignAction module-attribute

ApiBulkSignAction = Literal['SHARE', 'SIGN']

ContactSortBy module-attribute

ContactSortBy = Literal['CREATEDON', 'NAME', 'EMAIL']

WorkflowCollaboratorRole module-attribute

WorkflowCollaboratorRole = Literal['SIGNER', 'REVIEWER', 'EDITOR', 'INPERSON_HOST', 'CARBON_COPY']

Classes

EmptyResponse dataclass

EmptyResponse(*, additional_properties: Dict[str, Any] = dict())

Response for Delete Attachment

Attributes

additional_properties class-attribute instance-attribute
additional_properties: Dict[str, Any] = dataclass_field(default_factory=dict, kw_only=True)

Dynamic properties determined at runtime (similar to .NET [JsonExtensionData])

AttachmentDownloadAttachmentResponse dataclass

AttachmentDownloadAttachmentResponse(*, additional_properties: Dict[str, Any] = dict())

Response for Download Attachment

Attributes

additional_properties class-attribute instance-attribute
additional_properties: Dict[str, Any] = dataclass_field(default_factory=dict, kw_only=True)

Dynamic properties determined at runtime (similar to .NET [JsonExtensionData])

GetAttachmentResponse dataclass

GetAttachmentResponse(attachment_id: int, *, attachment_name: Optional[str] = None)

Response for Get Attachments

Attributes

attachment_id instance-attribute
attachment_id: int

Attachment id

attachment_name class-attribute instance-attribute
attachment_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Attachment name

AddAttachmentResponse dataclass

AddAttachmentResponse(attachment_id: int)

Response for Upload Attachment

Attributes

attachment_id instance-attribute
attachment_id: int

Attachment id

AddFieldResponse dataclass

AddFieldResponse(*, field_name: Optional[str] = None, created_on: Optional[str] = None)

Response for Add CheckBox Field

Attributes

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the field created in the document.

created_on class-attribute instance-attribute
created_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time of field creation.

ContactResponse dataclass

ContactResponse(id: int, enterprise: bool, *, user_name: Optional[str] = None, user_email: Optional[str] = None, mobile_number: Optional[str] = None, user_national_id: Optional[str] = None, created_on: Optional[str] = None)

Response for Get Contacts

Attributes

id instance-attribute
id: int

id of the contact.

user_name class-attribute instance-attribute
user_name: Optional[str] = dataclass_field(default=None, kw_only=True)

User name of the contact.

user_email class-attribute instance-attribute
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the contact.

mobile_number class-attribute instance-attribute
mobile_number: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile number of the contact.

enterprise instance-attribute
enterprise: bool

True, if contact is enterprise.

user_national_id class-attribute instance-attribute
user_national_id: Optional[str] = dataclass_field(default=None, kw_only=True)

National identity number of the contact

created_on class-attribute instance-attribute
created_on: Optional[str] = dataclass_field(default=None, kw_only=True)

DateTime when contact is added.

DocumentResponse dataclass

DocumentResponse(*, package_name: Optional[str] = None)

Response for Delete Document

Attributes

package_name class-attribute instance-attribute
package_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Document Package name

DocumentsDownloadDocumentBytesResponse dataclass

DocumentsDownloadDocumentBytesResponse(*, additional_properties: Dict[str, Any] = dict())

Response for Download Document

Attributes

additional_properties class-attribute instance-attribute
additional_properties: Dict[str, Any] = dataclass_field(default_factory=dict, kw_only=True)

Dynamic properties determined at runtime (similar to .NET [JsonExtensionData])

CertifyPolicyResponse dataclass

CertifyPolicyResponse(lock_form_fields: bool, *, certify: Optional[CertifyPermissionResponse | Mapping[str, Any]] = None)

Response for Get Certify Policy for a document

Attributes

lock_form_fields instance-attribute
lock_form_fields: bool

True if forms fields are to be locked in the PDF after the last digital signature on the current document.

DocumentDetailsResponse dataclass

DocumentDetailsResponse(document_id: int, document_order: int, document_width: int, document_height: int, document_pages: int, form_fields: bool, lock_form_fields: bool, *, document_name: Optional[str] = None, document_type: Optional[str] = None, document_source: Optional[str] = None, uploaded_on: Optional[str] = None, modified_on: Optional[str] = None, certify: Optional[DocumentCertifyResponse | Mapping[str, Any]] = None, template: Optional[DocumentTemplateResponse | Mapping[str, Any]] = None)

Response for Get Document Details

Attributes

document_id instance-attribute
document_id: int

ID of the newly created document.

document_name class-attribute instance-attribute
document_name: Optional[str] = dataclass_field(default=None, kw_only=True)

The name of the document.

document_type class-attribute instance-attribute
document_type: Optional[str] = dataclass_field(default=None, kw_only=True)

Type of the document e.g. "PDF".

document_width instance-attribute
document_width: int

Width of the document in PDF format.

document_height instance-attribute
document_height: int

Height of the document in PDF format.

document_source class-attribute instance-attribute
document_source: Optional[str] = dataclass_field(default=None, kw_only=True)

Identifies where the document was uploaded e.g. "My App".

document_pages instance-attribute
document_pages: int

Total pages of the document.

form_fields instance-attribute
form_fields: bool

True if document has form fields.

lock_form_fields instance-attribute
lock_form_fields: bool

True if locking of form fields with the last signature is enabled.

uploaded_on class-attribute instance-attribute
uploaded_on: Optional[str] = dataclass_field(default=None, kw_only=True)

The date and time when the document was uploaded.

modified_on class-attribute instance-attribute
modified_on: Optional[str] = dataclass_field(default=None, kw_only=True)

The date and time when the document was last modified.

UploadDocumentLibraryResponse dataclass

UploadDocumentLibraryResponse(document_id: int, document_size: int, document_order: int, document_width: int, document_height: int, document_pages: int, uploaded_on: str, modified_on: str, form_fields: bool, lock_form_fields: bool, *, document_name: Optional[str] = None, document_type: Optional[str] = None, document_source: Optional[str] = None, certify: Optional[UploadDocumentLibraryCertifyResponse | Mapping[str, Any]] = None, template: Optional[UploadDocumentLibraryTemplateResponse | Mapping[str, Any]] = None, package_name: Optional[str] = None, metadata: Optional[UploadDocumentMetaInfoDetail | Mapping[str, Any]] = None)

Response for Add or Update Document from Library

Attributes

document_id instance-attribute
document_id: int

ID of the newly created document.

document_name class-attribute instance-attribute
document_name: Optional[str] = dataclass_field(default=None, kw_only=True)

The name of the document.

document_size instance-attribute
document_size: int

Uploaded document size in bytes

document_order instance-attribute
document_order: int

Order of the document

document_type class-attribute instance-attribute
document_type: Optional[str] = dataclass_field(default=None, kw_only=True)

Type of the document e.g. "PDF".

document_source class-attribute instance-attribute
document_source: Optional[str] = dataclass_field(default=None, kw_only=True)

Identifies where the document was uploaded e.g. "My App".

document_width instance-attribute
document_width: int

Width of the document in PDF format.

document_height instance-attribute
document_height: int

Height of the document in PDF format.

document_pages instance-attribute
document_pages: int

Total pages of the document.

uploaded_on instance-attribute
uploaded_on: str

The date and time when the document was uploaded.

modified_on instance-attribute
modified_on: str

The date and time when the document was last modified.

form_fields instance-attribute
form_fields: bool

True if document has form fields.

lock_form_fields instance-attribute
lock_form_fields: bool

True if locking of form fields with the last signature is enabled.

package_name class-attribute instance-attribute
package_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Package name

UploadDocument dataclass

UploadDocument(document_id_2: int, documentid: int, document_id: int, document_order: int, document_width: int, document_height: int, document_pages: int, uploaded_on: str, modified_on: str, lock_form_fields: bool, document_size: int, *, document_name: Optional[str] = None, document_type: Optional[str] = None, document_source: Optional[str] = None, certify: Optional[CertifyPermissionResponse | Mapping[str, Any]] = None, metadata: Optional[UploadDocumentMetaInfoDetail | Mapping[str, Any]] = None, package_name: Optional[str] = None)

Response for Upload Document

Attributes

document_id_2 class-attribute instance-attribute
document_id_2: int = dataclass_field(metadata={'wire_name': 'documentId'})

This property is retained for backward compatibility and will be removed in later versions. Use document_id instead.

documentid instance-attribute
documentid: int

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 instance-attribute
document_id: int

The document ID to be used later to share, download and get status of the document.

document_name class-attribute instance-attribute
document_name: Optional[str] = dataclass_field(default=None, kw_only=True)

The name of the document.

document_order instance-attribute
document_order: int

Document order in package

document_type class-attribute instance-attribute
document_type: Optional[str] = dataclass_field(default=None, kw_only=True)

Type of the document e.g. "PDF".

document_source class-attribute instance-attribute
document_source: Optional[str] = dataclass_field(default=None, kw_only=True)

Identifies where the document was uploaded e.g. "My App".

document_width instance-attribute
document_width: int

Width of the document in PDF format.

document_height instance-attribute
document_height: int

Height of the document in PDF format.

document_pages instance-attribute
document_pages: int

Total pages of the document.

uploaded_on instance-attribute
uploaded_on: str

The date and time when the document was uploaded.

modified_on instance-attribute
modified_on: str

The date and time when the document was last modified.

lock_form_fields instance-attribute
lock_form_fields: bool

True if locking of form fields with the last signature is enabled.

document_size instance-attribute
document_size: int

Uploaded document size in bytes

package_name class-attribute instance-attribute
package_name: Optional[str] = dataclass_field(default=None, kw_only=True)

The document package name

EnterpriseAccessResponse dataclass

EnterpriseAccessResponse(*, authentication: Optional[EnterpriseAuthenticationResponse | Mapping[str, Any]] = None, authentication_signing: Optional[EnterpriseAuthenticationSigningResponse | Mapping[str, Any]] = None, access_duration: Optional[PermissionAccessDurationResponse | Mapping[str, Any]] = None)

Response for Get Workflow User Authentication (Document Opening) of Enterprise Package

AutoPlaceFieldsResponse dataclass

AutoPlaceFieldsResponse(*, field_name: Optional[str] = None)

Response for AutoPlace Fields

Attributes

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the field that was auto generated by the API.

FieldsResponse dataclass

FieldsResponse(*, signature: Optional[List[DigitalSignatureFieldResponse | Mapping[str, Any]]] = None, hand_signature: Optional[List[HandSignatureFieldResponse | Mapping[str, Any]]] = None, electronic_signature: Optional[List[ElectronicSignatureFieldResponse | Mapping[str, Any]]] = None, initials: Optional[List[InitialFieldResponse | Mapping[str, Any]]] = None, in_person_signature: Optional[List[Dict[str, Any]]] = None, text: Optional[List[TextFieldResponse | Mapping[str, Any]]] = None, radio: Optional[List[RadioFieldResponse | Mapping[str, Any]]] = None, checkbox: Optional[List[CheckboxFieldResponse | Mapping[str, Any]]] = None, dropdown: Optional[List[DropdownFieldResponse | Mapping[str, Any]]] = None, listbox: Optional[List[ListBoxFieldResponse | Mapping[str, Any]]] = None, qrcode: Optional[List[QrCodeResponse | Mapping[str, Any]]] = None, attachment: Optional[List[AttachmentFieldResponse | Mapping[str, Any]]] = None, comment: Optional[List[CommentFieldResponse | Mapping[str, Any]]] = None, unique_identifier: Optional[List[UniqueIdentifierFieldResponse | Mapping[str, Any]]] = None)

Response for Get Document Fields

Attributes

signature class-attribute instance-attribute
signature: Optional[List[DigitalSignatureFieldResponse | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

A list of all digital signatures in the document.

AddPackageResponse dataclass

AddPackageResponse(package_id: int, *, workflow_mode: Optional[str] = None, workflow_type: Optional[str] = None)

Response for Add Package

Attributes

package_id instance-attribute
package_id: int

The package ID to be used later to share, download and get status of the document.

workflow_mode class-attribute instance-attribute
workflow_mode: Optional[str] = dataclass_field(default=None, kw_only=True)

The workflow mode that is set while adding package.

workflow_type class-attribute instance-attribute
workflow_type: Optional[str] = dataclass_field(default=None, kw_only=True)

Type of the workflow. Possible values are "SERIAL", "PARALLEL", "INDIVIDUAL" and "CUSTOM".

PackageDownloadPackageBytesResponse dataclass

PackageDownloadPackageBytesResponse(*, additional_properties: Dict[str, Any] = dict())

Response for Download Package

Attributes

additional_properties class-attribute instance-attribute
additional_properties: Dict[str, Any] = dataclass_field(default_factory=dict, kw_only=True)

Dynamic properties determined at runtime (similar to .NET [JsonExtensionData])

GetPackagesResponse dataclass

GetPackagesResponse(package_id: int, shared_package: bool, gatekeeper_package: bool, folder_id: int, unread: bool, size: int, *, package_name: Optional[str] = None, package_owner: Optional[str] = None, owner_name: Optional[str] = None, package_status: Optional[str] = None, extension: Optional[str] = None, workflow_mode: Optional[str] = None, folder: Optional[str] = None, next_signer: Optional[str] = None, next_signer_email: Optional[List[NextSignerEmail | Mapping[str, Any]]] = None, uploaded_on: Optional[str] = None, modified_on: Optional[str] = None, access_duration: Optional[RecipientAccessDurationDetails | Mapping[str, Any]] = None, decline: Optional[RecipientDeclineDetails | Mapping[str, Any]] = None)

Response for Get Packages

Attributes

package_id instance-attribute
package_id: int

Package ID of the document package.

package_name class-attribute instance-attribute
package_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the document package.

package_owner class-attribute instance-attribute
package_owner: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the document package owner.

owner_name class-attribute instance-attribute
owner_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the document package owner.

shared_package instance-attribute
shared_package: bool

Shared Package

gatekeeper_package instance-attribute
gatekeeper_package: bool

Gatekeeper Package

package_status class-attribute instance-attribute
package_status: Optional[str] = dataclass_field(default=None, kw_only=True)

Document status for the current logged in user. Possible values are "DRAFT", "INPROGRESS", "PENDING", "DECLINED", or "COMPLETED".

extension class-attribute instance-attribute
extension: Optional[str] = dataclass_field(default=None, kw_only=True)

Document Package extension

workflow_mode class-attribute instance-attribute
workflow_mode: Optional[str] = dataclass_field(default=None, kw_only=True)

Workflow Mode

folder class-attribute instance-attribute
folder: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the folder which contains the document package.

folder_id instance-attribute
folder_id: int

Id of the folder which contains the document package.

unread instance-attribute
unread: bool

True, if the document is not read by the recipient yet.

next_signer class-attribute instance-attribute
next_signer: Optional[str] = dataclass_field(default=None, kw_only=True)

The name of the next signer if the document is in shared state.

next_signer_email class-attribute instance-attribute
next_signer_email: Optional[List[NextSignerEmail | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

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
uploaded_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time when the document was uploaded.

modified_on class-attribute instance-attribute
modified_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time when the document was last modified.

size instance-attribute
size: int

Size of the document in bytes.

GetPackageDetailsResponse dataclass

GetPackageDetailsResponse(read_only: bool, *, name: Optional[str] = None, owner: Optional[DocumentOwner | Mapping[str, Any]] = None, document_status: Optional[str] = None, documents: Optional[List[DocumentDetails | Mapping[str, Any]]] = None)

Response for Get Package Details

Attributes

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the document package.

read_only instance-attribute
read_only: bool

True if the applied template is read only. User will not be able to make any changes if a read only template is applied.

document_status class-attribute instance-attribute
document_status: Optional[str] = dataclass_field(default=None, kw_only=True)

Document status for the current logged in user. Possible values are "DRAFT", "INPROGRESS", "PENDING", "DECLINED", or "COMPLETED".

AddQrCodeResponse dataclass

AddQrCodeResponse(data: str, field_name: str, value: str)

Response for Add QR Code

Attributes

data instance-attribute
data: str

QR Code generated data

field_name instance-attribute
field_name: str

Name of the field created in the document.

value instance-attribute
value: str

Value will be the base64 of QrCode image

UpdateQrCodeResponse dataclass

UpdateQrCodeResponse(value: str)

Response for Update QR Code

Attributes

value instance-attribute
value: str

Value will be the base64 of QrCode image

TemplateResponse dataclass

TemplateResponse(template_id: int, template_public: bool, read_only: bool, enterprise: bool, *, template_name: Optional[str] = None, created_on: Optional[str] = None, description: Optional[str] = None, documents: Optional[List[TemplateDocumentResponse | Mapping[str, Any]]] = None, smart_form: Optional[TemplateSmartFormResponse | Mapping[str, Any]] = None)

Response for Get Templates

Attributes

template_id instance-attribute
template_id: int

Id of the template is returned here

template_name class-attribute instance-attribute
template_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the template.

template_public instance-attribute
template_public: bool

Response is "true" if enterprise template is marked as public. Otherwise "false" would be returned

read_only instance-attribute
read_only: bool

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
created_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time when the template was created

description class-attribute instance-attribute
description: Optional[str] = dataclass_field(default=None, kw_only=True)

Description of the template

enterprise instance-attribute
enterprise: bool

True, if user belong to an enterprise.

SignatureFieldResponse dataclass

SignatureFieldResponse(*, field_name: Optional[str] = None, created_on: Optional[str] = None)

Response for Add Digital Signature Field

Attributes

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the field created in the document.

created_on class-attribute instance-attribute
created_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time of field creation.

BulkSignResponse dataclass

BulkSignResponse(*, status: Optional[str] = None, transaction_id: Optional[str] = None)

Response for Bulk Sign Packages

BulkSignStatusResponse dataclass

BulkSignStatusResponse(*, status: Optional[str] = None, packages: Optional[List[BulkSignPackagesStatus | Mapping[str, Any]]] = 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 | Mapping[str, Any]] = None, authentication_access_token: Optional[str] = None)

Response for Sign Document

Attributes

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the field for which the verification was requested.

status class-attribute instance-attribute
status: Optional[str] = dataclass_field(default=None, kw_only=True)

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
transaction_id: Optional[str] = dataclass_field(default=None, kw_only=True)

This parameter is used while RAS signing

authentication_access_token class-attribute instance-attribute
authentication_access_token: Optional[str] = dataclass_field(default=None, kw_only=True)

It will contain the OIDC id_token when user is authenticated via OIDC

EnterpriseTemplateResponse dataclass

EnterpriseTemplateResponse(id: int, public: bool, read_only: bool, *, name: Optional[str] = None, description: Optional[str] = None, created_on: Optional[str] = None, roles: Optional[List[EnterpriseTemplateRole | Mapping[str, Any]]] = None, documents: Optional[List[TemplateDocumentResponse | Mapping[str, Any]]] = None)

Response for Get Enterprise Templates

Attributes

id instance-attribute
id: int

Id of the template

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the template.

public instance-attribute
public: bool

Response is "true" if enterprise template is marked as public. Otherwise "false" would be returned

read_only instance-attribute
read_only: bool

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Description of the template

created_on class-attribute instance-attribute
created_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time when the template was created

WorkflowEvidenceReportDownloadBytesResponse dataclass

WorkflowEvidenceReportDownloadBytesResponse(*, additional_properties: Dict[str, Any] = dict())

Response for Get Process Evidence Report

Attributes

additional_properties class-attribute instance-attribute
additional_properties: Dict[str, Any] = dataclass_field(default_factory=dict, kw_only=True)

Dynamic properties determined at runtime (similar to .NET [JsonExtensionData])

WorkflowDetailsResponse dataclass

WorkflowDetailsResponse(package_id: int, shared_package: bool, folder_id: int, gatekeeper: bool, *, package_name: Optional[str] = None, package_owner: Optional[str] = None, owner_name: Optional[str] = None, package_status: Optional[str] = None, folder: Optional[str] = None, next_signer: Optional[str] = None, next_signer_email: Optional[List[NextSignerEmail | Mapping[str, Any]]] = None, uploaded_on: Optional[str] = None, modified_on: Optional[str] = None, workflow: Optional[WorkflowResponse | Mapping[str, Any]] = None, documents: Optional[List[WorkflowDocumentsResponse | Mapping[str, Any]]] = None, users: Optional[List[WorkflowUserResponse | Mapping[str, Any]]] = None)

Response for Get Workflow Details

Attributes

package_id instance-attribute
package_id: int

Package ID of the document package.

package_name class-attribute instance-attribute
package_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the document package.

shared_package instance-attribute
shared_package: bool

shared package

package_owner class-attribute instance-attribute
package_owner: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the document package owner.

owner_name class-attribute instance-attribute
owner_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the document package owner.

package_status class-attribute instance-attribute
package_status: Optional[str] = dataclass_field(default=None, kw_only=True)

Document status for the current logged in user. Possible values are "DRAFT", "INPROGRESS", "PENDING", "DECLINED", "APPROVED", "UPDATED" or "COMPLETED".

folder class-attribute instance-attribute
folder: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the folder which contains the document package.

folder_id instance-attribute
folder_id: int

ID of the folder which contains the document package.

next_signer class-attribute instance-attribute
next_signer: Optional[str] = dataclass_field(default=None, kw_only=True)

The name of the next signer if the document is in shared state.

next_signer_email class-attribute instance-attribute
next_signer_email: Optional[List[NextSignerEmail | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

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
uploaded_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time when the document was uploaded.

modified_on class-attribute instance-attribute
modified_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time when the document was last modified.

documents class-attribute instance-attribute
documents: Optional[List[WorkflowDocumentsResponse | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

List of documents that are uploaded in the package.

users class-attribute instance-attribute
users: Optional[List[WorkflowUserResponse | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

Recipients list for the workflow.

WorkflowHistoryResponse dataclass

WorkflowHistoryResponse(package_id: int, *, 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 | Mapping[str, Any]]] = None, documents: Optional[List[WorkflowDocumentsResponse | Mapping[str, Any]]] = None, actions: Optional[List[DocumentLogsActions | Mapping[str, Any]]] = None)

Response for Get Workflow History

Attributes

package_id instance-attribute
package_id: int

ID of the package for which the workflow history is requested.

package_owner class-attribute instance-attribute
package_owner: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the package owner.

owner_name class-attribute instance-attribute
owner_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the package owner.

package_status class-attribute instance-attribute
package_status: Optional[str] = dataclass_field(default=None, kw_only=True)

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
next_signer: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the next recipient.

next_signer_email class-attribute instance-attribute
next_signer_email: Optional[List[NextSignerEmail | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

Object having name and email address of the next recipient.

ReminderResponse dataclass

ReminderResponse(enabled: bool, remind_after: int, *, frequency: Optional[str] = None, repeat: Optional[ReminderRepeat | Mapping[str, Any]] = None)

Response for Get Workflow Reminder

Attributes

enabled instance-attribute
enabled: bool

True, if reminders are enabled for the recipient

frequency class-attribute instance-attribute
frequency: Optional[str] = dataclass_field(default=None, kw_only=True)

Reminder Frequency. Possible Values are DAYS | HOURS.

remind_after instance-attribute
remind_after: int

The number of days after which the first reminder would be sent to workflow user.

WorkflowRecipient dataclass

WorkflowRecipient(order: int, signing_order: int, guest_user: bool, *, 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 | Mapping[str, Any]]] = 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, user_national_id: Optional[str] = None, email_language_code: Optional[str] = None, electronic_seal: Optional[ElectronicSealRecipient | Mapping[str, Any]] = None, gatekeepers: Optional[WorkflowGatekeeperResponse | Mapping[str, Any]] = None)

Response for Get Workflow Users

Attributes

order instance-attribute
order: int

Order of the recipient in the workflow.

user_email class-attribute instance-attribute
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the recipient if user is not a group.

user_name class-attribute instance-attribute
user_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the recipient if user is not a group.

mobile_number class-attribute instance-attribute
mobile_number: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile number

delivery_method class-attribute instance-attribute
delivery_method: Optional[str] = dataclass_field(default=None, kw_only=True)

Delivery method of recipient Possible values: EMAIL, SMS, or EMAIL_AND_SMS

user_photo_url class-attribute instance-attribute
user_photo_url: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Group name of the recipient if recipient is a group.

group_members class-attribute instance-attribute
group_members: Optional[List[GroupMemberResponse | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

A list of email addresses of the group members if recipient is a group.

delegatee class-attribute instance-attribute
delegatee: Optional[str] = dataclass_field(default=None, kw_only=True)

Delegatee email address, if recipient is not a group.

delegatee_name class-attribute instance-attribute
delegatee_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the delegatee user, if recipient is not a group.

role class-attribute instance-attribute
role: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Reason provided by the user when declining, approving or submitting a document.

process_status class-attribute instance-attribute
process_status: Optional[str] = dataclass_field(default=None, kw_only=True)

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
processed_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time on which the document was processed.

processed_as class-attribute instance-attribute
processed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

User may processed the field as COLLABORATOR , DELEGATOR, GROUP_MEMBER or OWNER.

processed_by class-attribute instance-attribute
processed_by: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the user who processed the document.

placeholder class-attribute instance-attribute
placeholder: Optional[str] = dataclass_field(default=None, kw_only=True)

Placeholder text if the recipient is a placeholder

signing_order instance-attribute
signing_order: int

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
user_national_id: Optional[str] = dataclass_field(default=None, kw_only=True)

National identity number of the user. This helps to identify user in the workflow

guest_user instance-attribute
guest_user: bool

Gest user

email_language_code class-attribute instance-attribute
email_language_code: Optional[str] = dataclass_field(default=None, kw_only=True)

email language code

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 | Mapping[str, Any]] = None, attachment: Optional[AttachmentPermissionResponse | Mapping[str, Any]] = None)

Response for Get Workflow User Permissions

Attributes

print class-attribute instance-attribute
print: Optional[bool] = dataclass_field(default=None, kw_only=True)

True, if printing is allowed for this recipient.

download class-attribute instance-attribute
download: Optional[bool] = dataclass_field(default=None, kw_only=True)

True, if download is allowed.

add_text class-attribute instance-attribute
add_text: Optional[bool] = dataclass_field(default=None, kw_only=True)

True, if add text annotation on the document is allowed.

change_recipients class-attribute instance-attribute
change_recipients: Optional[bool] = dataclass_field(default=None, kw_only=True)

True, if the recipient on the current order can change other recipients in the workflow after workflow is shared.

add_attachment class-attribute instance-attribute
add_attachment: Optional[bool] = dataclass_field(default=None, kw_only=True)

True, if attachments and merging of PDF documents is allowed.

StartWorkflowResponse dataclass

StartWorkflowResponse(package_id: int, *, documents: Optional[List[int]] = None)

Response for Share Document Package

Attributes

package_id instance-attribute
package_id: int

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.

documents class-attribute instance-attribute
documents: Optional[List[int]] = dataclass_field(default=None, kw_only=True)

Array of document IDs which were part of the package before sharing.

CollaboratorGroupResponse dataclass

CollaboratorGroupResponse(signing_order: int, *, permission: Optional[WorkflowPermissionResponse | Mapping[str, Any]] = None, reminder: Optional[ReminderResponse | Mapping[str, Any]] = None)

Response for Add Groups to Workflow

Attributes

signing_order instance-attribute
signing_order: int

Signing order

CollaboratorPlaceholderResponse dataclass

CollaboratorPlaceholderResponse(signing_order: int, *, permission: Optional[WorkflowPermissionResponse | Mapping[str, Any]] = None, reminder: Optional[ReminderResponse | Mapping[str, Any]] = None)

Response for Add Placeholder to Workflow

Attributes

signing_order instance-attribute
signing_order: int

Signing order

CollaboratorResponse dataclass

CollaboratorResponse(signing_order: int, guest_user: bool, *, user_email: Optional[str] = None, email_language_code: Optional[str] = None, permission: Optional[WorkflowPermissionResponse | Mapping[str, Any]] = None, reminder: Optional[ReminderResponse | Mapping[str, Any]] = None)

Response for Add Users to Workflow

Attributes

user_email class-attribute instance-attribute
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

User email

signing_order instance-attribute
signing_order: int

Signing order

guest_user instance-attribute
guest_user: bool

Is guest user

email_language_code class-attribute instance-attribute
email_language_code: Optional[str] = dataclass_field(default=None, kw_only=True)

Email language code

UpdateCollaboratorResponse dataclass

UpdateCollaboratorResponse(signing_order: int, guest_user: bool, *, user_email: Optional[str] = None, email_language_code: Optional[str] = None)

Response for Update Workflow User

Attributes

user_email class-attribute instance-attribute
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

User email

signing_order instance-attribute
signing_order: int

Signing order

guest_user instance-attribute
guest_user: bool

Is guest user

email_language_code class-attribute instance-attribute
email_language_code: Optional[str] = dataclass_field(default=None, kw_only=True)

Email language code

WorkSpaceResponse dataclass

WorkSpaceResponse(id: int, name: str, owner: WorkSpaceOwner | Mapping[str, Any], members: List[WorkSpaceMembers | Mapping[str, Any]])

Response for Get Shared Space

Attributes

id instance-attribute
id: int

Id of shared space

name instance-attribute
name: str

Name of shared space

members instance-attribute
members: List[WorkSpaceMembers | Mapping[str, Any]]

Members of shared space

ErrorWithDescriptionResponse dataclass

ErrorWithDescriptionResponse(*, error: Optional[str] = None, error_description: Optional[str] = None)

Definition: ErrorWithDescriptionResponse

Attributes

error class-attribute instance-attribute
error: Optional[str] = dataclass_field(default=None, kw_only=True)

Error key to identify the error in programming and applications can respond based on the different error keys.

error_description class-attribute instance-attribute
error_description: Optional[str] = dataclass_field(default=None, kw_only=True)

Error message against the error key returned. Client applications can present this error as it is or send their own error message.

Response dataclass

Response(*, message: Optional[str] = None)

Definition: Response

Attributes

message class-attribute instance-attribute
message: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Message'})

The service-specific error message returned by the API. This message provides useful information about why the service has returned an error response.

DetailedResponse dataclass

DetailedResponse(*, error: Optional[str] = None, message: Optional[str] = None)

Definition: DetailedResponse

Attributes

error class-attribute instance-attribute
error: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Error'})

Custom error code

message class-attribute instance-attribute
message: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Message'})

The service specific error message returned by the API. This message provides useful information about why the service has returned an error response.

AuthenticationRequest dataclass

AuthenticationRequest(client_id: str, client_secret: str, *, profile_name: Optional[str] = None)

Definition: AuthenticationRequest

Attributes

client_id instance-attribute
client_id: str

Application Name that you have configured in your Enterprise Account when configuring the integration options.

client_secret instance-attribute
client_secret: str

API Key that you generated in your Enterprise Account when configuring the integration options.

ElectronicSealRecipient dataclass

ElectronicSealRecipient(*, name: Optional[str] = None, level_of_assurance: Optional[str] = None)

Definition: ElectronicSealRecipient

PermissionLegalNoticeResponse dataclass

PermissionLegalNoticeResponse(enabled: bool, *, allowed_notices: Optional[List[LegalNoticeResponse | Mapping[str, Any]]] = None, default_notice: Optional[List[LegalNoticeResponse | Mapping[str, Any]]] = None)

Definition: PermissionLegalNoticeResponse

Attributes

enabled instance-attribute
enabled: bool

True, if legal notice is enabled and configured for the recipient.

allowed_notices class-attribute instance-attribute
allowed_notices: Optional[List[LegalNoticeResponse | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

List of legal notices allowed to the document owner from which he can select one for the recipient.

default_notice class-attribute instance-attribute
default_notice: Optional[List[LegalNoticeResponse | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

Default or selected legal notice for the recipient.

LegalNoticeResponse dataclass

LegalNoticeResponse(legal_notice_id: int, *, legal_notice_name: Optional[str] = None, legal_notice_html: Optional[str] = None)

Definition: LegalNoticeResponse

Attributes

legal_notice_name class-attribute instance-attribute
legal_notice_name: Optional[str] = dataclass_field(default=None, kw_only=True)

LegalNoticeResponse

legal_notice_html class-attribute instance-attribute
legal_notice_html: Optional[str] = dataclass_field(default=None, kw_only=True)

HTML content of the legal notice.

AccessResponse dataclass

AccessResponse(*, authentication: Optional[AuthenticationResponse | Mapping[str, Any]] = None, authentication_signing: Optional[AuthenticationSigningResponse | Mapping[str, Any]] = None, access_duration: Optional[PermissionAccessDurationResponse | Mapping[str, Any]] = None)

Definition: AccessResponse

AuthenticationResponse dataclass

AuthenticationResponse(enabled: bool, *, password: Optional[AccessSecurityPasswordResponse | Mapping[str, Any]] = None, sms_otp: Optional[AccessSecuritySmsOtpResponse | Mapping[str, Any]] = None, totp: Optional[TotpPermissionResponse | Mapping[str, Any]] = None)

Definition: AuthenticationResponse

Attributes

enabled instance-attribute
enabled: bool

True, if authentication is enabled for the package.

AccessSecurityPasswordResponse dataclass

AccessSecurityPasswordResponse(enabled: bool, *, user_password: Optional[str] = None)

Definition: AccessSecurityPasswordResponse

Attributes

enabled instance-attribute
enabled: bool

True, if password authentication is enabled for the package.

user_password class-attribute instance-attribute
user_password: Optional[str] = dataclass_field(default=None, kw_only=True)

Authentication password for document access.

AccessSecuritySmsOtpResponse dataclass

AccessSecuritySmsOtpResponse(enabled: bool, otp_length: int, retry_duration: int, *, mobile_number: Optional[str] = None, methods: Optional[List[str]] = None)

Definition: AccessSecuritySmsOtpResponse

Attributes

enabled instance-attribute
enabled: bool

True, if SMS OTP authentication is enabled for the package.

mobile_number class-attribute instance-attribute
mobile_number: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile number of the recipient. Mobile number is needed to send the SMS to the recipient for the authentication.

methods class-attribute instance-attribute
methods: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

Allowed OTP Methods

TotpPermissionResponse dataclass

TotpPermissionResponse(enabled: bool)

Definition: TotpPermissionResponse

Attributes

enabled instance-attribute
enabled: bool

Enabled

AuthenticationSigningResponse dataclass

AuthenticationSigningResponse(enabled: bool, *, sms_otp: Optional[AuthenticationSigningSmsOtpResponse | Mapping[str, Any]] = None, totp: Optional[TotpPermissionResponse | Mapping[str, Any]] = None)

Definition: AuthenticationSigningResponse

Attributes

enabled instance-attribute
enabled: bool

True, if authentication is enabled for the package.

AuthenticationSigningSmsOtpResponse dataclass

AuthenticationSigningSmsOtpResponse(otp_length: int, retry_duration: int, *, mobile_number: Optional[str] = None, methods: Optional[List[str]] = None)

Definition: AuthenticationSigningSmsOtpResponse

Attributes

mobile_number class-attribute instance-attribute
mobile_number: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile number of the recipient. Mobile number is needed to send the SMS to the recipient for the authentication.

methods class-attribute instance-attribute
methods: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

Allowed OTP Methods

PermissionAccessDurationResponse dataclass

PermissionAccessDurationResponse(enabled: bool, *, duration_by_date: Optional[AccessDurationByDateResponse | Mapping[str, Any]] = None, duration_by_days: Optional[AccessDurationByDaysResponse | Mapping[str, Any]] = None)

Definition: PermissionAccessDurationResponse

Attributes

enabled instance-attribute
enabled: bool

True, if access duration security is enabled for the package.

AccessDurationByDateResponse dataclass

AccessDurationByDateResponse(enabled: bool, accessible: bool, *, duration: Optional[DurationByDateResponse | Mapping[str, Any]] = None)

Definition: AccessDurationByDateResponse

Attributes

enabled instance-attribute
enabled: bool

True if access security is enabled for a duration by date and time.

DurationByDateResponse dataclass

DurationByDateResponse(*, start_date_time: Optional[str] = None, end_date_time: Optional[str] = None)

Definition: DurationByDateResponse

Attributes

start_date_time class-attribute instance-attribute
start_date_time: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time from where the package will be accessible to the recipient.

end_date_time class-attribute instance-attribute
end_date_time: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time after which the package will not be accessible to the recipient.

AccessDurationByDaysResponse dataclass

AccessDurationByDaysResponse(enabled: bool, accessible: bool, *, duration: Optional[DurationByDaysResponse | Mapping[str, Any]] = None)

Definition: AccessDurationByDaysResponse

Attributes

enabled instance-attribute
enabled: bool

True, if access security is enabled for a duration by number of days.

DurationByDaysResponse dataclass

DurationByDaysResponse(total_days: int)

Definition: DurationByDaysResponse

Attributes

total_days instance-attribute
total_days: int

Total number of days for which the package will be accessible to the recipient after receiving the package.

ReminderRepeat dataclass

ReminderRepeat(enabled: bool, keep_reminding_after: int, total_reminders: int, *, frequency: Optional[str] = None)

Definition: ReminderRepeat

Attributes

enabled instance-attribute
enabled: bool

True, if subsequent reminders are enabled.

frequency class-attribute instance-attribute
frequency: Optional[str] = dataclass_field(default=None, kw_only=True)

Repeat Reminder Frequency. Possible Values are DAYS | HOURS.

keep_reminding_after instance-attribute
keep_reminding_after: int

The number of days after which the subsequent reminders would be sent to workflow recipient.

total_reminders instance-attribute
total_reminders: int

The number of subsequent reminders to be sent to workflow user.

AccessUpdateRequest dataclass

AccessUpdateRequest(apply_to_all: bool, authentication: AccessAuthentication | Mapping[str, Any], access_duration: PermissionAccessDuration | Mapping[str, Any], *, authentication_signing: Optional[SigningAuthentication | Mapping[str, Any]] = None)

Definition: AccessUpdateRequest

Attributes

apply_to_all instance-attribute
apply_to_all: bool

True, if the access security or authentications are to be applied on all the recipients in the workflow.

AccessAuthentication dataclass

AccessAuthentication(enabled: bool, *, password: Optional[AuthenticationPassword | Mapping[str, Any]] = None, sms_otp: Optional[AuthenticationSmsOtp | Mapping[str, Any]] = None, totp: Optional[TotpPermissionResponse | Mapping[str, Any]] = None)

Definition: AccessAuthentication

Attributes

enabled instance-attribute
enabled: bool

True, if authentication is enabled for the package.

AuthenticationPassword dataclass

AuthenticationPassword(enabled: bool, *, user_password: Optional[str] = None)

Definition: AuthenticationPassword

Attributes

enabled instance-attribute
enabled: bool

True, if password authentication is enabled for the package.

user_password class-attribute instance-attribute
user_password: Optional[str] = dataclass_field(default=None, kw_only=True)

Password string if password field is enabled. If a password is already set and owner do not wish to change it, remove the field from the response, or send null.

AuthenticationSmsOtp dataclass

AuthenticationSmsOtp(enabled: bool, *, mobile_number: Optional[str] = None)

Definition: AuthenticationSmsOtp

Attributes

enabled instance-attribute
enabled: bool

True, if SMS OTP authentication is enabled for the package.

mobile_number class-attribute instance-attribute
mobile_number: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile number of the recipient. Mobile number is needed to send the SMS to the recipient for the authentication.

SigningAuthentication dataclass

SigningAuthentication(enabled: bool, *, sms_otp: Optional[AuthenticationSigningSmsOtp | Mapping[str, Any]] = None, totp: Optional[TotpPermissionResponse | Mapping[str, Any]] = None)

Definition: SigningAuthentication

Attributes

enabled instance-attribute
enabled: bool

True, if authentication is enabled for the package.

AuthenticationSigningSmsOtp dataclass

AuthenticationSigningSmsOtp(*, mobile_number: Optional[str] = None)

Definition: AuthenticationSigningSmsOtp

Attributes

mobile_number class-attribute instance-attribute
mobile_number: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile number of the recipient. Mobile number is needed to send the SMS to the recipient for the authentication.

PermissionAccessDuration dataclass

PermissionAccessDuration(enabled: bool, *, duration_by_date: Optional[AccessDurationByDate | Mapping[str, Any]] = None, duration_by_days: Optional[AccessDurationByDays | Mapping[str, Any]] = None)

Definition: PermissionAccessDuration

Attributes

enabled instance-attribute
enabled: bool

True, if access duration security is enabled for the package.

AccessDurationByDate dataclass

AccessDurationByDate(enabled: bool, *, duration: Optional[DurationByDate | Mapping[str, Any]] = None)

Definition: AccessDurationByDate

Attributes

enabled instance-attribute
enabled: bool

True if access security is enabled for a duration by date and time.

DurationByDate dataclass

DurationByDate(*, start_date_time: Optional[str] = None, end_date_time: Optional[str] = None)

Definition: DurationByDate

Attributes

start_date_time class-attribute instance-attribute
start_date_time: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time from where the package will be accessible to the recipient.

end_date_time class-attribute instance-attribute
end_date_time: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time after which the package will not be accessible to the recipient.

AccessDurationByDays dataclass

AccessDurationByDays(enabled: bool, *, duration: Optional[DurationByDays | Mapping[str, Any]] = None)

Definition: AccessDurationByDays

Attributes

enabled instance-attribute
enabled: bool

True, if access security is enabled for a duration by number of days.

DurationByDays dataclass

DurationByDays(total_days: int)

Definition: DurationByDays

Attributes

total_days instance-attribute
total_days: int

Total number of days for which the package will be accessible to the recipient after receiving the package.

QrCodeRequest dataclass

QrCodeRequest(page_no: int, dimensions: FieldDimension | Mapping[str, Any], *, field_name: Optional[str] = None, data: Optional[str] = None, options: Optional[QrCodeOptions | Mapping[str, Any]] = None, color: Optional[QrCodeColor | Mapping[str, Any]] = None, logo: Optional[QrCodeLogo | Mapping[str, Any]] = None)

Definition: QrCodeRequest

Attributes

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the provided field that is to be added. If not provided, system will assign an unique auto generated name to the field.

data class-attribute instance-attribute
data: Optional[str] = dataclass_field(default=None, kw_only=True)

The plain text data to be encoded in the QR code. Default is URL generated to access the related document. e.g. {base_url}/document/{document_unique_id}

FieldDimension dataclass

FieldDimension(x: float, y: float, width: float, height: float)

Definition: FieldDimension

Attributes

x instance-attribute
x: float

Left location of the field in pixel.

y instance-attribute
y: float

Top location of the field in pixel.

width instance-attribute
width: float

Width of the field in pixel.

height instance-attribute
height: float

Height of the field in pixel.

QrCodeOptions dataclass

QrCodeOptions(error_correction_level: ECCLevelAPI, encoding: EciModeAPI, pixels_per_module: int, add_margins: bool)

Definition: QrCodeOptions

Attributes

pixels_per_module instance-attribute
pixels_per_module: int

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

add_margins instance-attribute
add_margins: bool

Indicates whether quiet zones (margins) should be drawn around the QR code. Quiet zones help scanners to detect and decode the QR code more accurately. Default is "true"

QrCodeColor dataclass

QrCodeColor(*, dots: Optional[str] = None, background: Optional[str] = None)

Definition: QrCodeColor

Attributes

dots class-attribute instance-attribute
dots: Optional[str] = dataclass_field(default=None, kw_only=True)

Represents the dark color used for the dots in the QR code. Default is "black". e.g. "#000000"

background class-attribute instance-attribute
background: Optional[str] = dataclass_field(default=None, kw_only=True)

Represents the light color used for the background of the QR code. Default is "white". e.g. "#ffffff"

QrCodeLogo(hide_background_dots: bool, size: int, *, base64: Optional[str] = None)

Definition: QrCodeLogo

Attributes

base64 class-attribute instance-attribute
base64: Optional[str] = dataclass_field(default=None, kw_only=True)

An optional icon (base64) to place in the center of the QR code.

hide_background_dots instance-attribute
hide_background_dots: bool

The background color behind the icon, if an icon is provided. If color is not provided transparent background is implemented.

size instance-attribute
size: int

The size of the icon as a percentage of the QR code's size, if an icon is provided. Default is "15". Possible Values are : 10 | 15 | 20 | 25 | 30 | 35 | 40

SignatureFieldAuthentication dataclass

SignatureFieldAuthentication(enabled: bool, *, otp: Optional[SignatureFieldAuthenticationOtp | Mapping[str, Any]] = None, totp: Optional[SignatureFieldAuthenticationTotp | Mapping[str, Any]] = None)

Definition: SignatureFieldAuthentication

Attributes

enabled instance-attribute
enabled: bool

True, if authentication is enabled for the field. False otherwise.

SignatureFieldAuthenticationOtp dataclass

SignatureFieldAuthenticationOtp(enabled: bool, *, mobile_number: Optional[str] = None)

Definition: SignatureFieldAuthenticationOtp

Attributes

enabled instance-attribute
enabled: bool

True, if SMS/Email OTP authentication is enabled for the field. False otherwise.

mobile_number class-attribute instance-attribute
mobile_number: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile number of the recipient to which the field is assigned.

SignatureFieldAuthenticationTotp dataclass

SignatureFieldAuthenticationTotp(enabled: bool)

Definition: SignatureFieldAuthenticationTotp

Attributes

enabled instance-attribute
enabled: bool

True, if TOTP authentication is enabled for the field. False otherwise.

UpdateQrCodeRequest dataclass

UpdateQrCodeRequest(field_name: str, page_no: int, dimensions: FieldDimension | Mapping[str, Any], *, renamed_as: Optional[str] = None, data: Optional[str] = None, options: Optional[QrCodeOptions | Mapping[str, Any]] = None, color: Optional[QrCodeColor | Mapping[str, Any]] = None, logo: Optional[QrCodeLogo | Mapping[str, Any]] = None)

Definition: UpdateQrCodeRequest

Attributes

field_name instance-attribute
field_name: str

Current name of the field, that is to be updated.

renamed_as class-attribute instance-attribute
renamed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

Updated name of the field if renaming is intended.

page_no instance-attribute
page_no: int

Page number for which field is need to be updated

data class-attribute instance-attribute
data: Optional[str] = dataclass_field(default=None, kw_only=True)

The plain text data to be encoded in the QR code. Default is URL generated to access the related document. e.g. {base_url}/document/{document_unique_id}

FieldValidationValue dataclass

FieldValidationValue(required: bool, *, rules: Optional[List[FieldValidationValueRule | Mapping[str, Any]]] = None)

Definition: FieldValidationValue

FieldValidationValueRule dataclass

FieldValidationValueRule(*, type_: Optional[str] = None, value: Optional[str] = None)

Definition: FieldValidationValueRule

Attributes

type_ class-attribute instance-attribute
type_: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'type'})

Specifies the type of validation rule, which is currently always set to EQUALS for text field.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

Represents the value used for validation.

PostProcessResponse dataclass

PostProcessResponse(enabled: bool, google_drive: bool, one_drive: bool, dropbox: bool, workflow_recipients: bool, document_processing_report: bool, *, contacts: Optional[List[str]] = None, recipients: Optional[List[PostProcessRecipientResponse | Mapping[str, Any]]] = None, message: Optional[str] = None)

Definition: PostProcessResponse

Attributes

enabled instance-attribute
enabled: bool

True, if post processing is enabled for the package.

contacts class-attribute instance-attribute
contacts: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

List of email addresses to which the email will be sent when the workflow is completed.

recipients class-attribute instance-attribute
recipients: Optional[List[PostProcessRecipientResponse | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

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
message: Optional[str] = dataclass_field(default=None, kw_only=True)

Any custom string message that is to be sent to the contacts when the workflow is completed.

google_drive instance-attribute
google_drive: bool

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 instance-attribute
one_drive: bool

True, if one drive uploading is turned on for the package. Documents will be uploaded to one drive when the workflow is completed.

dropbox instance-attribute
dropbox: bool

True, if dropbox uploading is turned on for the package. Documents will be uploaded to google drive when the workflow is completed.

workflow_recipients instance-attribute
workflow_recipients: bool

True, if workflow completion report is to be sent to all recipients of the workflow when post processing is executed. Default value is false.

document_processing_report instance-attribute
document_processing_report: bool

True, if Send the document processing report (XML) is to be enabled to for the workflow

PostProcessRecipientResponse dataclass

PostProcessRecipientResponse(*, name: Optional[str] = None, email: Optional[str] = None)

Definition: PostProcessRecipientResponse

CertifyResponse dataclass

CertifyResponse(enabled: bool, *, allowed_permissions: Optional[List[str]] = None, default_permission: Optional[str] = None)

Definition: CertifyResponse

Attributes

enabled instance-attribute
enabled: bool

True, if certify signature settings are enabled for the document.

allowed_permissions class-attribute instance-attribute
allowed_permissions: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

Certify permission level set for the document with certify signature settings.

GroupMemberResponse dataclass

GroupMemberResponse(*, user_email: Optional[str] = None, user_name: Optional[str] = None)

Definition: GroupMemberResponse

Attributes

user_email class-attribute instance-attribute
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the group member

user_name class-attribute instance-attribute
user_name: Optional[str] = dataclass_field(default=None, kw_only=True)

User name of the group member

AttachmentPermissionResponse dataclass

AttachmentPermissionResponse(enabled: bool)

Definition: AttachmentPermissionResponse

Attributes

enabled instance-attribute
enabled: bool

Enabled

PostProcessRecipientRequest dataclass

PostProcessRecipientRequest(name: str, email: str)

Definition: PostProcessRecipientRequest

UpdateCertifyPolicyRequest dataclass

UpdateCertifyPolicyRequest(lock_form_fields: bool, *, certify: Optional[CertifyPolicyRequest | Mapping[str, Any]] = None)

Definition: UpdateCertifyPolicyRequest

Attributes

lock_form_fields instance-attribute
lock_form_fields: bool

True if form fields are to be locked after the last signature on the current document.

CertifyPolicyRequest dataclass

CertifyPolicyRequest(enabled: bool, permission: CertifyPermission)

Definition: CertifyPolicyRequest

Attributes

enabled instance-attribute
enabled: bool

True if certify settings are to be enabled for the document.

DeleteDocumentFieldRequest dataclass

DeleteDocumentFieldRequest(field_name: str)

Definition: DeleteDocumentFieldRequest

Attributes

field_name instance-attribute
field_name: str

Name of the field to be deleted.

EnterpriseTemplateRole dataclass

EnterpriseTemplateRole(id: int, *, name: Optional[str] = None)

Definition: EnterpriseTemplateRole

Attributes

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the enterprise role assigned to the user.

id instance-attribute
id: int

Id of the enterprise role assigned to the user.

TemplateDocumentResponse dataclass

TemplateDocumentResponse(id: int, *, name: Optional[str] = None)

Definition: TemplateDocumentResponse

Attributes

id instance-attribute
id: int

Id of the template document

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the template document.

NextSignerEmail dataclass

NextSignerEmail(*, user_email: Optional[str] = None, user_name: Optional[str] = None)

Definition: Next_signer_email

Attributes

user_email class-attribute instance-attribute
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the next signer.

user_name class-attribute instance-attribute
user_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the next signer.

WorkflowGatekeeperResponse dataclass

WorkflowGatekeeperResponse(*, emails: Optional[List[WorkflowGatekeeperUserResponse | Mapping[str, Any]]] = None)

Definition: WorkflowGatekeeperResponse

Attributes

emails class-attribute instance-attribute
emails: Optional[List[WorkflowGatekeeperUserResponse | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

Getekeepers

WorkflowGatekeeperUserResponse dataclass

WorkflowGatekeeperUserResponse(*, user_email: Optional[str] = None)

Definition: WorkflowGatekeeperUserResponse

EnterpriseAuthenticationResponse dataclass

EnterpriseAuthenticationResponse(enabled: bool, *, password: Optional[AccessSecurityPasswordResponse | Mapping[str, Any]] = None, sms_otp: Optional[EnterpriseAccessSecuritySmsOtpResponse | Mapping[str, Any]] = None, totp: Optional[TotpPermissionResponse | Mapping[str, Any]] = None)

Definition: EnterpriseAuthenticationResponse

Attributes

enabled instance-attribute
enabled: bool

True, if authentication is enabled for the package.

EnterpriseAccessSecuritySmsOtpResponse dataclass

EnterpriseAccessSecuritySmsOtpResponse(enabled: bool, otp_length: int, retry_duration: int, *, mobile_number: Optional[str] = None)

Definition: EnterpriseAccessSecuritySmsOtpResponse

Attributes

enabled instance-attribute
enabled: bool

True, if SMS OTP authentication is enabled for the package.

mobile_number class-attribute instance-attribute
mobile_number: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile number of the recipient. Mobile number is needed to send the SMS to the recipient for the authentication.

EnterpriseAuthenticationSigningResponse dataclass

EnterpriseAuthenticationSigningResponse(enabled: bool, *, sms_otp: Optional[EnterpriseAuthenticationSigningSmsOtpResponse | Mapping[str, Any]] = None, totp: Optional[TotpPermissionResponse | Mapping[str, Any]] = None)

Definition: EnterpriseAuthenticationSigningResponse

Attributes

enabled instance-attribute
enabled: bool

True, if authentication is enabled for the package.

EnterpriseAuthenticationSigningSmsOtpResponse dataclass

EnterpriseAuthenticationSigningSmsOtpResponse(otp_length: int, retry_duration: int, *, mobile_number: Optional[str] = None)

Definition: EnterpriseAuthenticationSigningSmsOtpResponse

Attributes

mobile_number class-attribute instance-attribute
mobile_number: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile number of the recipient. Mobile number is needed to send the SMS to the recipient for the authentication.

DocumentOwner dataclass

DocumentOwner(*, name: Optional[str] = None, email: Optional[str] = None)

Definition: DocumentOwner

Attributes

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the document package owner.

email class-attribute instance-attribute
email: Optional[str] = dataclass_field(default=None, kw_only=True)

Email of the document package owner.

DocumentDetails dataclass

DocumentDetails(id: int, size: int, *, name: Optional[str] = None, uploaded_on: Optional[str] = None, modified_on: Optional[str] = None, type_: Optional[str] = None, source: Optional[str] = None)

Definition: DocumentDetails

Attributes

id instance-attribute
id: int

ID of the newly created document.

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

The name of the document.

uploaded_on class-attribute instance-attribute
uploaded_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time when the document was uploaded.

modified_on class-attribute instance-attribute
modified_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time when the document was last modified.

size instance-attribute
size: int

Size of the document in bytes.

type_ class-attribute instance-attribute
type_: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'type'})

Type of the document e.g. "PDF".

source class-attribute instance-attribute
source: Optional[str] = dataclass_field(default=None, kw_only=True)

Identifies where the document was uploaded e.g. "My App".

ChangeServicePlanRequest dataclass

ChangeServicePlanRequest(user_email: str, service_plan: str)

Definition: ChangeServicePlanRequest

Attributes

user_email instance-attribute
user_email: str

Email address of the account owner.

service_plan instance-attribute
service_plan: str

New Service Plan name, which is to be assigned to the user.

TemplateSmartFormResponse dataclass

TemplateSmartFormResponse(active_count: int, total_count: int)

Definition: TemplateSmartFormResponse

Attributes

active_count instance-attribute
active_count: int

Active count

total_count instance-attribute
total_count: int

Total

ServicePlanLevelOfAssurance dataclass

ServicePlanLevelOfAssurance(*, allowed: Optional[List[str]] = None, default: Optional[List[str]] = None)

Definition: ServicePlanLevelOfAssurance

Attributes

allowed class-attribute instance-attribute
allowed: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

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: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

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

ServicePlanCertifyOption(*, allowed: Optional[List[str]] = None, default: Optional[str] = None)

Definition: ServicePlanCertifyOption

Attributes

allowed class-attribute instance-attribute
allowed: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

Allowed document certify options, Possible values are: NO_CHANGES_ALLOWED, FORM_FILLING_ALLOWED, FORM_FILLING_WITH_ANNOTATIONS_ALLOWED

default class-attribute instance-attribute
default: Optional[str] = dataclass_field(default=None, kw_only=True)

Default document certify options, Possible values are: NO_CHANGES_ALLOWED, FORM_FILLING_ALLOWED, FORM_FILLING_WITH_ANNOTATIONS_ALLOWED

ServicePlanAutoDeleteDocument dataclass

ServicePlanAutoDeleteDocument(enabled: bool, duration: int, *, notify: Optional[NotifyUnUsedDeleteDocument | Mapping[str, Any]] = None, email_document: Optional[EmailDeletedDocument | Mapping[str, Any]] = None)

Definition: ServicePlanAutoDeleteDocument

Attributes

enabled instance-attribute
enabled: bool

True, If auto deletion of the unused documents is enabled.

duration instance-attribute
duration: int

Total number of unused days.

NotifyUnUsedDeleteDocument dataclass

NotifyUnUsedDeleteDocument(enabled: bool, duration: int)

Definition: NotifyUnUsedDeleteDocument

Attributes

enabled instance-attribute
enabled: bool

True, If notify the user before days to deleting unused documents.

duration instance-attribute
duration: int

Total number of days before notifying the user.

EmailDeletedDocument dataclass

EmailDeletedDocument(enabled: bool, workflow_evidence_report: bool)

Definition: EmailDeletedDocument

Attributes

enabled instance-attribute
enabled: bool

True, If deleted document as attachment is enabled

workflow_evidence_report instance-attribute
workflow_evidence_report: bool

True, Email the workflow evidence report as an attachment of the completed document is enabled

ServicePlanSigningServer dataclass

ServicePlanSigningServer(*, key_location: Optional[str] = None, order: Optional[int] = None, signing_profile: Optional[ServicePlanProfile | Mapping[str, Any]] = None, electronic_seal: Optional[SigningServerCapacity | Mapping[str, Any]] = None, advanced_electronic_seal: Optional[SigningServerCapacity | Mapping[str, Any]] = None, qualified_electronic_seal: Optional[SigningServerCapacity | Mapping[str, Any]] = None, advanced_electronic_signature: Optional[SigningServerCapacity | Mapping[str, Any]] = None, high_trust_advanced_signature: Optional[SigningServerCapacity | Mapping[str, Any]] = None, qualified_electronic_signature: Optional[SigningServerCapacity | Mapping[str, Any]] = None, signature_appearances: Optional[SigningServerSignatureAppearance | Mapping[str, Any]] = None, csp: Optional[SigningServerCsp | Mapping[str, Any]] = None)

Definition: ServicePlanSigningServer

Attributes

key_location class-attribute instance-attribute
key_location: Optional[str] = dataclass_field(default=None, kw_only=True)

Key location of the signing server, possible values are SERVER, LOCAL

order class-attribute instance-attribute
order: Optional[int] = dataclass_field(default=None, kw_only=True)

Signing server order

ServicePlanProfile dataclass

ServicePlanProfile(id: int, *, name: Optional[str] = None)

Definition: ServicePlanProfile

Attributes

id instance-attribute
id: int

ID of the profile

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the profile

SigningServerCapacity dataclass

SigningServerCapacity(enabled: bool, *, capacities: Optional[List[ServicePlanCapacity | Mapping[str, Any]]] = None)

Definition: SigningServerCapacity

Attributes

enabled instance-attribute
enabled: bool

True, If to add the Signing Capacities.

capacities class-attribute instance-attribute
capacities: Optional[List[ServicePlanCapacity | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

Total number of Signing Capacities added are signing server.

ServicePlanCapacity dataclass

ServicePlanCapacity(id: int, *, name: Optional[str] = None, level_of_assurance: Optional[str] = None, key_protection: Optional[str] = None)

Definition: ServicePlanCapacity

Attributes

id instance-attribute
id: int

Id of the Capacity

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the Capacity

level_of_assurance class-attribute instance-attribute
level_of_assurance: Optional[str] = dataclass_field(default=None, kw_only=True)

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.

key_protection class-attribute instance-attribute
key_protection: Optional[str] = dataclass_field(default=None, kw_only=True)

Key protection option of the capacity, possible values are NO_PASSWORD, USER_PASSWORD, SYSTEM_PASSWORD, REMOTE_AUTHORISATION.

SigningServerSignatureAppearance dataclass

SigningServerSignatureAppearance(*, signature_appearance: Optional[str] = None, signature_appearance_logo: Optional[str] = None)

Definition: SigningServerSignatureAppearance

Attributes

signature_appearance class-attribute instance-attribute
signature_appearance: Optional[str] = dataclass_field(default=None, kw_only=True)

Appearances of the signature, possible values are COMPANY_LOGO, HAND_SIGNATURE, DETAILED_SIGNATURE

signature_appearance_logo: Optional[str] = dataclass_field(default=None, kw_only=True)

Logo of the signature appearance

SigningServerCsp dataclass

SigningServerCsp(enabled: bool, auto_delete_certificates: bool, *, virtual_profile: Optional[ServicePlanProfile | Mapping[str, Any]] = None)

Definition: SigningServerCsp

Attributes

enabled instance-attribute
enabled: bool

True, If to add Push Certificates to CSP.

auto_delete_certificates instance-attribute
auto_delete_certificates: bool

True, If Automatically delete certificates and users from CSP when user is removed.

ServicePlanElectronicSealServer dataclass

ServicePlanElectronicSealServer(*, electronic_seal_profile: Optional[ServicePlanProfile | Mapping[str, Any]] = None, electronic_seal: Optional[SigningServerCapacity | Mapping[str, Any]] = None, advanced_electronic_seal: Optional[SigningServerCapacity | Mapping[str, Any]] = None, qualified_electronic_seal: Optional[SigningServerCapacity | Mapping[str, Any]] = None)

Definition: ServicePlanElectronicSealServer

ServicePlanAuthenticationProfile dataclass

ServicePlanAuthenticationProfile(*, allowed: Optional[List[ServicePlanProfile | Mapping[str, Any]]] = None, default: Optional[ServicePlanProfile | Mapping[str, Any]] = None)

Definition: ServicePlanAuthenticationProfile

Attributes

allowed class-attribute instance-attribute
allowed: Optional[List[ServicePlanProfile | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

Allowed authentication profile in service plan

ServicePlanEvidenceReport dataclass

ServicePlanEvidenceReport(delete_document_logs: bool, *, type_: Optional[str] = None)

Definition: ServicePlanEvidenceReport

Attributes

type_ class-attribute instance-attribute
type_: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'type'})

Type of workflow evidence recording, Possible values are "BASIC", "DETAILED"

delete_document_logs instance-attribute
delete_document_logs: bool

True, If enable to delete document logs on generation of Workflow Evidence Report.

ServicePlanOneTimePassword dataclass

ServicePlanOneTimePassword(otp_length: int, otp_expiry: int, otp_retry_interval: int, *, email_otp: Optional[ServicePlanEmailOtp | Mapping[str, Any]] = None, sms_otp: Optional[ServicePlanSmsOtp | Mapping[str, Any]] = None)

Definition: ServicePlanOneTimePassword

Attributes

otp_length instance-attribute
otp_length: int

Character count of OTP to be generated for authentication.

otp_expiry instance-attribute
otp_expiry: int

OTP expiry duration in seconds

otp_retry_interval instance-attribute
otp_retry_interval: int

OTP retry interval duration in seconds

ServicePlanEmailOtp dataclass

ServicePlanEmailOtp(enabled: bool)

Definition: ServicePlanEmailOtp

Attributes

enabled instance-attribute
enabled: bool

True, if Email OTP are enabled for the service plan.

ServicePlanSmsOtp dataclass

ServicePlanSmsOtp(enabled: bool, *, server: Optional[str] = None)

Definition: ServicePlanSmsOtp

Attributes

enabled instance-attribute
enabled: bool

True, if SMS OTP are enabled for the service plan.

server class-attribute instance-attribute
server: Optional[str] = dataclass_field(default=None, kw_only=True)

SMS OTP server

ServicePlanSmtpServer dataclass

ServicePlanSmtpServer(enabled: bool, *, server: Optional[str] = None)

Definition: ServicePlanSmtpServer

Attributes

enabled instance-attribute
enabled: bool

True, if SMTP Server is enabled for the service plan.

server class-attribute instance-attribute
server: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Server'})

SMTP Server

ServicePlanSmsNotification dataclass

ServicePlanSmsNotification(enabled: bool, *, server: Optional[str] = None)

Definition: ServicePlanSmsNotification

Attributes

enabled instance-attribute
enabled: bool

True, if SMS notification gateway is enabled for the service plan.

server class-attribute instance-attribute
server: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Server'})

SMS Gateway

ServicePlanAutoDeleteUser dataclass

ServicePlanAutoDeleteUser(enabled: bool, inactive_days: int, *, notify: Optional[NotifyInactiveDeleteUser | Mapping[str, Any]] = None)

Definition: ServicePlanAutoDeleteUser

Attributes

enabled instance-attribute
enabled: bool

True, If auto deletion of the inactive users is enabled.

inactive_days instance-attribute
inactive_days: int

Total number of inactive days.

NotifyInactiveDeleteUser dataclass

NotifyInactiveDeleteUser(enabled: bool, duration: int)

Definition: NotifyInactiveDeleteUser

Attributes

enabled instance-attribute
enabled: bool

True, If notify the user before days to deleting inactive users.

duration instance-attribute
duration: int

Total number of days before notifying the user.

ServicePlanCapacityRequest dataclass

ServicePlanCapacityRequest(*, name: Optional[str] = None)

Definition: ServicePlanCapacityRequest

Attributes

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the Capacity

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
continue_on_decline: Optional[bool] = dataclass_field(default=None, kw_only=True)

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
message: Optional[str] = dataclass_field(default=None, kw_only=True)

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.

comments class-attribute instance-attribute
comments: Optional[bool] = dataclass_field(default=None, kw_only=True)

Allow comments

PostProcessUpdateRequest dataclass

PostProcessUpdateRequest(enabled: bool, workflow_recipients: bool, document_processing_report: bool, *, contacts: Optional[List[str]] = None, recipients: Optional[List[PostProcessRecipientRequest | Mapping[str, Any]]] = None, message: Optional[str] = None, google_drive: Optional[bool] = None, dropbox: Optional[bool] = None, onedrive: Optional[bool] = None)

Definition: PostProcessUpdateRequest

Attributes

enabled instance-attribute
enabled: bool

True, if post processing is turned on for the package.

recipients class-attribute instance-attribute
recipients: Optional[List[PostProcessRecipientRequest | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

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
message: Optional[str] = dataclass_field(default=None, kw_only=True)

A custom string message for all the contacts. Message becomes part of the email sent to the contacts.

google_drive class-attribute instance-attribute
google_drive: Optional[bool] = dataclass_field(default=None, kw_only=True)

True, if document is to be uploaded to the provided google account after the workflow completion.

dropbox class-attribute instance-attribute
dropbox: Optional[bool] = dataclass_field(default=None, kw_only=True)

True, if document is to be uploaded to the provided dropbox account after the workflow completion.

onedrive class-attribute instance-attribute
onedrive: Optional[bool] = dataclass_field(default=None, kw_only=True)

True, if document is to be uploaded to the provided oneDrive account after the workflow completion.

workflow_recipients instance-attribute
workflow_recipients: bool

True, if workflow completion report is to be sent to all recipients of the workflow when post processing is executed. Default value is false.

document_processing_report instance-attribute
document_processing_report: bool

True, if Send the document processing report (XML) is to be enabled to for the workflow

WorflowUserRequest dataclass

WorflowUserRequest(user_name: str, email_notification: bool, role: CollaboratorRole, delivery_method: DeliveryMethod, *, user_email: Optional[str] = None, user_national_id: Optional[str] = None, signing_order: Optional[int] = None, mobile_number: Optional[str] = None)

Definition: WorflowUserRequest

Attributes

user_email class-attribute instance-attribute
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the user to be added in the workflow.

user_name instance-attribute
user_name: str

Name of the recipient to be added in the workflow.

user_national_id class-attribute instance-attribute
user_national_id: Optional[str] = dataclass_field(default=None, kw_only=True)

User national id of the recipient

email_notification instance-attribute
email_notification: bool

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
signing_order: Optional[int] = dataclass_field(default=None, kw_only=True)

Order of the recipient in the workflow. This signing order is mandatory when workflow type is "CUSTOM".

mobile_number class-attribute instance-attribute
mobile_number: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile Number

WorkflowResponse dataclass

WorkflowResponse(continue_on_decline: bool, read_only: bool, comments: bool, *, workflow_type: Optional[str] = None, workflow_status: Optional[str] = None, workflow_mode: Optional[str] = None, message: Optional[str] = None, post_process: Optional[PostProcessResponse | Mapping[str, Any]] = None)

Definition: WorkflowResponse

Attributes

workflow_type class-attribute instance-attribute
workflow_type: Optional[str] = dataclass_field(default=None, kw_only=True)

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 instance-attribute
continue_on_decline: bool

True, if workflow needs to be continued even after a recipient declines at his turn.

workflow_status class-attribute instance-attribute
workflow_status: Optional[str] = dataclass_field(default=None, kw_only=True)

Processing status of the workflow, possible values are "DRAFT", "IN_PRGORESS" and "COMPLETED".

workflow_mode class-attribute instance-attribute
workflow_mode: Optional[str] = dataclass_field(default=None, kw_only=True)

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
message: Optional[str] = dataclass_field(default=None, kw_only=True)

Any custom string message that is to be sent to all the recipient of the workflow by the document owner.

read_only instance-attribute
read_only: bool

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.

comments instance-attribute
comments: bool

Comments

WorkflowDocumentsResponse dataclass

WorkflowDocumentsResponse(document_id: int, document_order: int, update_required: bool, document_height: int, document_width: int, document_pages: int, form_fields: bool, lock_form_fields: bool, locked: bool, attachments: bool, document_size: int, formatted: bool, *, document_name: Optional[str] = None, document_type: Optional[str] = None, document_source: Optional[str] = None, created_on: Optional[str] = None, modified_on: Optional[str] = None, template: Optional[DocumentsTemplateResponse | Mapping[str, Any]] = None, certify: Optional[CertifyResponse | Mapping[str, Any]] = None, has_signed_signature_fields: Optional[bool] = None, conformance_level: Optional[str] = None)

Definition: WorkflowDocumentsResponse

Attributes

document_id instance-attribute
document_id: int

ID of the document.

document_name class-attribute instance-attribute
document_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the document.

document_type class-attribute instance-attribute
document_type: Optional[str] = dataclass_field(default=None, kw_only=True)

Original document extension when the document was uploaded before conversion to the PDF.

document_order instance-attribute
document_order: int

Order of the document in the document package.

document_source class-attribute instance-attribute
document_source: Optional[str] = dataclass_field(default=None, kw_only=True)

Source of the document from where the document was uploaded.

update_required instance-attribute
update_required: bool

True if document is required to update

document_height instance-attribute
document_height: int

Height of the PDF document.

document_width instance-attribute
document_width: int

Width of the PDF document.

document_pages instance-attribute
document_pages: int

Total number of pages in the document.

created_on class-attribute instance-attribute
created_on: Optional[str] = dataclass_field(default=None, kw_only=True)

The date and time on which the document was uploaded.

modified_on class-attribute instance-attribute
modified_on: Optional[str] = dataclass_field(default=None, kw_only=True)

The date and time on which the document was last modified.

form_fields instance-attribute
form_fields: bool

True, if document has form fields.

lock_form_fields instance-attribute
lock_form_fields: bool

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
has_signed_signature_fields: Optional[bool] = dataclass_field(default=None, kw_only=True)

Pdf document meta info: true if pdf document have signed signature fields

attachments instance-attribute
attachments: bool

True, if document has attachments.

conformance_level class-attribute instance-attribute
conformance_level: Optional[str] = dataclass_field(default=None, kw_only=True)

Document conformance level

document_size instance-attribute
document_size: int

Size of document.

formatted instance-attribute
formatted: bool

This property is for XML document, that either its formatted or not

DocumentsTemplateResponse dataclass

DocumentsTemplateResponse(template_id: int, read_only: bool, *, template_name: Optional[str] = None)

Definition: DocumentsTemplateResponse

Attributes

template_id instance-attribute
template_id: int

ID of the template applied to the document.

template_name class-attribute instance-attribute
template_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the template applied to the document.

read_only instance-attribute
read_only: bool

True, if template is configured as read only. No changes to the workflow should be made after a read only template is applied.

WorkflowUserResponse dataclass

WorkflowUserResponse(order: int, signing_order: int, guest_user: bool, *, 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 | Mapping[str, Any]] = 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 | Mapping[str, Any]] = None, authentications: Optional[AccessResponse | Mapping[str, Any]] = None, reminder: Optional[ReminderResponse | Mapping[str, Any]] = None, user_national_id: Optional[str] = None, email_language_code: Optional[str] = None, electronic_seal: Optional[ElectronicSealRecipient | Mapping[str, Any]] = None)

Definition: WorkflowUserResponse

Attributes

order instance-attribute
order: int

Order of the recipient in the workflow.

user_name class-attribute instance-attribute
user_name: Optional[str] = dataclass_field(default=None, kw_only=True)

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
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the recipient if recipient is not a group or placeholder.

mobile_number class-attribute instance-attribute
mobile_number: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile number

delivery_method class-attribute instance-attribute
delivery_method: Optional[str] = dataclass_field(default=None, kw_only=True)

Delivery method of recipient Possible values: EMAIL, SMS, or EMAIL_AND_SMS

user_photo_url class-attribute instance-attribute
user_photo_url: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the group if recipient is a group.

group_members class-attribute instance-attribute
group_members: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

List of all the email addresses and names of the users.

delegator class-attribute instance-attribute
delegator: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the user who is delegator to this recipient.

gatekeeper class-attribute instance-attribute
gatekeeper: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the user who is gatekeeper to this recipient.

role class-attribute instance-attribute
role: Optional[str] = dataclass_field(default=None, kw_only=True)

Role of the recipient i.e., "SIGNER", "REVIEWER", "EDITOR","CARBON_COPY" or "INPERSON_HOST".

process_status class-attribute instance-attribute
process_status: Optional[str] = dataclass_field(default=None, kw_only=True)

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
processed_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time on which the document was processed.

processed_as class-attribute instance-attribute
processed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

User may processed the field as COLLABORATOR, DELEGATOR, GROUP_MEMBER or OWNER.

processed_by class-attribute instance-attribute
processed_by: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the user who processed the document.

reason class-attribute instance-attribute
reason: Optional[str] = dataclass_field(default=None, kw_only=True)

Reason provided by the user when declining, approving or submitting a document.

placeholder class-attribute instance-attribute
placeholder: Optional[str] = dataclass_field(default=None, kw_only=True)

Placeholder text if the recipient is a placeholder.

signing_order instance-attribute
signing_order: int

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
user_national_id: Optional[str] = dataclass_field(default=None, kw_only=True)

National identity number of the user. This helps to identify user in the workflow

guest_user instance-attribute
guest_user: bool

Gest user

email_language_code class-attribute instance-attribute
email_language_code: Optional[str] = dataclass_field(default=None, kw_only=True)

Email language code

DocumentCertifyResponse dataclass

DocumentCertifyResponse(enabled: bool, *, permission: Optional[str] = None)

Definition: DocumentCertifyResponse

Attributes

enabled instance-attribute
enabled: bool

True if certify signature is enabled for the document.

permission class-attribute instance-attribute
permission: Optional[str] = dataclass_field(default=None, kw_only=True)

It is the certify permissions to be applied on the PDF document when the first signature is created. The possible values are "NO_CHANGES_ALLOWED", "FORM_FILLING_ALLOWED" and "FORM_FILLING_WITH_ANNOTATIONS_ALLOWED".

DocumentTemplateResponse dataclass

DocumentTemplateResponse(read_only: bool, *, template_name: Optional[str] = None)

Definition: DocumentTemplateResponse

Attributes

template_name class-attribute instance-attribute
template_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the template applied on the document.

read_only instance-attribute
read_only: bool

True if the applied template is read only. User will not be able to make any changes if a read only template is applied.

ApplyTemplateRequest dataclass

ApplyTemplateRequest(template_name: str, apply_to_all: bool)

Definition: ApplyTemplateRequest

Attributes

template_name instance-attribute
template_name: str

Name of template to be applied on the document.

apply_to_all instance-attribute
apply_to_all: bool

True, if template is to be applied on all the documents in the package.

AddDocumentPackageRequest dataclass

AddDocumentPackageRequest(workflow_mode: WorkflowMode, *, package_name: Optional[str] = None, folder_name: Optional[str] = None)

Definition: AddDocumentPackageRequest

Attributes

package_name class-attribute instance-attribute
package_name: Optional[str] = dataclass_field(default=None, kw_only=True)

The name of the package. Default package name is always "Untitled" if the package_name is not provided.

folder_name class-attribute instance-attribute
folder_name: Optional[str] = dataclass_field(default=None, kw_only=True)

The name of the folder. It will be used to upload package in any folder of the user, either it is a custom folder or a shared folder.

ApproveRequest dataclass

ApproveRequest(*, reason: Optional[str] = None)

Definition: ApproveRequest

Attributes

reason class-attribute instance-attribute
reason: Optional[str] = dataclass_field(default=None, kw_only=True)

The reason for approving a package.

DeclineRequest dataclass

DeclineRequest(*, reason: Optional[str] = None)

Definition: DeclineRequest

Attributes

reason class-attribute instance-attribute
reason: Optional[str] = dataclass_field(default=None, kw_only=True)

Reason provided by the user for declining.

RenameDocumentPackageRequest dataclass

RenameDocumentPackageRequest(package_name: str)

Definition: RenameDocumentPackageRequest

Attributes

package_name instance-attribute
package_name: str

New name of the document package.

RecipientAccessDurationDetails dataclass

RecipientAccessDurationDetails(*, date_from: Optional[str] = None, date_to: Optional[str] = None)

Definition: RecipientAccessDurationDetails

Attributes

date_from class-attribute instance-attribute
date_from: Optional[str] = dataclass_field(default=None, kw_only=True)

Start date/time for a recipient to access the document

date_to class-attribute instance-attribute
date_to: Optional[str] = dataclass_field(default=None, kw_only=True)

End date/time for a recipient to access the document

RecipientDeclineDetails dataclass

RecipientDeclineDetails(auto_decline: bool, *, reason: Optional[str] = None, declined_by: Optional[DeclineByDetails | Mapping[str, Any]] = None)

Definition: RecipientDeclineDetails

Attributes

reason class-attribute instance-attribute
reason: Optional[str] = dataclass_field(default=None, kw_only=True)

Define reason of document decline

auto_decline instance-attribute
auto_decline: bool

Indication of document is manually/auto declined

DeclineByDetails dataclass

DeclineByDetails(*, user_name: Optional[str] = None, user_email: Optional[str] = None)

Definition: DeclineByDetails

Attributes

user_name class-attribute instance-attribute
user_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of user who have declined the workflow

user_email class-attribute instance-attribute
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

Email of user who have declined the workflow

CertifyPermissionResponse dataclass

CertifyPermissionResponse(enabled: bool, *, allowed_permissions: Optional[List[str]] = None, default_permission: Optional[str] = None)

Definition: CertifyPermissionResponse

Attributes

enabled instance-attribute
enabled: bool

True if certify signature is enabled for the document.

allowed_permissions class-attribute instance-attribute
allowed_permissions: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

Set of allowed certify permission levels for the document.

default_permission class-attribute instance-attribute
default_permission: Optional[str] = dataclass_field(default=None, kw_only=True)

Selected permission level for the certify signature settings.

UploadDocumentMetaInfoDetail dataclass

UploadDocumentMetaInfoDetail(attachments: bool, form_fields: bool, blank_signatures: bool, signed_signatures: bool, locked: bool, qr_code: bool, *, conformance: Optional[str] = None, certify: Optional[str] = None)

Definition: UploadDocumentMetaInfoDetail

Attributes

attachments instance-attribute
attachments: bool

true if pdf document has any attachment

form_fields instance-attribute
form_fields: bool

true if pdf document has any form field

blank_signatures instance-attribute
blank_signatures: bool

true if pdf document has any blank signature field

signed_signatures instance-attribute
signed_signatures: bool

true if pdf document has any signed signature field

conformance class-attribute instance-attribute
conformance: Optional[str] = dataclass_field(default=None, kw_only=True)

null/empty if document does not contains any conformance level otherwise contains formation like 1A, 1B etc

locked instance-attribute
locked: bool

true if pdf document is locked

certify class-attribute instance-attribute
certify: Optional[str] = dataclass_field(default=None, kw_only=True)

CertifyLevel of pdf document. Possible values NotCertified, NoChangesAllowed, FormFilling, FormFillingAndAnnotations

qr_code instance-attribute
qr_code: bool

true if pdf document has any Qr Code, otherwise its false

RenameDocumentRequest dataclass

RenameDocumentRequest(document_name: str)

Definition: RenameDocumentRequest

Attributes

document_name instance-attribute
document_name: str

New name of the document.

VerificationResponse dataclass

VerificationResponse(ltv: bool, qualified: bool, certified: bool, signature_policy_id: int, page_number: int, *, 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, 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_uri: Optional[str] = None, signer_photo: Optional[str] = None, signer_photo_url: Optional[str] = None, signed_hash: Optional[str] = None, display: Optional[str] = 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
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the field for which the verification was requested.

signer_name class-attribute instance-attribute
signer_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the signer.

signature_status class-attribute instance-attribute
signature_status: Optional[str] = dataclass_field(default=None, kw_only=True)

If the overall status of the signature is valid or not. Possible values are "VALID" or "INVALID".

signing_reason class-attribute instance-attribute
signing_reason: Optional[str] = dataclass_field(default=None, kw_only=True)

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
signing_location: Optional[str] = dataclass_field(default=None, kw_only=True)

Location entered by the user while signing the field.

contact_information class-attribute instance-attribute
contact_information: Optional[str] = dataclass_field(default=None, kw_only=True)

Contact information entered by the user while signing the field.

signing_time class-attribute instance-attribute
signing_time: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time of signing in 8601 format. Default timezone from SH Admin is followed the the time.

ltv instance-attribute
ltv: bool

True, if signature is LTV.

qualified instance-attribute
qualified: bool

True, if signatures are qualified.

certified instance-attribute
certified: bool

True, if signatures are certified.

certify_permission class-attribute instance-attribute
certify_permission: Optional[str] = dataclass_field(default=None, kw_only=True)

Permission level for certified digital signature.

timestamp_at class-attribute instance-attribute
timestamp_at: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time when signature was time-stamped.

timestamp_authority class-attribute instance-attribute
timestamp_authority: Optional[str] = dataclass_field(default=None, kw_only=True)

Authority by which the signature was time-stamped.

subject_dn class-attribute instance-attribute
subject_dn: Optional[str] = dataclass_field(default=None, kw_only=True)

Subject DN from the certificate used while signing the field.

issuer_dn class-attribute instance-attribute
issuer_dn: Optional[str] = dataclass_field(default=None, kw_only=True)

Issuers DN from the certificate used while signing the field.

cert_valid_from class-attribute instance-attribute
cert_valid_from: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time from which the certificate is valid.

cert_valid_to class-attribute instance-attribute
cert_valid_to: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time to which the certificate is valid.

signature_type class-attribute instance-attribute
signature_type: Optional[str] = dataclass_field(default=None, kw_only=True)

Type of signatures, possible values are "PADES_PART2" or "PADES_PART4".

signature_algorithm class-attribute instance-attribute
signature_algorithm: Optional[str] = dataclass_field(default=None, kw_only=True)

Signature algorithm used while signing the field.

signature_application class-attribute instance-attribute
signature_application: Optional[str] = dataclass_field(default=None, kw_only=True)

Application name from where the field was signed.

signature_policy_id instance-attribute
signature_policy_id: int

Signature policy ID.

signature_policy_uri class-attribute instance-attribute
signature_policy_uri: Optional[str] = dataclass_field(default=None, kw_only=True)

Signature policy URI.

signer_photo class-attribute instance-attribute
signer_photo: Optional[str] = dataclass_field(default=None, kw_only=True)

Base64 image of the signer's avatar.

signed_hash class-attribute instance-attribute
signed_hash: Optional[str] = dataclass_field(default=None, kw_only=True)

Hash of the document that was signed in respective signature.

page_number instance-attribute
page_number: int

Page number of the signature field

lei_number class-attribute instance-attribute
lei_number: Optional[str] = dataclass_field(default=None, kw_only=True)

LEI number if availbale in certificate

lei_role class-attribute instance-attribute
lei_role: Optional[str] = dataclass_field(default=None, kw_only=True)

LEI role if available in certificate

error_message class-attribute instance-attribute
error_message: Optional[str] = dataclass_field(default=None, kw_only=True)

An error message returns in case the application unable to get verification results.

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 | Mapping[str, Any]] = None, transaction_id: Optional[str] = None)

Definition: BulkSignRequest

Attributes

ids class-attribute instance-attribute
ids: Optional[List[int]] = dataclass_field(default=None, kw_only=True)

An array of the document package ids that are selected for bulk signing.

hand_signature_initials_image class-attribute instance-attribute
hand_signature_initials_image: Optional[str] = dataclass_field(default=None, kw_only=True)

Base64 image used for the filling of the initials

hand_signature_image class-attribute instance-attribute
hand_signature_image: Optional[str] = dataclass_field(default=None, kw_only=True)

Base64 encoded string image of the visible signature appearance

signing_reason class-attribute instance-attribute
signing_reason: Optional[str] = dataclass_field(default=None, kw_only=True)

Reason of signing provided by the recipient.

signing_location class-attribute instance-attribute
signing_location: Optional[str] = dataclass_field(default=None, kw_only=True)

Locale of the signer provided by the recipient

contact_information class-attribute instance-attribute
contact_information: Optional[str] = dataclass_field(default=None, kw_only=True)

Contact information of the signer provided by the recipient

appearance_design class-attribute instance-attribute
appearance_design: Optional[str] = dataclass_field(default=None, kw_only=True)

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
signing_server: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of signing server using which the document is to be signed

signing_capacity class-attribute instance-attribute
signing_capacity: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of certification profile/signing capacity using which the document is to be signed

transaction_id class-attribute instance-attribute
transaction_id: Optional[str] = dataclass_field(default=None, kw_only=True)

re-initiated signing process transaction id

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: Optional[str] = dataclass_field(default=None, kw_only=True)

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
password: Optional[str] = dataclass_field(default=None, kw_only=True)

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
token: Optional[str] = dataclass_field(default=None, kw_only=True)

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
user_identifier: Optional[str] = dataclass_field(default=None, kw_only=True)

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
id: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Code Verifier if PKCE is enabled for the client.

nonce class-attribute instance-attribute
nonce: Optional[str] = dataclass_field(default=None, kw_only=True)

Nonce value if it is enabled for the client.

BulkSignPackagesStatus dataclass

BulkSignPackagesStatus(id: int, percentage: int, *, name: Optional[str] = None, status: Optional[str] = None, action: Optional[str] = None, error: Optional[str] = None, documents: Optional[List[BulkSignActionDocumentModel | Mapping[str, Any]]] = None)

Definition: BulkSignPackagesStatus

Attributes

action class-attribute instance-attribute
action: Optional[str] = dataclass_field(default=None, kw_only=True)

Required action key if any

documents class-attribute instance-attribute
documents: Optional[List[BulkSignActionDocumentModel | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

Documents in the current package

BulkSignActionDocumentModel dataclass

BulkSignActionDocumentModel(id: int, *, fields: Optional[List[BulkSignActionFieldModel | Mapping[str, Any]]] = None)

Definition: BulkSignActionDocumentModel

BulkSignActionFieldModel dataclass

BulkSignActionFieldModel(*, name: Optional[str] = None, hash: Optional[str] = None, hashing_algo: Optional[str] = None)

Definition: BulkSignActionFieldModel

BulkSignStatusRequest dataclass

BulkSignStatusRequest(*, transaction_id: Optional[str] = None)

Definition: BulkSignStatusRequest

Attributes

transaction_id class-attribute instance-attribute
transaction_id: Optional[str] = dataclass_field(default=None, kw_only=True)

The identification number of the bulk signing transaction

SignDocumentRequest dataclass

SignDocumentRequest(field_name: str, skip_verification: bool, *, 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, signing_server: Optional[str] = None, authentication: Optional[Authentication | Mapping[str, Any]] = None)

Definition: SignDocumentRequest

Attributes

field_name instance-attribute
field_name: str

Unique identifier of the signature field in the document.

hand_signature_image class-attribute instance-attribute
hand_signature_image: Optional[str] = dataclass_field(default=None, kw_only=True)

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
signing_reason: Optional[str] = dataclass_field(default=None, kw_only=True)

Reason of signing provided by the recipient. Note: Commitment type indication for XML documents

signing_location class-attribute instance-attribute
signing_location: Optional[str] = dataclass_field(default=None, kw_only=True)

Locale of the signer provided by the recipient.

contact_information class-attribute instance-attribute
contact_information: Optional[str] = dataclass_field(default=None, kw_only=True)

Contact information of the signer provided by the recipient.

user_name class-attribute instance-attribute
user_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the signer provided by the recipient. Note this applies to in-person signing operations only.

user_password class-attribute instance-attribute
user_password: Optional[str] = dataclass_field(default=None, kw_only=True)

Password provided by the user subject to user's signature settings.

appearance_design class-attribute instance-attribute
appearance_design: Optional[str] = dataclass_field(default=None, kw_only=True)

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
signing_capacity: Optional[str] = dataclass_field(default=None, kw_only=True)

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 instance-attribute
skip_verification: bool

No signature verification returns in response body when it is set as true. Default value for this parameter set to false.

signing_server class-attribute instance-attribute
signing_server: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of signing server using which the document is to be signed.

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: Optional[str] = dataclass_field(default=None, kw_only=True)

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
password: Optional[str] = dataclass_field(default=None, kw_only=True)

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
token: Optional[str] = dataclass_field(default=None, kw_only=True)

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
user_identifier: Optional[str] = dataclass_field(default=None, kw_only=True)

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
id: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Code Verifier if PKCE is enabled for the client.

nonce class-attribute instance-attribute
nonce: Optional[str] = dataclass_field(default=None, kw_only=True)

Nonce value if it is enabled for the client.

AutoPlaceFieldRequest dataclass

AutoPlaceFieldRequest(order: int, max_length: int, multiline: bool, *, search_text: Optional[str] = None, placement: Optional[str] = None, field_type: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, dimensions: Optional[FieldDimension | Mapping[str, Any]] = None, placeholder: Optional[str] = None, radio_group_name: Optional[str] = None, format: Optional[str] = None, value: Optional[str] = None, validation_rule: Optional[str] = None, validation: Optional[FieldValidationValue | Mapping[str, Any]] = None, font: Optional[Font | Mapping[str, Any]] = None)

Definition: AutoPlaceFieldRequest

Attributes

search_text class-attribute instance-attribute
search_text: Optional[str] = dataclass_field(default=None, kw_only=True)

Word that needs to be searched in the document.

order instance-attribute
order: int

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
placement: Optional[str] = dataclass_field(default=None, kw_only=True)

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
field_type: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

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
placeholder: Optional[str] = dataclass_field(default=None, kw_only=True)

Provide note in the case of Mandatory Attachment

radio_group_name class-attribute instance-attribute
radio_group_name: Optional[str] = dataclass_field(default=None, kw_only=True)

The group name required only when adding a Radio Box type field to group multiple Radio boxes together.

format class-attribute instance-attribute
format: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Value that user want to show in the field.

max_length instance-attribute
max_length: int

Maximum length of the value allowed in the field. Must between 1 - 9999

validation_rule class-attribute instance-attribute
validation_rule: Optional[str] = dataclass_field(default=None, kw_only=True)

One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".

multiline instance-attribute
multiline: bool

This belongs to Text Area field type and If set to true, text area field would be created with multi line option.

Font dataclass

Font(*, name: Optional[str] = None, size: Optional[str] = None, embedded_size: Optional[str] = None)

Definition: Font

Attributes

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the font selected for the text field. Possible values are "COURIER", "HELVETICA".

size class-attribute instance-attribute
size: Optional[str] = dataclass_field(default=None, kw_only=True)

Size of the font selected for the text field. Possible values are 8, 10, 12, 14, 16, 18, 20

embedded_size class-attribute instance-attribute
embedded_size: Optional[str] = dataclass_field(default=None, kw_only=True)

Size of the font in the original PDF document.

FormFillingRequest dataclass

FormFillingRequest(auto_save: bool, *, text: Optional[List[TextFormFillingRequest | Mapping[str, Any]]] = None, radio: Optional[List[RadioFormFillingRequest | Mapping[str, Any]]] = None, checkbox: Optional[List[CheckBoxFormFillingRequest | Mapping[str, Any]]] = None, dropdown: Optional[List[DropDownFormFillingRequest | Mapping[str, Any]]] = None, listbox: Optional[List[ListBoxFormFillingRequest | Mapping[str, Any]]] = None)

Definition: FormFillingRequest

Attributes

auto_save instance-attribute
auto_save: bool

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
text: Optional[List[TextFormFillingRequest | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

It has the list of textboxes data to save

radio class-attribute instance-attribute
radio: Optional[List[RadioFormFillingRequest | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

It has the list of radios value to save

checkbox class-attribute instance-attribute
checkbox: Optional[List[CheckBoxFormFillingRequest | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

It has the list of checkboxes value to save

dropdown class-attribute instance-attribute
dropdown: Optional[List[DropDownFormFillingRequest | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

It has the list of dropdowns value to save

listbox class-attribute instance-attribute
listbox: Optional[List[ListBoxFormFillingRequest | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

It has the list of listboxes value to save

TextFormFillingRequest dataclass

TextFormFillingRequest(field_name: str, *, value: Optional[str] = None)

Definition: TextFormFillingRequest

Attributes

field_name instance-attribute
field_name: str

Unique identifier of the field in the document.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

Value of the field to be saved in the document.

RadioFormFillingRequest dataclass

RadioFormFillingRequest(field_name: str, value: bool, *, radio_group_name: Optional[str] = None)

Definition: RadioFormFillingRequest

Attributes

field_name instance-attribute
field_name: str

Unique identifier of the field in the document.

radio_group_name class-attribute instance-attribute
radio_group_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Group name to which the radio button belongs.

value instance-attribute
value: bool

Value of the field to be saved in the document.

CheckBoxFormFillingRequest dataclass

CheckBoxFormFillingRequest(field_name: str, value: bool)

Definition: CheckBoxFormFillingRequest

Attributes

field_name instance-attribute
field_name: str

Unique identifier of the field in the document.

value instance-attribute
value: bool

Value of the field to be saved in the document.

DropDownFormFillingRequest dataclass

DropDownFormFillingRequest(field_name: str, *, value: Optional[str] = None)

Definition: DropDownFormFillingRequest

Attributes

field_name instance-attribute
field_name: str

Unique identifier of the field in the document.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

Value of the field to be saved in the document.

ListBoxFormFillingRequest dataclass

ListBoxFormFillingRequest(field_name: str, *, value: Optional[str] = None)

Definition: ListBoxFormFillingRequest

Attributes

field_name instance-attribute
field_name: str

Unique identifier of the field in the document.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

Value of the field to be saved in the document.

InitialFieldRequest dataclass

InitialFieldRequest(order: int, page_no: int, dimensions: FieldDimension | Mapping[str, Any], *, field_name: Optional[str] = None)

Definition: InitialFieldRequest

Attributes

order instance-attribute
order: int

The order of the user in workflow for which the field is being added.

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the field that is to be added. If not provided, system will assign an unique auto generated name to the field.

InitialFillingRequest dataclass

InitialFillingRequest(field_name: str, image: str, apply_to_all: bool, *, method: Optional[HandSignature] = None)

Definition: InitialFillingRequest

Attributes

field_name instance-attribute
field_name: str

Unique identifier of the field in the document.

image instance-attribute
image: str

Base64 image used for the filling of the initials.

apply_to_all instance-attribute
apply_to_all: bool

True if all initials are to be filled.

UpdateInitialFieldRequest dataclass

UpdateInitialFieldRequest(field_name: str, page_no: int, dimensions: FieldDimension | Mapping[str, Any], *, renamed_as: Optional[str] = None)

Definition: UpdateInitialFieldRequest

Attributes

field_name instance-attribute
field_name: str

Current name of the field, that is to be updated.

renamed_as class-attribute instance-attribute
renamed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

Updated name of the field if renaming is intended.

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

InPersonFieldRequest dataclass

InPersonFieldRequest(order: int, page_no: int, placeholder: str, dimensions: FieldDimension | Mapping[str, Any], *, field_name: Optional[str] = None, display: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, authentication_signing: Optional[SignatureFieldAuthentication | Mapping[str, Any]] = None)

Definition: InPersonFieldRequest

Attributes

order instance-attribute
order: int

The order of the user in workflow for which the field is being added.

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the field that is to be added. If not provided, system will assign an unique auto generated name to the field.

placeholder instance-attribute
placeholder: str

String identifier for the inperson field, it can be Customer, Jack, CEO etc.

display class-attribute instance-attribute
display: Optional[str] = dataclass_field(default=None, kw_only=True)

Visibility of the field that is to be added, possible values are "VISIBLE" and "INVISIBLE"

level_of_assurance class-attribute instance-attribute
level_of_assurance: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

Level Of Assurance to be updated. Possible Values are "ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SEAL", "QUALIFIED_ELECTRONIC_SEAL", "ELECTRONIC_SIGNATURE"

UpdateInPersonFieldRequest dataclass

UpdateInPersonFieldRequest(field_name: str, page_no: int, *, renamed_as: Optional[str] = None, placeholder: Optional[str] = None, dimensions: Optional[FieldDimension | Mapping[str, Any]] = None, display: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, authentication_signing: Optional[SignatureFieldAuthentication | Mapping[str, Any]] = None)

Definition: UpdateInPersonFieldRequest

Attributes

field_name instance-attribute
field_name: str

Current name of the field, that is to be updated.

renamed_as class-attribute instance-attribute
renamed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

updated name of the field, if renaming is intended.

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

placeholder class-attribute instance-attribute
placeholder: Optional[str] = dataclass_field(default=None, kw_only=True)

String identifier for the in-person field, it can be Customer, Jack, CEO etc.

display class-attribute instance-attribute
display: Optional[str] = dataclass_field(default=None, kw_only=True)

Visibility of the field that is to be updated, possible values are "VISIBLE" and "INVISIBLE"

level_of_assurance class-attribute instance-attribute
level_of_assurance: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

Level Of Assurance to be updated. Possible Values are "ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SEAL", "QUALIFIED_ELECTRONIC_SEAL", "ELECTRONIC_SIGNATURE"

DigitalSignatureFieldRequest dataclass

DigitalSignatureFieldRequest(order: int, page_no: int, *, field_name: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, dimensions: Optional[FieldDimension | Mapping[str, Any]] = None, display: Optional[str] = None, authentication_signing: Optional[SignatureFieldAuthentication | Mapping[str, Any]] = None)

Definition: DigitalSignatureFieldRequest

Attributes

order instance-attribute
order: int

Order of the recipient for which the field is being created.

page_no instance-attribute
page_no: int

Page number at which the field is about to be created.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

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"

display class-attribute instance-attribute
display: Optional[str] = dataclass_field(default=None, kw_only=True)

Visibility of the field that is to be added, possible values are "VISIBLE" and "INVISIBLE"

UpdateDigitalSignatureFieldRequest dataclass

UpdateDigitalSignatureFieldRequest(field_name: str, page_no: int, *, level_of_assurance: Optional[List[str]] = None, renamed_as: Optional[str] = None, dimensions: Optional[FieldDimension | Mapping[str, Any]] = None, display: Optional[str] = None, authentication_signing: Optional[SignatureFieldAuthentication | Mapping[str, Any]] = None)

Definition: UpdateDigitalSignatureFieldRequest

Attributes

field_name instance-attribute
field_name: str

Current name of the field, which is to be updated.

level_of_assurance class-attribute instance-attribute
level_of_assurance: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

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
renamed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

Updated name of the field if renaming of the field is intended.

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

display class-attribute instance-attribute
display: Optional[str] = dataclass_field(default=None, kw_only=True)

Visibility of the field that is to be updated, possible values are "VISIBLE" and "INVISIBLE"

CheckBoxFieldRequest dataclass

CheckBoxFieldRequest(order: int, page_no: int, dimensions: FieldDimension | Mapping[str, Any], *, field_name: Optional[str] = None, value: Optional[str] = None, validation_rule: Optional[str] = None)

Definition: CheckBoxFieldRequest

Attributes

order instance-attribute
order: int

The order of the user in workflow for which the field is being added.

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Value of the field. Possible values are "true" or "false"

validation_rule class-attribute instance-attribute
validation_rule: Optional[str] = dataclass_field(default=None, kw_only=True)

One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".

UpdateCheckBoxFieldRequest dataclass

UpdateCheckBoxFieldRequest(field_name: str, page_no: int, dimensions: FieldDimension | Mapping[str, Any], *, renamed_as: Optional[str] = None, value: Optional[str] = None, validation_rule: Optional[str] = None)

Definition: UpdateCheckBoxFieldRequest

Attributes

field_name instance-attribute
field_name: str

Current name of the field, that is to be updated.

renamed_as class-attribute instance-attribute
renamed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

Updated name of the field if renaming is intended.

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

Value of the field. Possible values are "true" or "false"

validation_rule class-attribute instance-attribute
validation_rule: Optional[str] = dataclass_field(default=None, kw_only=True)

One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".

TextBoxFieldRequest dataclass

TextBoxFieldRequest(order: int, page_no: int, type_: TextboxType, max_length: int, field_type: FieldType, validation_rule: ValidationRule, font: Font | Mapping[str, Any], dimensions: FieldDimension | Mapping[str, Any], multiline: bool, *, value: Optional[str] = None, placeholder: Optional[str] = None, format: Optional[str] = None, field_name: Optional[str] = None, validation: Optional[FieldValidationValue | Mapping[str, Any]] = None)

Definition: TextBoxFieldRequest

Attributes

order instance-attribute
order: int

The order of the user in workflow for which the field is being added.

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

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 instance-attribute
max_length: int

Maximum length of the value allowed in the field. Must between 1 - 9999

format class-attribute instance-attribute
format: Optional[str] = dataclass_field(default=None, kw_only=True)

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
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the field that is to be added. If not provided, system will assign an unique auto generated name to the field.

multiline instance-attribute
multiline: bool

If set to true, text area field would be created

UpdateTextBoxFieldRequest dataclass

UpdateTextBoxFieldRequest(field_name: str, page_no: int, max_length: int, field_type: FieldType, validation_rule: ValidationRule, *, renamed_as: Optional[str] = None, value: Optional[str] = None, font: Optional[Font | Mapping[str, Any]] = None, dimensions: Optional[FieldDimension | Mapping[str, Any]] = None, placeholder: Optional[str] = None, format: Optional[str] = None, validation: Optional[FieldValidationValue | Mapping[str, Any]] = None)

Definition: UpdateTextBoxFieldRequest

Attributes

field_name instance-attribute
field_name: str

Current name of the field, that is to be updated.

renamed_as class-attribute instance-attribute
renamed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

Updated name of the field if renaming is intended.

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

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 instance-attribute
max_length: int

Maximum length of the value allowed in the field. Must between 1 - 9999

placeholder class-attribute instance-attribute
placeholder: Optional[str] = dataclass_field(default=None, kw_only=True)

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
format: Optional[str] = dataclass_field(default=None, kw_only=True)

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: int, page_no: int, validation_rule: ValidationRule, radio_group_name: str, dimensions: FieldDimension | Mapping[str, Any], *, field_name: Optional[str] = None, value: Optional[str] = None)

Definition: RadioBoxFieldRequest

Attributes

order instance-attribute
order: int

The order of the user in workflow for which the field is being added.

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Value of the field. Possible values are "true" or "false"

UpdateRadioBoxFieldRequest dataclass

UpdateRadioBoxFieldRequest(field_name: str, page_no: int, validation_rule: ValidationRule, radio_group_name: str, dimensions: FieldDimension | Mapping[str, Any], *, renamed_as: Optional[str] = None, value: Optional[str] = None)

Definition: UpdateRadioBoxFieldRequest

Attributes

field_name instance-attribute
field_name: str

Current name of the field, that is to be updated.

renamed_as class-attribute instance-attribute
renamed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

Updated name of the field if renaming is intended.

page_no instance-attribute
page_no: int

Page number on which the field is to be created.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

Value of the field. Possible values are "true" or "false"

radio_group_name instance-attribute
radio_group_name: str

The group name to which the field belongs.

WorkSpaceMembers dataclass

WorkSpaceMembers(name: str, email: str)

Definition: WorkSpaceMembers

Attributes

name instance-attribute
name: str

Name of work space member

email instance-attribute
email: str

Email Address of work space member

WorkSpaceOwner dataclass

WorkSpaceOwner(name: str, email: str)

Definition: WorkSpaceOwner

Attributes

name instance-attribute
name: str

Name of work space owner

email instance-attribute
email: str

Email Address of work space owner

UploadDocumentLibraryCertifyResponse dataclass

UploadDocumentLibraryCertifyResponse(enabled: bool, *, allowed_permissions: Optional[List[str]] = None, default_permission: Optional[str] = None, permission: Optional[str] = None)

Definition: UploadDocumentLibraryCertifyResponse

Attributes

enabled instance-attribute
enabled: bool

True if certify signature is enabled for the document.

allowed_permissions class-attribute instance-attribute
allowed_permissions: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

Set of allowed certify permission levels for the document.

default_permission class-attribute instance-attribute
default_permission: Optional[str] = dataclass_field(default=None, kw_only=True)

Selected permission level for the certify signature settings.

permission class-attribute instance-attribute
permission: Optional[str] = dataclass_field(default=None, kw_only=True)

It is the certify permissions to be applied on the PDF document when the first signature is created. The possible values are "NO_CHANGES_ALLOWED", "FORM_FILLING_ALLOWED" and "FORM_FILLING_WITH_ANNOTATIONS_ALLOWED".

UploadDocumentLibraryTemplateResponse dataclass

UploadDocumentLibraryTemplateResponse(read_only: bool, *, template_name: Optional[str] = None)

Definition: UploadDocumentLibraryTemplateResponse

Attributes

template_name class-attribute instance-attribute
template_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the template applied on the document.

read_only instance-attribute
read_only: bool

True if the applied template is read only. User will not be able to make any changes if a read only template is applied.

WorkflowPermissionsUpdateRequest dataclass

WorkflowPermissionsUpdateRequest(apply_to_all: bool, permissions: WorkflowPermission | Mapping[str, Any])

Definition: WorkflowPermissionsUpdateRequest

Attributes

apply_to_all instance-attribute
apply_to_all: bool

True, if the permissions are to be applied on all the recipients in the workflow.

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 | Mapping[str, Any]] = None, attachment: Optional[AttachmentPermissionRequest | Mapping[str, Any]] = None)

Definition: WorkflowPermission

Attributes

print class-attribute instance-attribute
print: Optional[bool] = dataclass_field(default=None, kw_only=True)

It defines whether recipient is allowed to print the document.

download class-attribute instance-attribute
download: Optional[bool] = dataclass_field(default=None, kw_only=True)

It defines whether recipient is allowed to download the document.

add_text class-attribute instance-attribute
add_text: Optional[bool] = dataclass_field(default=None, kw_only=True)

It defines whether recipient is allowed to add text fields in the document.

change_recipients class-attribute instance-attribute
change_recipients: Optional[bool] = dataclass_field(default=None, kw_only=True)

It allows the user to change any recipient who has not signed yet.

add_attachment class-attribute instance-attribute
add_attachment: Optional[bool] = dataclass_field(default=None, kw_only=True)

It defines whether recipient is allowed to add attachments in the PDF document.

AttachmentPermissionRequest dataclass

AttachmentPermissionRequest(enabled: bool)

Definition: AttachmentPermissionRequest

Attributes

enabled instance-attribute
enabled: bool

Enabled

PermissionLegalNotice dataclass

PermissionLegalNotice(enabled: bool, *, legal_notice_name: Optional[str] = None)

Definition: PermissionLegalNotice

Attributes

enabled instance-attribute
enabled: bool

True, if legal notice is enabled.

legal_notice_name class-attribute instance-attribute
legal_notice_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the legal notice selected for the recipient.

DocumentLogsActions dataclass

DocumentLogsActions(log_id: int, *, 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 | Mapping[str, Any]] = None)

Definition: DocumentLogsActions

Attributes

log_id instance-attribute
log_id: int

ID of an action performed on the document.

date_time class-attribute instance-attribute
date_time: Optional[str] = dataclass_field(default=None, kw_only=True)

Date and time when the action was performed.

user_email class-attribute instance-attribute
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

Email of the user who performed the action.

user_name class-attribute instance-attribute
user_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the user who performed the action.

enterprise_name class-attribute instance-attribute
enterprise_name: Optional[str] = dataclass_field(default=None, kw_only=True)

The name of Enterprise to which the user belongs. If the user doesn't belong to an enterprise, then this element is not present.

DocumentLogsActionsInformation dataclass

DocumentLogsActionsInformation(*, type_: Optional[str] = None, value: Optional[str] = None)

Definition: DocumentLogsActionsInformation

Attributes

type_ class-attribute instance-attribute
type_: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'type'})

The type of extra information about the action e.g. "SIGNING_METHOD" which means what signing method user used to sign the document.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

The value of the extra information about the action e.g. "LOCAL" which means user signed the document using locally held credentials.

WorkflowUserUpdateRequest dataclass

WorkflowUserUpdateRequest(role: WorkflowCollaboratorRole, delivery_method: DeliveryMethod, *, user_email: Optional[str] = None, user_name: Optional[str] = None, email_notification: Optional[bool] = None, mobile_number: Optional[str] = None, signing_order: Optional[int] = None, email_language_code: Optional[str] = None)

Definition: WorkflowUserUpdateRequest

Attributes

user_email class-attribute instance-attribute
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

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
user_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the recipient to be updated. If no value is provided, old value will be retained.

email_notification class-attribute instance-attribute
email_notification: Optional[bool] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Mobile number. If no value is provided, old value will be retained.

signing_order class-attribute instance-attribute
signing_order: Optional[int] = dataclass_field(default=None, kw_only=True)

Order in which the workflow will be signed by the recipients. This signing order is important when workflow type is set to "CUSTOM".

email_language_code class-attribute instance-attribute
email_language_code: Optional[str] = dataclass_field(default=None, kw_only=True)

email language code

WorkflowUserReorderRequest dataclass

WorkflowUserReorderRequest(order: int)

Definition: WorkflowUserReorderRequest

Attributes

order instance-attribute
order: int

The order of the recipient which is to be updated.

UpdateReminderRequest dataclass

UpdateReminderRequest(apply_to_all: bool, enabled: bool, remind_after: int, *, frequency: Optional[str] = None, repeat: Optional[RepeatRequest | Mapping[str, Any]] = None)

Definition: UpdateReminderRequest

Attributes

apply_to_all instance-attribute
apply_to_all: bool

True, if reminder settings are to be applied on all the recipients in the workflow.

enabled instance-attribute
enabled: bool

True, if reminder settings are to be enabled.

frequency class-attribute instance-attribute
frequency: Optional[str] = dataclass_field(default=None, kw_only=True)

Reminder Frequency. Possible Values are DAYS | HOURS.

remind_after instance-attribute
remind_after: int

Required, in case of enabled property will true. The number of days after which the first reminder would be sent to workflow user.

RepeatRequest dataclass

RepeatRequest(enabled: bool, keep_reminding_after: int, total_reminders: int, *, frequency: Optional[str] = None)

Definition: RepeatRequest

Attributes

enabled instance-attribute
enabled: bool

True, if subsequent reminders are enabled.

frequency class-attribute instance-attribute
frequency: Optional[str] = dataclass_field(default=None, kw_only=True)

Repeat Reminder Frequency. Possible Values are DAYS | HOURS.

keep_reminding_after instance-attribute
keep_reminding_after: int

Required, in case of enabled property will true. The number of days after which the subsequent reminders would be sent to workflow user.

total_reminders instance-attribute
total_reminders: int

Required, in case of enabled property will true. The number of subsequent reminders would be sent to workflow user.

WorflowGroupRequest dataclass

WorflowGroupRequest(email_notification: bool, role: CollaboratorRole, *, group_name: Optional[str] = None, signing_order: Optional[int] = None)

Definition: WorflowGroupRequest

Attributes

group_name class-attribute instance-attribute
group_name: Optional[str] = dataclass_field(default=None, kw_only=True)

The name of the new group to be added in workflow.

email_notification instance-attribute
email_notification: bool

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.

signing_order class-attribute instance-attribute
signing_order: Optional[int] = dataclass_field(default=None, kw_only=True)

Order in which the workflow will be signed by the recipients. This signing order is important when workflow type is set to "CUSTOM".

PlaceholderRequest dataclass

PlaceholderRequest(email_notification: bool, role: CollaboratorRole, *, placeholder: Optional[str] = None, signing_order: Optional[int] = None)

Definition: PlaceholderRequest

Attributes

placeholder class-attribute instance-attribute
placeholder: Optional[str] = dataclass_field(default=None, kw_only=True)

The name of the new placeholder to be added in workflow.

email_notification instance-attribute
email_notification: bool

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.

signing_order class-attribute instance-attribute
signing_order: Optional[int] = dataclass_field(default=None, kw_only=True)

Order in which the workflow will be signed by the recipients. This signing order is important when workflow type is set to "CUSTOM".

WorkflowPlaceholderUpdateRequest dataclass

WorkflowPlaceholderUpdateRequest(role: WorkflowCollaboratorRole, *, placeholder: Optional[str] = None, email_notification: Optional[bool] = None, signing_order: Optional[int] = None)

Definition: WorkflowPlaceholderUpdateRequest

Attributes

placeholder class-attribute instance-attribute
placeholder: Optional[str] = dataclass_field(default=None, kw_only=True)

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
email_notification: Optional[bool] = dataclass_field(default=None, kw_only=True)

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.

signing_order class-attribute instance-attribute
signing_order: Optional[int] = dataclass_field(default=None, kw_only=True)

Order in which the workflow will be signed by the recipients. This signing order is important when workflow type is set to "CUSTOM".

UpdateWorkSpaceRequest dataclass

UpdateWorkSpaceRequest(*, name: Optional[str] = None, members: Optional[List[WorkSpaceMembers | Mapping[str, Any]]] = None)

Definition: UpdateWorkSpaceRequest

Attributes

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of shared space

members class-attribute instance-attribute
members: Optional[List[WorkSpaceMembers | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

Members of shared space

MoveToRequest dataclass

MoveToRequest(folder_name: str)

Definition: MoveToRequest

Attributes

folder_name instance-attribute
folder_name: str

Target folder name in which package need to move

DigitalSignatureFieldResponse dataclass

DigitalSignatureFieldResponse(order: int, display_order: int, page_no: int, embedded: bool, *, field_name: Optional[str] = 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 | Mapping[str, Any]] = None, verification: Optional[VerificationResponse | Mapping[str, Any]] = None, nid: Optional[str] = None, display: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, authentication: Optional[FieldAuthentication | Mapping[str, Any]] = None)

Definition: DigitalSignatureFieldResponse

Attributes

order instance-attribute
order: int

Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.

display_order instance-attribute
display_order: int

Display order according to the SigningHub viewer.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

embedded instance-attribute
embedded: bool

True, if field is part of the PDF document.

type_ class-attribute instance-attribute
type_: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'type'})

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
process_status: Optional[str] = dataclass_field(default=None, kw_only=True)

Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.

processed_on class-attribute instance-attribute
processed_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date time on which the document is processed.

processed_as class-attribute instance-attribute
processed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

User who processed the field as COLLABORATOR, DELEGATEE, GROUP_MEMBER or OWNER.

created_on class-attribute instance-attribute
created_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date time on which the field is added

processed_by class-attribute instance-attribute
processed_by: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the user who processed the field.

display class-attribute instance-attribute
display: Optional[str] = dataclass_field(default=None, kw_only=True)

Returns the visibility value of the digital signature field, possible values are "VISIBLE" and "INVISIBLE".

FieldDimenssionResponse dataclass

FieldDimenssionResponse(*, field: Optional[FieldResponse | Mapping[str, Any]] = None, page: Optional[PageResponse | Mapping[str, Any]] = None)

Definition: FieldDimenssionResponse

FieldResponse dataclass

FieldResponse(x: float, y: float, width: float, height: float)

Definition: FieldResponse

Attributes

x instance-attribute
x: float

Left location of the field in pixel.

y instance-attribute
y: float

Top location of the field in pixel.

width instance-attribute
width: float

Width of the field in pixel.

height instance-attribute
height: float

Height of the field in pixel.

PageResponse dataclass

PageResponse(width: float, height: float)

Definition: PageResponse

Attributes

width instance-attribute
width: float

Width of the page where field is placed in the PDF.

height instance-attribute
height: float

Height of the page where field is placed in the PDF.

FieldAuthentication dataclass

FieldAuthentication(enabled: bool, *, sms_otp: Optional[AccessSecuritySmsOtpResponse | Mapping[str, Any]] = None, totp: Optional[AccessSecurityTOTPResponse | Mapping[str, Any]] = None)

Definition: FieldAuthentication

Attributes

enabled instance-attribute
enabled: bool

True, if authentications are enabled for the electronic signature fields.

AccessSecurityTOTPResponse dataclass

AccessSecurityTOTPResponse(enabled: bool)

Definition: AccessSecurityTOTPResponse

Attributes

enabled instance-attribute
enabled: bool

True, if TOTP authentication is enabled for the package.

HandSignatureFieldResponse dataclass

HandSignatureFieldResponse(order: int, display_order: int, page_no: int, embedded: bool, *, field_name: Optional[str] = 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 | Mapping[str, Any]] = None, nid: Optional[str] = None)

Definition: HandSignatureFieldResponse

Attributes

order instance-attribute
order: int

Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.

display_order instance-attribute
display_order: int

Display order according to the SigningHub viewer.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

embedded instance-attribute
embedded: bool

True, if field is part of the PDF document.

type_ class-attribute instance-attribute
type_: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'type'})

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
process_status: Optional[str] = dataclass_field(default=None, kw_only=True)

Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.

processed_on class-attribute instance-attribute
processed_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date time on which the document is processed.

processed_as class-attribute instance-attribute
processed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

User who processed the field as COLLABORATOR,DELEGATEE,GROUP_MEMBER or OWNER.

processed_by class-attribute instance-attribute
processed_by: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the user who processed the field.

ElectronicSignatureFieldResponse dataclass

ElectronicSignatureFieldResponse(order: int, display_order: int, page_no: int, embedded: bool, *, field_name: Optional[str] = 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 | Mapping[str, Any]] = None, signature_sub_type: Optional[str] = None, authentication: Optional[FieldAuthentication | Mapping[str, Any]] = None, verification: Optional[VerificationResponse | Mapping[str, Any]] = None, nid: Optional[str] = None, display: Optional[str] = None)

Definition: ElectronicSignatureFieldResponse

Attributes

order instance-attribute
order: int

Email address of the user who processed the field.

display_order instance-attribute
display_order: int

Display order according to the SigningHub viewer.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

embedded instance-attribute
embedded: bool

True, if field is part of the PDF document.

type_ class-attribute instance-attribute
type_: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'type'})

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
process_status: Optional[str] = dataclass_field(default=None, kw_only=True)

Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.

processed_on class-attribute instance-attribute
processed_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date time on which the document is processed.

processed_as class-attribute instance-attribute
processed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

User who processed the field as COLLABORATOR,DELEGATEE,GROUP_MEMBER or OWNER.

processed_by class-attribute instance-attribute
processed_by: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the user who processed the field.

signature_sub_type class-attribute instance-attribute
signature_sub_type: Optional[str] = dataclass_field(default=None, kw_only=True)

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.

display class-attribute instance-attribute
display: Optional[str] = dataclass_field(default=None, kw_only=True)

Returns the visibility value of the electronic signature field, possible values are "VISIBLE" and "INVISIBLE".

InitialFieldResponse dataclass

InitialFieldResponse(order: int, display_order: int, page_no: int, embedded: bool, *, field_name: 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 | Mapping[str, Any]] = None)

Definition: InitialFieldResponse

Attributes

order instance-attribute
order: int

Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.

display_order instance-attribute
display_order: int

Display order according to the SigningHub viewer.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

process_status class-attribute instance-attribute
process_status: Optional[str] = dataclass_field(default=None, kw_only=True)

Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.

processed_on class-attribute instance-attribute
processed_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date time on which the document is processed.

processed_as class-attribute instance-attribute
processed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

User who processed the field as COLLABORATOR,DELEGATEE,GROUP_MEMBER or OWNER.

processed_by class-attribute instance-attribute
processed_by: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the user who processed the field.

embedded instance-attribute
embedded: bool

True, if field is part of the PDF document.

InPersonFieldResponse dataclass

InPersonFieldResponse(order: int, display_order: int, page_no: int, embedded: bool, *, field_name: Optional[str] = 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 | Mapping[str, Any]] = None, verification: Optional[VerificationResponse | Mapping[str, Any]] = None, display: Optional[str] = None, level_of_assurance: Optional[List[str]] = None, authentication: Optional[FieldAuthentication | Mapping[str, Any]] = None)

Definition: InPersonFieldResponse

Attributes

order instance-attribute
order: int

Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.

display_order instance-attribute
display_order: int

Display order according to the SigningHub viewer.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

embedded instance-attribute
embedded: bool

True, if field is part of the PDF document.

process_status class-attribute instance-attribute
process_status: Optional[str] = dataclass_field(default=None, kw_only=True)

Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.

processed_on class-attribute instance-attribute
processed_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date time on which the document is processed.

processed_as class-attribute instance-attribute
processed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

User who processed the field as COLLABORATOR,DELEGATEE,GROUP_MEMBER or OWNER.

processed_by class-attribute instance-attribute
processed_by: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the user who processed the field.

placeholder class-attribute instance-attribute
placeholder: Optional[str] = dataclass_field(default=None, kw_only=True)

Name of the in-person signer or placeholder e.g., Customer, Sales Representative etc.

signature_sub_type class-attribute instance-attribute
signature_sub_type: Optional[str] = dataclass_field(default=None, kw_only=True)

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
display: Optional[str] = dataclass_field(default=None, kw_only=True)

Returns the visibility value of the inperson field, possible values are "VISIBLE" and "INVISIBLE".

level_of_assurance class-attribute instance-attribute
level_of_assurance: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

In Person selected level of assurances

TextFieldResponse dataclass

TextFieldResponse(required: bool, order: int, tab_order: int, display_order: int, page_no: int, embedded: bool, read_only: bool, visible: bool, multiline: bool, max_length: int, field_rotation: int, *, field_name: Optional[str] = None, type_: Optional[str] = None, value: Optional[str] = None, validation_rule: Optional[str] = None, validation: Optional[FieldValidationValue | Mapping[str, Any]] = None, font: Optional[FontResponse | Mapping[str, Any]] = 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, align: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse | Mapping[str, Any]] = None)

Definition: TextFieldResponse

Attributes

required instance-attribute
required: bool

True if field required in pdf

order instance-attribute
order: int

Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.

tab_order instance-attribute
tab_order: int

Tab order in the PDF document

display_order instance-attribute
display_order: int

Display order according to the SigningHub viewer.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

embedded instance-attribute
embedded: bool

True, if field is part of the PDF document.

type_ class-attribute instance-attribute
type_: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'type'})

Type of the text field, possible values are "TEXT", "NAME", "COMPANY", "JOBTITLE", "EMAIL", "DATE".

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

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 instance-attribute
read_only: bool

True, if the field is marked read only in the PDF document.

validation_rule class-attribute instance-attribute
validation_rule: Optional[str] = dataclass_field(default=None, kw_only=True)

One or more rules for validation of the fields, possible values are "MANDATORY" or "OPTIONAL".

visible instance-attribute
visible: bool

True, if the field is not hidden in the PDF document.

multiline instance-attribute
multiline: bool

True, if the field is multi line in the PDF document.

max_length instance-attribute
max_length: int

Maximum content length allowed to be filled in the field.

format_type class-attribute instance-attribute
format_type: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Placeholder text for the textbox field.

format class-attribute instance-attribute
format: Optional[str] = dataclass_field(default=None, kw_only=True)

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: Optional[str] = dataclass_field(default=None, kw_only=True)

Color of the text in the form fields.

border_color class-attribute instance-attribute
border_color: Optional[str] = dataclass_field(default=None, kw_only=True)

Border color of the form field.

tooltip class-attribute instance-attribute
tooltip: Optional[str] = dataclass_field(default=None, kw_only=True)

tooltip of the form field.

field_rotation instance-attribute
field_rotation: int

Field Rotation

align class-attribute instance-attribute
align: Optional[str] = dataclass_field(default=None, kw_only=True)

Text alignment for the form field. Possible values are "RIGHT", "LEFT", "CENTER" or "JUSTIFY"

RadioFieldResponse dataclass

RadioFieldResponse(required: bool, order: int, tab_order: int, display_order: int, page_no: int, embedded: bool, value: bool, read_only: bool, checked: bool, visible: bool, field_rotation: int, *, field_name: Optional[str] = None, type_: Optional[str] = None, validation_rule: Optional[str] = None, radio_group_name: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse | Mapping[str, Any]] = None, color: Optional[str] = None, border_color: Optional[str] = None, tooltip: Optional[str] = None)

Definition: RadioFieldResponse

Attributes

required instance-attribute
required: bool

True if field required in pdf

order instance-attribute
order: int

Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.

tab_order instance-attribute
tab_order: int

Tab order in the PDF document.

display_order instance-attribute
display_order: int

Display order according to the SigningHub viewer.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

embedded instance-attribute
embedded: bool

True, if field is part of the PDF document.

value instance-attribute
value: bool

Value of the field.

read_only instance-attribute
read_only: bool

True, if the field is marked readonly in the PDF document.

validation_rule class-attribute instance-attribute
validation_rule: Optional[str] = dataclass_field(default=None, kw_only=True)

One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".

radio_group_name class-attribute instance-attribute
radio_group_name: Optional[str] = dataclass_field(default=None, kw_only=True)

The group name to which the field belongs.

checked instance-attribute
checked: bool

True, if the field is selected

visible instance-attribute
visible: bool

True if the field is not hidden in the PDF document.

color class-attribute instance-attribute
color: Optional[str] = dataclass_field(default=None, kw_only=True)

Color of the text in the form fields.

border_color class-attribute instance-attribute
border_color: Optional[str] = dataclass_field(default=None, kw_only=True)

Border color of the form field.

tooltip class-attribute instance-attribute
tooltip: Optional[str] = dataclass_field(default=None, kw_only=True)

tooltip of the form field.

field_rotation instance-attribute
field_rotation: int

Field Rotation

CheckboxFieldResponse dataclass

CheckboxFieldResponse(required: bool, order: int, tab_order: int, display_order: int, page_no: int, embedded: bool, value: bool, read_only: bool, checked: bool, visible: bool, field_rotation: int, *, field_name: Optional[str] = None, type_: Optional[str] = None, validation_rule: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse | Mapping[str, Any]] = None, color: Optional[str] = None, border_color: Optional[str] = None, tooltip: Optional[str] = None)

Definition: CheckboxFieldResponse

Attributes

required instance-attribute
required: bool

True if field required in pdf

order instance-attribute
order: int

Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.

tab_order instance-attribute
tab_order: int

Tab order in the PDF document

display_order instance-attribute
display_order: int

Display order according to the SigningHub viewer.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

embedded instance-attribute
embedded: bool

True, if field is part of the PDF document.

value instance-attribute
value: bool

Value of the field.

read_only instance-attribute
read_only: bool

True, if the field is marked read only in the PDF document.

checked instance-attribute
checked: bool

True if the field is selected.

visible instance-attribute
visible: bool

True if the field is not hidden in the PDF document.

validation_rule class-attribute instance-attribute
validation_rule: Optional[str] = dataclass_field(default=None, kw_only=True)

One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".

color class-attribute instance-attribute
color: Optional[str] = dataclass_field(default=None, kw_only=True)

Color of the text in the form fields.

border_color class-attribute instance-attribute
border_color: Optional[str] = dataclass_field(default=None, kw_only=True)

Border color of the form field.

tooltip class-attribute instance-attribute
tooltip: Optional[str] = dataclass_field(default=None, kw_only=True)

tooltip of the form field.

field_rotation instance-attribute
field_rotation: int

Field Rotation

DropdownFieldResponse dataclass

DropdownFieldResponse(required: bool, order: int, tab_order: int, display_order: int, page_no: int, embedded: bool, read_only: bool, visible: bool, field_rotation: int, *, field_name: Optional[str] = None, validation_rule: Optional[str] = None, value: Optional[str] = None, choices: Optional[List[str]] = None, dimensions: Optional[FieldDimenssionResponse | Mapping[str, Any]] = None, font: Optional[FontResponse | Mapping[str, Any]] = None, color: Optional[str] = None, border_color: Optional[str] = None, tooltip: Optional[str] = None)

Definition: DropdownFieldResponse

Attributes

required instance-attribute
required: bool

True if field required in pdf

order instance-attribute
order: int

Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.

tab_order instance-attribute
tab_order: int

Tab order in the PDF document.

display_order instance-attribute
display_order: int

Display order according to the SigningHub viewer.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

embedded instance-attribute
embedded: bool

True, if field is part of the PDF document.

validation_rule class-attribute instance-attribute
validation_rule: Optional[str] = dataclass_field(default=None, kw_only=True)

One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".

read_only instance-attribute
read_only: bool

True, if the field is marked read only in the PDF document.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

Value of the field .

choices class-attribute instance-attribute
choices: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

Choices available for the dropdown to choose a value from.

visible instance-attribute
visible: bool

True, if the field is not hidden in the PDF document.

color class-attribute instance-attribute
color: Optional[str] = dataclass_field(default=None, kw_only=True)

Color of the text in the form fields.

border_color class-attribute instance-attribute
border_color: Optional[str] = dataclass_field(default=None, kw_only=True)

Border color of the form field.

tooltip class-attribute instance-attribute
tooltip: Optional[str] = dataclass_field(default=None, kw_only=True)

tooltip of the form field.

field_rotation instance-attribute
field_rotation: int

Field Rotation

ListBoxFieldResponse dataclass

ListBoxFieldResponse(order: int, tab_order: int, display_order: int, page_no: int, embedded: bool, read_only: bool, visible: bool, field_rotation: int, *, field_name: Optional[str] = None, validation_rule: Optional[str] = None, value: Optional[str] = None, choices: Optional[List[str]] = None, dimensions: Optional[FieldDimenssionResponse | Mapping[str, Any]] = None, font: Optional[FontResponse | Mapping[str, Any]] = None, color: Optional[str] = None, border_color: Optional[str] = None, tooltip: Optional[str] = None)

Definition: ListBoxFieldResponse

Attributes

order instance-attribute
order: int

Order of the recipient to whom this field is assigned. If the field is not assigned to anyone, value will be null.

tab_order instance-attribute
tab_order: int

Tab order in the PDF document.

display_order instance-attribute
display_order: int

Display order according to the SigningHub viewer.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

embedded instance-attribute
embedded: bool

True, if field is part of the PDF document.

validation_rule class-attribute instance-attribute
validation_rule: Optional[str] = dataclass_field(default=None, kw_only=True)

One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL".

read_only instance-attribute
read_only: bool

True, if the field is marked read only in the PDF document.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

Value of the field.

choices class-attribute instance-attribute
choices: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

Choices available for the dropdown to choose a value from.

visible instance-attribute
visible: bool

True, if the field is not hidden in the PDF document.

color class-attribute instance-attribute
color: Optional[str] = dataclass_field(default=None, kw_only=True)

Color of the text in the form fields.

border_color class-attribute instance-attribute
border_color: Optional[str] = dataclass_field(default=None, kw_only=True)

Border color of the form field.

tooltip class-attribute instance-attribute
tooltip: Optional[str] = dataclass_field(default=None, kw_only=True)

tooltip of the form field.

field_rotation instance-attribute
field_rotation: int

Field Rotation

FontResponse dataclass

FontResponse(size: int, embedded_size: float, *, name: Optional[str] = None)

Definition: FontResponse

Attributes

name class-attribute instance-attribute
name: Optional[str] = dataclass_field(default=None, kw_only=True)

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.

size instance-attribute
size: int

Font size for the text field.

embedded_size instance-attribute
embedded_size: float

Size of the font in the original PDF document.

QrCodeResponse dataclass

QrCodeResponse(page_no: int, *, field_name: Optional[str] = None, type_: Optional[str] = None, value: Optional[str] = None, dimensions: Optional[FieldDimenssionResponse | Mapping[str, Any]] = None, data: Optional[str] = None, options: Optional[QrCodeOptions | Mapping[str, Any]] = None, color: Optional[QrCodeColor | Mapping[str, Any]] = None, logo: Optional[QrCodeLogo | Mapping[str, Any]] = None)

Definition: QrCodeResponse

Attributes

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

type_ class-attribute instance-attribute
type_: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'type'})

Field Type PDF_FIELD_TYPE like QR

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

QrCode generated base64 will be provided inly in draft mode

data class-attribute instance-attribute
data: Optional[str] = dataclass_field(default=None, kw_only=True)

The plain text data to be encoded in the QR code. Default is URL generated to access the related document. e.g. {base_url}/document/{document_unique_id}

AttachmentFieldResponse dataclass

AttachmentFieldResponse(order: int, display_order: int, page_no: int, validation_rule: ValidationRule, *, field_name: Optional[str] = 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, dimensions: Optional[FieldDimenssionResponse | Mapping[str, Any]] = None)

Definition: AttachmentFieldResponse

Attributes

order instance-attribute
order: int

Order of the recipient to whom this field is assigned.

display_order instance-attribute
display_order: int

Display order according to the SigningHub viewer.

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

process_status class-attribute instance-attribute
process_status: Optional[str] = dataclass_field(default=None, kw_only=True)

Whether the field is processed or not. Possible values are UN_PROCESSED, PROCESSED.

processed_on class-attribute instance-attribute
processed_on: Optional[str] = dataclass_field(default=None, kw_only=True)

Date time on which the document is processed.

processed_as class-attribute instance-attribute
processed_as: Optional[str] = dataclass_field(default=None, kw_only=True)

User who processed the field as COLLABORATOR,DELEGATEE,GROUP_MEMBER or OWNER.

processed_by class-attribute instance-attribute
processed_by: Optional[str] = dataclass_field(default=None, kw_only=True)

Email address of the user who processed the field.

attachment_ref_id class-attribute instance-attribute
attachment_ref_id: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'attachmentRefId'})

Attachmet ref id

note class-attribute instance-attribute
note: Optional[str] = dataclass_field(default=None, kw_only=True)

Attachmet note Only in case of "MANDATORY" attachment rule

CommentFieldResponse dataclass

CommentFieldResponse(id: int, page_no: int, unread_count: int, private: bool, *, recipients: Optional[List[CommentFieldRecipientResponse | Mapping[str, Any]]] = None, dimensions: Optional[FieldDimenssionResponse | Mapping[str, Any]] = None)

Definition: CommentFieldResponse

Attributes

id instance-attribute
id: int

Comment field id

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

unread_count instance-attribute
unread_count: int

Unread comments

private instance-attribute
private: bool

Private

recipients class-attribute instance-attribute
recipients: Optional[List[CommentFieldRecipientResponse | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True)

Recipients

UniqueIdentifierFieldResponse dataclass

UniqueIdentifierFieldResponse(page_no: int, *, field_name: Optional[str] = None, value: Optional[str] = None, font: Optional[FontResponse | Mapping[str, Any]] = None, dimensions: Optional[FieldDimenssionResponse | Mapping[str, Any]] = None)

Definition: UniqueIdentifierFieldResponse

Attributes

field_name class-attribute instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True)

Unique identifier of the field.

value class-attribute instance-attribute
value: Optional[str] = dataclass_field(default=None, kw_only=True)

Value of the field.

page_no instance-attribute
page_no: int

Page number of the document on which the field exists.

CommentFieldRecipientResponse dataclass

CommentFieldRecipientResponse(*, user_name: Optional[str] = None, user_email: Optional[str] = None)

Definition: CommentFieldRecipientResponse

Attributes

user_name class-attribute instance-attribute
user_name: Optional[str] = dataclass_field(default=None, kw_only=True)

User name

user_email class-attribute instance-attribute
user_email: Optional[str] = dataclass_field(default=None, kw_only=True)

User email

AssignFieldRequest dataclass

AssignFieldRequest(field_name: str, order: int, *, radio_group_name: Optional[str] = None, level_of_assurance: Optional[List[str]] = None)

Definition: AssignFieldRequest

Attributes

field_name instance-attribute
field_name: str

Name of the signature field that is to be assigned.

radio_group_name class-attribute instance-attribute
radio_group_name: Optional[str] = dataclass_field(default=None, kw_only=True)

provide group name for radio box

order instance-attribute
order: int

The order of the user in workflow, to which the field is being assigned.

level_of_assurance class-attribute instance-attribute
level_of_assurance: Optional[List[str]] = dataclass_field(default=None, kw_only=True)

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, credential: AsyncTokenCredential | AzureKeyCredential, *, max_retry_attempts: int = 3, timeout: float = 30.0, use_exponential_backoff: bool = True, initial_retry_delay_seconds: float = 0.5, maximum_retry_delay_seconds: float = 120.0, retry_jitter_factor: float = 0.1, retry_unsafe_http_methods: bool = False, transport: Optional[AsyncHttpTransport] = None, **kwargs: Any)

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
credential AsyncTokenCredential | AzureKeyCredential

Caller-owned Azure Core credential.

required
max_retry_attempts int

The maximum number of request attempts.

3
timeout float

The network timeout in seconds for each request. The value configures Azure Core retry and transport deadlines. Nonpositive values disable SDK and transport deadlines.

30.0
use_exponential_backoff bool

Whether retries use exponential backoff.

True
initial_retry_delay_seconds float

The initial retry delay in seconds.

0.5
maximum_retry_delay_seconds float

The maximum retry delay in seconds.

120.0
retry_jitter_factor float

The jitter fraction applied to retry delays.

0.1
retry_unsafe_http_methods bool

Whether unsafe HTTP methods may be retried.

False
transport Optional[AsyncHttpTransport]

Optional Azure Core async HTTP transport closed by the client through its asynchronous lifecycle.

None
**kwargs Any

Optional Azure Core pipeline policy settings.

{}

Methods:

attachment_delete_attachment async
attachment_delete_attachment(package_id: int, document_id: int, attachment_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Delete Attachment

Business applications can use this service API to delete the attachment of a document.

Swagger operation ID: V4_Attachment_DeleteAttachment.

Parameters:

Name Type Description Default
package_id int

Package ID of the package to which the document is added.

required
document_id int

ID of the document to which the attachment is added.

required
attachment_id int

ID of the attachment.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

attachment_download_attachment async
attachment_download_attachment(package_id: int, document_id: int, attachment_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Download Attachment

Business applications can use this service API to download the attachment of a document.

Swagger operation ID: V4_Attachment_DownloadAttachment.

Parameters:

Name Type Description Default
package_id int

Package ID of the package to which the document is added.

required
document_id int

ID of the document to which the attachment is added.

required
attachment_id int

ID of the attachment.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

list_attachment_get_attachments
list_attachment_get_attachments(package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]

Get Attachments

Business applications can use this service API to get the attachments of a document.

Returns a single-page Azure Core async collection.

Swagger operation ID: V4_Attachment_GetAttachments.

Parameters:

Name Type Description Default
package_id int

Package ID of the package to which the document is added.

required
document_id int

ID of the document to which the attachment is added.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
AsyncItemPaged[dict[str, Any]]

AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector results. Consume it with async for.

Raises:

Type Description
ConnectorException

If the connector request fails.

attachment_upload_attachment async
attachment_upload_attachment(input: bytes, package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Upload Attachment

Business applications can use this service API to upload a attachment in a document.

Swagger operation ID: V4_Attachment_UploadAttachment.

Parameters:

Name Type Description Default
input bytes

The binary request body.

required
package_id int

Package ID of the package to which the document is added.

required
document_id int

ID of the document to which the attachment needs to be add.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

checkbox_add_check_box async
checkbox_add_check_box(input: CheckBoxFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Checkbox_AddCheckBox.

Parameters:

Name Type Description Default
input CheckBoxFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

checkbox_update_check_box async
checkbox_update_check_box(input: UpdateCheckBoxFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Checkbox_UpdateCheckBox.

Parameters:

Name Type Description Default
input UpdateCheckBoxFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

list_contacts_get
list_contacts_get(record_per_page: int, page_no: int, *, sort_by: Optional[str] = None, asc: Optional[bool] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]

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.

Returns a single-page Azure Core async collection.

Swagger operation ID: V4_Contacts_Get.

Parameters:

Name Type Description Default
record_per_page int

Total number of records to be retrieved in a page.

required
page_no int

Page number to be retrieved.

required
sort_by Optional[str]

Sort the result by possible values are mentioned above.

None
asc Optional[bool]

Order the result set by ascending or descending.

None
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
AsyncItemPaged[dict[str, Any]]

AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector results. Consume it with async for.

Raises:

Type Description
ConnectorException

If the connector request fails.

documents_delete_document async
documents_delete_document(package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Delete Document

Business applications can use this service API to delete a document in a package.

Swagger operation ID: V4_Documents_DeleteDocument.

Parameters:

Name Type Description Default
package_id int

Package ID of the package to which the document is added.

required
document_id int

ID of the document to be deleted.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

documents_download_document_bytes async
documents_download_document_bytes(package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_Documents_DownloadDocumentBytes.

Parameters:

Name Type Description Default
package_id int

Package ID of the package to which the document is added.

required
document_id int

The ID of the document to be downloaded.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

documents_get_certify_policy async
documents_get_certify_policy(package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Get Certify Policy for a document

Business applications can use this service API to get certify signature settings of a document in a package.

Swagger operation ID: V4_Documents_GetCertifyPolicy.

Parameters:

Name Type Description Default
package_id int

Package ID of the package to which the document is added.

required
document_id int

The ID of the document to be downloaded.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

documents_get_document_details async
documents_get_document_details(package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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}".

Swagger operation ID: V4_Documents_GetDocumentDetails.

Parameters:

Name Type Description Default
package_id int

The Package ID of the package to which the document is added.

required
document_id int

The document ID for which the document details are requested.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

documents_rename_document async
documents_rename_document(input: RenameDocumentRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Rename Document

Business applications can use this service API to rename a document in a package.

Swagger operation ID: V4_Documents_RenameDocument.

Parameters:

Name Type Description Default
input RenameDocumentRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID of the package to which the document is added.

required
document_id int

The ID of the document to on which the action is to be performed.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

documents_update_certify_policy async
documents_update_certify_policy(input: UpdateCertifyPolicyRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Documents_UpdateCertifyPolicy.

Parameters:

Name Type Description Default
input UpdateCertifyPolicyRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID of the package to which the document is added.

required
document_id int

The ID of the document on which the action is to be performed.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

documents_upload_from_library async
documents_upload_from_library(package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_Documents_UploadFromLibrary.

Parameters:

Name Type Description Default
package_id int

The Package ID of the package to which the document is being added.

required
document_id int

The library document ID that need to add/updated.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

documents_upload_stream async
documents_upload_stream(input: bytes, package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_Documents_UploadStream.

Parameters:

Name Type Description Default
input bytes

The binary request body.

required
package_id int

Package ID of the package to which the document is being added.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

enterprise_documents_get_enterprise_workflow_access async
enterprise_documents_get_enterprise_workflow_access(package_id: int, order: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_EnterpriseDocuments_GetEnterpriseWorkflowAccess.

Parameters:

Name Type Description Default
package_id int

The package ID for which workflow access security and authentication is to be updated.

required
order int

Order of the recipient in the workflow for which the access security and authentication is to be updated.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

enterprise_documents_update_enterprise_workflow_access async
enterprise_documents_update_enterprise_workflow_access(input: AccessUpdateRequest | Mapping[str, Any], package_id: int, order: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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

Swagger operation ID: V4_EnterpriseDocuments_UpdateEnterpriseWorkflowAccess.

Parameters:

Name Type Description Default
input AccessUpdateRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The package ID for which workflow access security and authentication is to be updated.

required
order int

Order of the recipient in the workflow for which the access security and authentication is to be updated.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

fields_auto_assign_field async
fields_auto_assign_field(input: FieldsAutoAssignFieldInput, package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Fields_AutoAssignField.

Parameters:

Name Type Description Default
input FieldsAutoAssignFieldInput

The request body.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which workflow user needs to be updated.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

fields_auto_place async
fields_auto_place(input: AutoPlaceFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Fields_AutoPlace.

Parameters:

Name Type Description Default
input AutoPlaceFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The ID of the package to which the document is added.

required
document_id int

The ID of the document for which the fields are requested.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

fields_delete_document_field async
fields_delete_document_field(input: DeleteDocumentFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Delete Document Field

Business applications can use this service API to delete a field of document in a package.

Swagger operation ID: V4_Fields_DeleteDocumentField.

Parameters:

Name Type Description Default
input DeleteDocumentFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

fields_fill_form_fields async
fields_fill_form_fields(input: FormFillingRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Fields_FillFormFields.

Parameters:

Name Type Description Default
input FormFillingRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The ID of the document.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

fields_get_all_document_fields async
fields_get_all_document_fields(package_id: int, document_id: int, page_no: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Fields_GetAllDocumentFields.

Parameters:

Name Type Description Default
package_id int

The ID of the package to which the document is added.

required
document_id int

The ID of the document for which the fields are requested.

required
page_no int

Page no of the document for which the fields are requested. If page number is not provided fields of whole document are returned.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

folder_move_package async
folder_move_package(input: MoveToRequest | Mapping[str, Any], package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_Folder_MovePackage.

Parameters:

Name Type Description Default
input MoveToRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package id that need to move to folder.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

initials_add_initial async
initials_add_initial(input: InitialFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Initials_AddInitial.

Parameters:

Name Type Description Default
input InitialFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

initials_fill async
initials_fill(input: InitialFillingRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Initials_Fill.

Parameters:

Name Type Description Default
input InitialFillingRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The ID of the document.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

initials_update_initial async
initials_update_initial(input: UpdateInitialFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Initials_UpdateInitial.

Parameters:

Name Type Description Default
input UpdateInitialFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

in_person_add_in_person async
in_person_add_in_person(input: InPersonFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_InPerson_AddInPerson.

Parameters:

Name Type Description Default
input InPersonFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

in_person_update_in_person async
in_person_update_in_person(input: UpdateInPersonFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_InPerson_UpdateInPerson.

Parameters:

Name Type Description Default
input UpdateInPersonFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

package_add_package async
package_add_package(input: AddDocumentPackageRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_Package_AddPackage.

Parameters:

Name Type Description Default
input AddDocumentPackageRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

package_approve async
package_approve(input: ApproveRequest | Mapping[str, Any], package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Approve Document

Business applications can use this service API to approve a document by a specified user in the order.

Swagger operation ID: V4_Package_Approve.

Parameters:

Name Type Description Default
input ApproveRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The ID of the package to be approved.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

package_decline async
package_decline(input: DeclineRequest | Mapping[str, Any], package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Decline Document

Business applications can use this service API to decline a document by a specified user in the order.

Swagger operation ID: V4_Package_Decline.

Parameters:

Name Type Description Default
input DeclineRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The ID of the package to be declined.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

package_delete_package async
package_delete_package(package_id_bulk_action: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_Package_DeletePackage.

Parameters:

Name Type Description Default
package_id_bulk_action int

Package ID of the package which contains the document.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

package_download_package_bytes async
package_download_package_bytes(package_id_bulk_action: int, *, document_ids: Optional[List[int]] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = 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.

Swagger operation ID: V4_Package_DownloadPackageBytes.

Parameters:

Name Type Description Default
package_id_bulk_action int

The package ID to be downloaded.

required
document_ids Optional[List[int]]

The Document IDs parameter is optional. If x-combine-files is set to true, the documents will be merged based on the mentioned documents of the package.

None
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

package_finish async
package_finish(package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_Package_Finish.

Parameters:

Name Type Description Default
package_id int

The ID of the package to be finished.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

package_gatekeeper_approve async
package_gatekeeper_approve(input: ApproveRequest | Mapping[str, Any], package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Gatekeeper Approve Document

Business applications can use this service API to gatekeeper approve a document by a specified user in the order.

Swagger operation ID: V4_Package_GatekeeperApprove.

Parameters:

Name Type Description Default
input ApproveRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The ID of the package to be approved.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

package_gatekeeper_decline async
package_gatekeeper_decline(input: DeclineRequest | Mapping[str, Any], package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Gatekeeper Decline Document

Business applications can use this service API to gatekeeper decline a document by a specified user in the order.

Swagger operation ID: V4_Package_GatekeeperDecline.

Parameters:

Name Type Description Default
input DeclineRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The ID of the package to be declined.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

list_package_get_all_packages
list_package_get_all_packages(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, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]

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.

Returns a single-page Azure Core async collection.

Swagger operation ID: V4_Package_GetAllPackages.

Parameters:

Name Type Description Default
document_status str

Filter by document status possible values are ALL, DRAFT, PENDING, SIGNED, DECLINED, INPROGRESS, EDITED, REVIEWED, COMPLETED, EXPIRING_IN_SEVEN_DAYS.

required
page_no int

Page number, according the division of records per page.

required
record_per_page int

Number of records that are needed to be fetched in one request.

required
package_name Optional[str]

Package Name.

None
package_id Optional[int]

Package Id.

None
recipient_from Optional[str]

From.

None
recipient_to Optional[str]

To.

None
document_id Optional[int]

Document Id.

None
expiry Optional[int]

Expiry (Days).

None
modified_from Optional[str]

From Modified Date.

None
modified_to Optional[str]

To Modified Date.

None
size_from Optional[int]

From Size (KB).

None
size_to Optional[int]

To Size (KB).

None
certified_documents Optional[bool]

Only certified signed documents.

None
form_fields Optional[bool]

Only documents that have form fields.

None
attachments Optional[bool]

Only documents that have attachments.

None
document_type Optional[str]

Document Type like XML, PDF, DOCX etc.

None
sort_by Optional[str]

Sort the resultant records as per your choice.

None
asc Optional[bool]

Sorted the resultant records by ascending or descending order.

None
document_statuses Optional[List[str]]

Document Type.

None
owned_by Optional[str]

Owned By filter possible values are ME_OTHERS, ME, OTHERS.

None
smart_form Optional[str]

Smart form name.

None
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
AsyncItemPaged[dict[str, Any]]

AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector results. Consume it with async for.

Raises:

Type Description
ConnectorException

If the connector request fails.

package_get_package_details async
package_get_package_details(package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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".

Swagger operation ID: V4_Package_GetPackageDetails.

Parameters:

Name Type Description Default
package_id int

Package ID of the document package.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

package_rename_package async
package_rename_package(input: RenameDocumentPackageRequest | Mapping[str, Any], package_id_bulk_action: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Package_RenamePackage.

Parameters:

Name Type Description Default
input RenameDocumentPackageRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id_bulk_action int

Package ID to change the name of.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

package_submit async
package_submit(package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_Package_Submit.

Parameters:

Name Type Description Default
package_id int

The SigningHub package ID that contains the document to be submitted.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

qr_add_qr_code async
qr_add_qr_code(input: QrCodeRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_QR_AddQRCode.

Parameters:

Name Type Description Default
input QrCodeRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

qr_update_qr_code async
qr_update_qr_code(input: UpdateQrCodeRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_QR_UpdateQRCode.

Parameters:

Name Type Description Default
input UpdateQrCodeRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

radio_add_radio_box async
radio_add_radio_box(input: RadioBoxFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Radio_AddRadioBox.

Parameters:

Name Type Description Default
input RadioBoxFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

radio_update_radio_box async
radio_update_radio_box(input: UpdateRadioBoxFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Radio_UpdateRadioBox.

Parameters:

Name Type Description Default
input UpdateRadioBoxFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

list_settings_get_templates
list_settings_get_templates(record_per_page: int, page_no: int, *, sort_by: Optional[str] = None, asc: Optional[bool] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]

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.

Returns a single-page Azure Core async collection.

Swagger operation ID: V4_Settings_GetTemplates.

Parameters:

Name Type Description Default
record_per_page int

Total number of records to be retrieved in a page.

required
page_no int

Page number to be retrieved.

required
sort_by Optional[str]

Sort by column. Possible Values are CREATED_ON and NAME. Default is sort by CREATED_ON.

None
asc Optional[bool]

The resulting list order. Default resulting list will be descending.

None
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
AsyncItemPaged[dict[str, Any]]

AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector results. Consume it with async for.

Raises:

Type Description
ConnectorException

If the connector request fails.

signature_add_signature async
signature_add_signature(input: DigitalSignatureFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Signature_AddSignature.

Parameters:

Name Type Description Default
input DigitalSignatureFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The package ID for which workflow details need to be updated.

required
document_id int

The document ID where the field is to be added.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

signature_update_signature async
signature_update_signature(input: UpdateDigitalSignatureFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Signature_UpdateSignature.

Parameters:

Name Type Description Default
input UpdateDigitalSignatureFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

signing_bulk_sign_documents async
signing_bulk_sign_documents(input: BulkSignRequest | Mapping[str, Any], package_id_bulk_action: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Signing_BulkSignDocuments.

Parameters:

Name Type Description Default
input BulkSignRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id_bulk_action str

Bulk action to be performed. Possible values are: SIGN | SHARE.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

signing_bulk_sign_status async
signing_bulk_sign_status(input: BulkSignStatusRequest | Mapping[str, Any], bulk_action: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Signing_BulkSignStatus.

Parameters:

Name Type Description Default
input BulkSignStatusRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
bulk_action str

Bulk action to be performed. Possible values are: SIGN | SHARE.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

signing_sign_document async
signing_sign_document(input: SignDocumentRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Signing_SignDocument.

Parameters:

Name Type Description Default
input SignDocumentRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The identifier of the package that contains the document for signature.

required
document_id int

Identifier of the document to be signed.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

list_template_get_enterprise_templates
list_template_get_enterprise_templates(record_per_page: int, page_no: int, *, sort_by: Optional[str] = None, asc: Optional[bool] = None, id: Optional[List[int]] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]

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.

Returns a single-page Azure Core async collection.

Swagger operation ID: V4_Template_GetEnterpriseTemplates.

Parameters:

Name Type Description Default
record_per_page int

Total number of records to be retrieved in a page.

required
page_no int

Page number to be retrieved.

required
sort_by Optional[str]

Sort the result by possible values are mentioned above.

None
asc Optional[bool]

Order the result set by ascending or descending.

None
id Optional[List[int]]

Search by template ids.

None
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
AsyncItemPaged[dict[str, Any]]

AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector results. Consume it with async for.

Raises:

Type Description
ConnectorException

If the connector request fails.

text_box_add_text_box async
text_box_add_text_box(input: TextBoxFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_TextBox_AddTextBox.

Parameters:

Name Type Description Default
input TextBoxFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

text_box_update_text_box async
text_box_update_text_box(input: UpdateTextBoxFieldRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_TextBox_UpdateTextBox.

Parameters:

Name Type Description Default
input UpdateTextBoxFieldRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

Package ID to which the document is added.

required
document_id int

The document ID for which the action is to be taken.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_apply_template async
workflow_apply_template(input: ApplyTemplateRequest | Mapping[str, Any], package_id: int, document_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Workflow_ApplyTemplate.

Parameters:

Name Type Description Default
input ApplyTemplateRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The Package ID of the package to which the template needs to be applied.

required
document_id int

The document ID on which the template needs to be applied. If the value is set to 0, if template is to be applied on all the documents in the package.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_evidence_report_download_bytes async
workflow_evidence_report_download_bytes(package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Get Process Evidence Report

Business applications can use this service API to download the workflow process evidence report of a document.

Swagger operation ID: V4_WorkflowEvidenceReport_DownloadBytes.

Parameters:

Name Type Description Default
package_id int

The ID of the document.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_get_workflow_detail async
workflow_get_workflow_detail(package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Get Workflow Details

Business applications can use this service API to get workflow details for the package.

Swagger operation ID: V4_Workflow_GetWorkflowDetail.

Parameters:

Name Type Description Default
package_id int

The ID of the package to be downloaded.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_get_workflow_history async
workflow_get_workflow_history(package_id: int, page_no: int, records_per_page: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Workflow_GetWorkflowHistory.

Parameters:

Name Type Description Default
package_id int

The ID of the document for which the log is required.

required
page_no int

Page number to be retrieved.

required
records_per_page int

Total number of records to be retrieved in a page.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_get_workflow_reminder async
workflow_get_workflow_reminder(package_id: int, order: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_Workflow_GetWorkflowReminder.

Parameters:

Name Type Description Default
package_id int

The package ID for which workflow reminders to be updated.

required
order int

The order of the user for which the workflow reminders to be updated.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

list_workflow_get_workflow_users
list_workflow_get_workflow_users(package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]

Get Workflow Users

Business applications can use this service API to get workflow details for the package.

Returns a single-page Azure Core async collection.

Swagger operation ID: V4_Workflow_GetWorkflowUsers.

Parameters:

Name Type Description Default
package_id int

The ID of the package to be downloaded.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
AsyncItemPaged[dict[str, Any]]

AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector results. Consume it with async for.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_mark_workflow_completed async
workflow_mark_workflow_completed(package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_Workflow_MarkWorkflowCompleted.

Parameters:

Name Type Description Default
package_id int

The package ID from which the recipient is to be deleted.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_permission_get_workflow_permissions async
workflow_permission_get_workflow_permissions(package_id: int, order: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_WorkflowPermission_GetWorkflowPermissions.

Parameters:

Name Type Description Default
package_id int

The document ID for which workflow user needs to be updated.

required
order int

The order of the user in workflow for which the permissions are requested. By providing the value 0 in order, service would return the permissions of most recently added collaborator in the workflow.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_permission_update_workflow_permissions async
workflow_permission_update_workflow_permissions(input: WorkflowPermissionsUpdateRequest | Mapping[str, Any], package_id: int, order: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_WorkflowPermission_UpdateWorkflowPermissions.

Parameters:

Name Type Description Default
input WorkflowPermissionsUpdateRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The package ID for which workflow permissions to be updated.

required
order int

The order of the recipient for which the workflow permissions to be updated.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_recall_workflow async
workflow_recall_workflow(package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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".

Swagger operation ID: V4_Workflow_RecallWorkflow.

Parameters:

Name Type Description Default
package_id int

The ID of the package to be recalled.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_start_workflow async
workflow_start_workflow(package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_Workflow_StartWorkflow.

Parameters:

Name Type Description Default
package_id int

The document package to be shared.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_update_workflow async
workflow_update_workflow(input: WorkflowDetailUpdateRequest | Mapping[str, Any], package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Workflow_UpdateWorkflow.

Parameters:

Name Type Description Default
input WorkflowDetailUpdateRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The package ID for which workflow details need to be updated.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_update_workflow_post_process async
workflow_update_workflow_post_process(input: PostProcessUpdateRequest | Mapping[str, Any], package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Workflow_UpdateWorkflowPostProcess.

Parameters:

Name Type Description Default
input PostProcessUpdateRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

ID of the document package for which the post processing is being updated.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_update_workflow_reminder async
workflow_update_workflow_reminder(input: UpdateReminderRequest | Mapping[str, Any], package_id: int, order: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_Workflow_UpdateWorkflowReminder.

Parameters:

Name Type Description Default
input UpdateReminderRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The package ID for which workflow reminders to be updated.

required
order int

The order of the user for which the workflow reminders to be updated.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_workflow_add_group async
workflow_workflow_add_group(input: WorkflowWorkflowAddGroupInput, package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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"

Swagger operation ID: V4_Workflow_WorkflowAddGroup.

Parameters:

Name Type Description Default
input WorkflowWorkflowAddGroupInput

The request body.

required
package_id int

ID of the package for which the group is to be added.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_workflow_add_placeholder async
workflow_workflow_add_placeholder(input: WorkflowWorkflowAddPlaceholderInput, package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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"

Swagger operation ID: V4_Workflow_WorkflowAddPlaceholder.

Parameters:

Name Type Description Default
input WorkflowWorkflowAddPlaceholderInput

The request body.

required
package_id int

ID of the package for which the placeholder is to be added.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_workflow_add_user async
workflow_workflow_add_user(input: WorkflowWorkflowAddUserInput, package_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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"

Swagger operation ID: V4_Workflow_WorkflowAddUser.

Parameters:

Name Type Description Default
input WorkflowWorkflowAddUserInput

The request body.

required
package_id int

SigningHub package ID, which the recipients are to be added to.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_workflow_delete_user async
workflow_workflow_delete_user(package_id: int, order: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Delete Workflow User

Business applications can use this service API to delete workflow recipient.

Swagger operation ID: V4_Workflow_WorkflowDeleteUser.

Parameters:

Name Type Description Default
package_id int

The package ID from which the recipient is to be deleted.

required
order int

Order of the recipient in the workflow which is to be deleted.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_workflow_update_placeholder async
workflow_workflow_update_placeholder(input: WorkflowPlaceholderUpdateRequest | Mapping[str, Any], package_id: int, order: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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"

Swagger operation ID: V4_Workflow_WorkflowUpdatePlaceholder.

Parameters:

Name Type Description Default
input WorkflowPlaceholderUpdateRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

ID of the package for which the placeholder is to be added.

required
order int

Order of the recipient in the workflow.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_workflow_user_update async
workflow_workflow_user_update(input: WorkflowUserUpdateRequest | Mapping[str, Any], package_id: int, order: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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".

Swagger operation ID: V4_Workflow_WorkflowUserUpdate.

Parameters:

Name Type Description Default
input WorkflowUserUpdateRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

The package ID for which workflow user needs to be updated.

required
order int

The order of the user in workflow.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

workflow_workflow_user_update_order async
workflow_workflow_user_update_order(input: WorkflowUserReorderRequest | Mapping[str, Any], package_id: int, order: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

Update Workflow Users Order

Business applications can use this service API to update order of the recipient in the workflow.

Swagger operation ID: V4_Workflow_WorkflowUserUpdateOrder.

Parameters:

Name Type Description Default
input WorkflowUserReorderRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
package_id int

ID of the package to which the recipients are to be added.

required
order int

Existing order of the recipient which is to be updated.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

work_space_delete_shared_space async
work_space_delete_shared_space(id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_WorkSpace_DeleteSharedSpace.

Parameters:

Name Type Description Default
id int

Id of shared space that you want to delete.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

work_space_get_shared_space async
work_space_get_shared_space(id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None

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.

Swagger operation ID: V4_WorkSpace_GetSharedSpace.

Parameters:

Name Type Description Default
id int

Id of shared space that you want to get.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.

work_space_update_shared_space async
work_space_update_shared_space(input: UpdateWorkSpaceRequest | Mapping[str, Any], id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.

Swagger operation ID: V4_WorkSpace_UpdateSharedSpace.

Parameters:

Name Type Description Default
input UpdateWorkSpaceRequest | Mapping[str, Any]

The request body. Mapping keys use serialized Swagger wire names.

required
id int

Id of shared space that you want to update.

required
timeout Optional[float]

The request timeout in seconds.

None
headers Optional[Mapping[str, str]]

Additional HTTP request headers.

None
client_request_id Optional[str]

A caller-provided request identifier.

None
response_hook Optional[ConnectorResponseHook]

A callback invoked with the connector response.

None

Returns:

Type Description
dict[str, Any] | None

dict[str, Any] | None: The connector operation result.

Raises:

Type Description
ConnectorException

If the connector request fails.