Download OpenAPI specification:Download
| Main Tags | Most Popular Pages |
|---|---|
|
➤
Welcome
➤ Prerequisites ➤ Access Tokens ➤ Quick Integration ➤ Updates ➤ SignalR ➤ APIs Developer Guide ➤ Appendix |
➤
Authentication
➤ Account Management ➤ Add Package ➤ Upload Document ➤ Get Workflow Details ➤ Sign Document |
This section entails the web services for the Document Preparation i.e. Add/Update/Delete Fields.
APIs for creating, updating, retrieving, replicating, and deleting document fields used during document processing.
Business applications can use this service API to add an attachment 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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| order required | integer <int32> The order of the user in workflow for which the field is being added. |
| page_no required | integer <int32> Page number on which the field is to be created. |
| field_name | string or null <= 255 characters Name of the field that is to be added. If not provided, system will assign an unique auto generated name to the field. |
| validation_rule required | string (Models.ValidationRule) Enum: "OPTIONAL" "MANDATORY" |
| note | string or null Attachment note in case of Mandatory attachment |
required | object (Models.AddCommonFieldDimension) AddCommonFieldDimension |
{- "order": 0,
- "page_no": 0,
- "field_name": "string",
- "validation_rule": "OPTIONAL",
- "note": "string",
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}
}{- "field_name": "string",
- "field_locale": "string",
- "font": {
- "name": "string",
- "size": 0,
- "embedded_size": 0
}
}Business applications can use this service API to update an attachment 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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| field_name required | string [ 1 .. 255 ] characters Current name of the field, that is to be updated. |
| renamed_as | string or null <= 255 characters Updated name of the field if renaming is intended. |
| page_no required | integer <int32> Page number on which the field is to be created. |
| validation_rule required | string (Models.ValidationRule) Enum: "OPTIONAL" "MANDATORY" |
| note | string or null <= 500 characters Attachment note in case of Mandatory attachment |
required | object (Models.AttachmentFieldUpdateDimension) AttachmentFieldUpdateDimension |
{- "field_name": "string",
- "renamed_as": "string",
- "page_no": 0,
- "validation_rule": "OPTIONAL",
- "note": "string",
- "dimensions": {
- "x": 0,
- "y": 0
}
}{- "Message": "string"
}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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| order | integer <int32> The order of the user in workflow for which the field is being added. |
| page_no | integer <int32> Page number on which the field is to be created. |
| field_name | string or null 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 | string or null Value of the field. Possible values are "true" or "false" |
required | object (Models.FieldDimension) FieldDimension |
| validation_rule | string or null One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL". |
{- "order": 0,
- "page_no": 0,
- "field_name": "string",
- "value": "string",
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "validation_rule": "string"
}{- "field_name": "string",
- "field_locale": "string",
- "font": {
- "name": "string",
- "size": 0,
- "embedded_size": 0
}
}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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| x-folder-id | string |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| x-folder-id | string Default: 0 Specify the folder ID, for retrieving the folder items, when a shared space folder is involved. |
| field_name required | string non-empty Current name of the field, that is to be updated. |
| renamed_as | string or null Updated name of the field if renaming is intended. |
| page_no | integer <int32> Page number on which the field is to be created. |
| value | string or null Value of the field. |
required | object (Models.FieldDimension) FieldDimension |
| validation_rule | string or null One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL". |
{- "field_name": "string",
- "renamed_as": "string",
- "page_no": 0,
- "value": "string",
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "validation_rule": "string"
}{- "Message": "string"
}Business applications can use this service API to update a dropdown field of a document in a package.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The OAuth access token obtained as a result of successful authentication via the "password" grant type. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| field_name required | string non-empty Current name of the field, that is to be updated. |
| validation_rule | string (Models.ValidationRule) Enum: "OPTIONAL" "MANDATORY" |
{- "field_name": "string",
- "validation_rule": "OPTIONAL"
}{- "Message": "string"
}Business applications can use this service API to update a unique identifier field of a document in a package.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The OAuth access token obtained as a result of successful authentication via the "password" grant type. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| field_name | string or null <= 255 characters Name of the field that is to be updated. |
| page_no required | integer <int32> Page number on which the field is to be created. |
required | object (Models.UpdateUniqueIdentifierDimension) UpdateUniqueIdentifierDimension |
{- "field_name": "string",
- "page_no": 0,
- "dimensions": {
- "x": 0,
- "y": 0
}
}{- "Message": "string"
}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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| order | integer <int32> The order of the user in workflow for which the field is being added. |
| page_no | integer <int32> Page number on which the field is to be created. |
| field_name | string or null <= 255 characters 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 | string or null Value of the field. Possible values are "true" or "false" |
| validation_rule | string (Models.ValidationRule) Enum: "OPTIONAL" "MANDATORY" |
| radio_group_name required | string non-empty |
required | object (Models.FieldDimension) FieldDimension |
{- "order": 0,
- "page_no": 0,
- "field_name": "string",
- "value": "string",
- "validation_rule": "OPTIONAL",
- "radio_group_name": "string",
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}
}{- "field_name": "string",
- "field_locale": "string",
- "font": {
- "name": "string",
- "size": 0,
- "embedded_size": 0
}
}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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| field_name required | string [ 1 .. 255 ] characters Current name of the field, that is to be updated. |
| renamed_as | string or null Updated name of the field if renaming is intended. |
| page_no | integer <int32> Page number on which the field is to be created. |
| value | string or null Value of the field. |
| validation_rule | string (Models.ValidationRule) Enum: "OPTIONAL" "MANDATORY" |
| radio_group_name required | string non-empty The group name to which the field belongs. |
required | object (Models.FieldDimension) FieldDimension |
{- "field_name": "string",
- "renamed_as": "string",
- "page_no": 0,
- "value": "string",
- "validation_rule": "OPTIONAL",
- "radio_group_name": "string",
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}
}{- "Message": "string"
}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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| order | integer <int32> The order of the user in workflow for which the field is being added. |
| page_no | integer <int32> Page number on which the field is to be created. |
| type | string (Models.TextboxType) Enum: "TEXT" "NAME" "EMAIL" "COMPANY" "JOBTITLE" "DATE" |
| value | string or null 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 | string or null 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 | integer <int32> Maximum length of the value allowed in the field. Must between 1 - 9999 |
| format | string or null Text format of the field. Used for the date type field only. Possible values are
|
| field_name | string or null Name of the field that is to be added. If not provided, system will assign an unique auto generated name to the field. |
| field_locale | string or null Field local. Possible values are ar-AE | en-US. Optional and default will be en-US. This value matters for type "DATE" and "NUMBER" |
| field_type required | string (Models.FieldType) Enum: "Number" "Text" |
| validation_rule | string (Models.ValidationRule) Enum: "OPTIONAL" "MANDATORY" |
object (Models.FieldValidationValue) | |
required | object (Models.Font) Font |
required | object (Models.FieldDimension) FieldDimension |
| multiline | boolean If set to true, text area field would be created |
{- "order": 0,
- "page_no": 0,
- "type": "TEXT",
- "value": "string",
- "placeholder": "string",
- "max_length": 0,
- "format": "string",
- "field_name": "string",
- "field_locale": "string",
- "field_type": "Number",
- "validation_rule": "OPTIONAL",
- "validation": {
- "required": true,
- "rules": [
- {
- "type": "string",
- "value": "string"
}
]
}, - "font": {
- "name": "string",
- "size": "string",
- "embedded_size": "string"
}, - "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "multiline": true
}{- "field_name": "string",
- "field_locale": "string",
- "font": {
- "name": "string",
- "size": 0,
- "embedded_size": 0
}
}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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| field_name required | string non-empty Current name of the field, that is to be updated. |
| field_locale | string or null Field local. Possible values are ar-AE | en-US. Optional and default will be en-US. This value matters for type "DATE" and "NUMBER" |
| renamed_as | string or null Updated name of the field if renaming is intended. |
| page_no | integer <int32> Page number on which the field is to be created. |
| value | string or null 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 | integer <int32> Maximum length of the value allowed in the field. Must between 1 - 9999 |
| field_type | string (Models.FieldType) Enum: "Number" "Text" |
| validation_rule | string (Models.ValidationRule) Enum: "OPTIONAL" "MANDATORY" |
object (Models.Font) Font | |
object (Models.FieldDimension) FieldDimension | |
| placeholder | string or null Developers can provide a their own placeholder texts. These placeholders appear in the text fields while viewing the document in viewer. |
| format | string or null Text format of the field. Used for the date type field only. Possible values are
|
object (Models.FieldValidationValue) |
{- "field_name": "string",
- "field_locale": "string",
- "renamed_as": "string",
- "page_no": 0,
- "value": "string",
- "max_length": 0,
- "field_type": "Number",
- "validation_rule": "OPTIONAL",
- "font": {
- "name": "string",
- "size": "string",
- "embedded_size": "string"
}, - "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "placeholder": "string",
- "format": "string",
- "validation": {
- "required": true,
- "rules": [
- {
- "type": "string",
- "value": "string"
}
]
}
}{- "Message": "string"
}APIs for managing signature-related fields including signatures, initials, stamps, and in-person signing fields.
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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| order | integer <int32> The order of the user in workflow for which the field is being added. |
| page_no | integer <int32> Page number on which the field is to be created. |
| field_name | string or null Name of the field that is to be added. If not provided, system will assign an unique auto generated name to the field. |
required | object (Models.FieldDimension) FieldDimension |
{- "order": 0,
- "page_no": 0,
- "field_name": "string",
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}
}{- "field_name": "string",
- "field_locale": "string",
- "font": {
- "name": "string",
- "size": 0,
- "embedded_size": 0
}
}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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| field_name required | string non-empty Current name of the field, that is to be updated. |
| renamed_as | string or null Updated name of the field if renaming is intended. |
| page_no | integer <int32> Page number on which the field is to be created. |
required | object (Models.FieldDimension) FieldDimension |
{- "field_name": "string",
- "renamed_as": "string",
- "page_no": 0,
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}
}{- "Message": "string"
}Business applications can use this service API to replicate initial fields to the multiple pages of a document in a package.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| field_name required | string Specifies the name of the field to be replicated across multiple pages. Suggested to pass in base64 string format. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
List of page numbers
| pages required | Array of integers <int32> [ items <int32 > ] List of page number for which field need to replicate |
{- "pages": [
- 0
]
}[- {
- "order": 0,
- "page_no": 0,
- "field_name": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}
}
]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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| order | integer <int32> The order of the user in workflow for which the field is being added. |
| page_no | integer <int32> Page number on which the field is to be created. |
| field_name | string or null Name of the field that is to be added. If not provided, system will assign an unique auto generated name to the field. |
| placeholder required | string non-empty String identifier for the inperson field, it can be Customer, Jack, CEO etc. |
required | object (Models.FieldDimension) FieldDimension |
| display | string or null Visibility of the field that is to be added, possible values are "VISIBLE" and "INVISIBLE" |
| level_of_assurance | Array of strings or null Level Of Assurance to be updated. Possible Values are "ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SEAL", "QUALIFIED_ELECTRONIC_SEAL", "ELECTRONIC_SIGNATURE" |
object (Models.SignatureFieldAuthentication) SignatureFieldAuthentication |
{- "order": 0,
- "page_no": 0,
- "field_name": "string",
- "placeholder": "string",
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "display": "string",
- "level_of_assurance": [
- "string"
], - "authentication_signing": {
- "enabled": true,
- "otp": {
- "enabled": true,
- "mobile_number": "string"
}, - "totp": {
- "enabled": true
}, - "identity_verification": {
- "enabled": true,
- "policy": {
- "id": 0
}
}
}
}{- "field_name": "string",
- "field_locale": "string",
- "font": {
- "name": "string",
- "size": 0,
- "embedded_size": 0
}
}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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| x-folder-id | string |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| x-folder-id | string Default: 0 Specify the folder ID, for retrieving the folder items, when a shared space folder is involved. |
| field_name required | string non-empty Current name of the field, that is to be updated. |
| renamed_as | string or null updated name of the field, if renaming is intended. |
| page_no | integer <int32> Page number on which the field is to be created. |
| placeholder | string or null String identifier for the in-person field, it can be Customer, Jack, CEO etc. |
object (Models.FieldDimension) FieldDimension | |
| display | string or null Visibility of the field that is to be updated, possible values are "VISIBLE" and "INVISIBLE" |
| level_of_assurance | Array of strings or null Level Of Assurance to be updated. Possible Values are "ELECTRONIC_SEAL", "ADVANCED_ELECTRONIC_SEAL", "QUALIFIED_ELECTRONIC_SEAL", "ELECTRONIC_SIGNATURE" |
object (Models.SignatureFieldAuthentication) SignatureFieldAuthentication |
{- "field_name": "string",
- "renamed_as": "string",
- "page_no": 0,
- "placeholder": "string",
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "display": "string",
- "level_of_assurance": [
- "string"
], - "authentication_signing": {
- "enabled": true,
- "otp": {
- "enabled": true,
- "mobile_number": "string"
}, - "totp": {
- "enabled": true
}, - "identity_verification": {
- "enabled": true,
- "policy": {
- "id": 0
}
}
}
}{- "Message": "string"
}Business applications can use this service API to replicate In-person fields to the multiple pages of a document in a package.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| field_name required | string Specifies the name of the field to be replicated across multiple pages. Suggested to pass in base64 string format. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
List of page numbers
| pages required | Array of integers <int32> [ items <int32 > ] List of page number for which field need to replicate |
{- "pages": [
- 0
]
}[- {
- "order": 0,
- "page_no": 0,
- "field_name": "string",
- "placeholder": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "display": "string",
- "level_of_assurance": [
- "string"
], - "authentication_signing": {
- "enabled": true,
- "otp": {
- "enabled": true,
- "mobile_number": "string"
}, - "totp": {
- "enabled": true
}, - "identity_verification": {
- "enabled": true,
- "policy": {
- "id": 0
}
}
}
}
]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.
| packageId required | integer <int64> The package ID for which workflow details need to be updated. |
| documentId required | integer <int64> The document ID where the field is to be added. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| order | integer <int32> Order of the recipient for which the field is being created. |
| page_no | integer <int32> Page number at which the field is about to be created. |
| field_name | string or null 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 | Array of strings or null 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" |
object (Models.FieldDimension) FieldDimension | |
| display | string or null Visibility of the field that is to be added, possible values are "VISIBLE" and "INVISIBLE" |
object (Models.SignatureFieldAuthentication) SignatureFieldAuthentication |
{- "order": 0,
- "page_no": 0,
- "field_name": "string",
- "level_of_assurance": [
- "string"
], - "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "display": "string",
- "authentication_signing": {
- "enabled": true,
- "otp": {
- "enabled": true,
- "mobile_number": "string"
}, - "totp": {
- "enabled": true
}, - "identity_verification": {
- "enabled": true,
- "policy": {
- "id": 0
}
}
}
}{- "field_name": "string",
- "created_on": "string"
}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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| x-folder-id | string |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| x-folder-id | string Default: 0 Specify the folder ID, for retrieving the folder items, when a shared space folder is involved. |
| field_name required | string non-empty Current name of the field, which is to be updated. |
| level_of_assurance | Array of strings or null 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 | string or null Updated name of the field if renaming of the field is intended. |
| page_no | integer <int32> Page number on which the field is to be created. |
object (Models.FieldDimension) FieldDimension | |
| display | string or null Visibility of the field that is to be updated, possible values are "VISIBLE" and "INVISIBLE" |
object (Models.SignatureFieldAuthentication) SignatureFieldAuthentication |
{- "field_name": "string",
- "level_of_assurance": [
- "string"
], - "renamed_as": "string",
- "page_no": 0,
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "display": "string",
- "authentication_signing": {
- "enabled": true,
- "otp": {
- "enabled": true,
- "mobile_number": "string"
}, - "totp": {
- "enabled": true
}, - "identity_verification": {
- "enabled": true,
- "policy": {
- "id": 0
}
}
}
}{- "Message": "string"
}Business applications can use this service API to add an stamp 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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| order | integer <int32> The order of the user in workflow for which the field is being added. |
| page_no | integer <int32> Page number on which the field is to be created. |
| field_name | string or null Name of the field that is to be added. If not provided, system will assign an unique auto generated name to the field. |
| validation_rule | string (Models.StampValidationRule) Enum: "MANDATORY" "OPTIONAL" |
required | object (Models.FieldDimension) FieldDimension |
{- "order": 0,
- "page_no": 0,
- "field_name": "string",
- "validation_rule": "MANDATORY",
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}
}{- "field_name": "string",
- "validation_rule": "MANDATORY"
}Business applications can use this service API to update an stamps 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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| field_name required | string non-empty Current name of the field, that is to be updated. |
| renamed_as | string or null Updated name of the field if renaming is intended. |
| page_no | integer <int32> Page number on which the field is to be created. |
required | object (Models.FieldDimension) FieldDimension |
| validation_rule required | string (Models.StampValidationRule) Enum: "MANDATORY" "OPTIONAL" |
{- "field_name": "string",
- "renamed_as": "string",
- "page_no": 0,
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "validation_rule": "MANDATORY"
}{- "Message": "string"
}Business applications can use this service API to replicate stamp fields to the multiple pages of a document in a package.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| field_name required | string Specifies the name of the field to be replicated across multiple pages. Suggested to pass in base64 string format. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
List of page numbers
| pages required | Array of integers <int32> [ items <int32 > ] List of page number for which field need to replicate |
{- "pages": [
- 0
]
}[- {
- "order": 0,
- "page_no": 0,
- "field_name": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "validation_rule": "MANDATORY"
}
]APIs for managing document comments, comment fields, replies, and comment notifications.
Business applications can use this service API to add an comment field to a document in a package.
At least one user must exist in a workflow other then current recipient.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| page_no required | integer <int32> Page number on which the field is to be created. |
| comment required | string [ 1 .. 500 ] characters Comment text. |
required | object (Models.AddCommonFieldDimension) AddCommonFieldDimension |
Array of objects or null (Models.AddCommentFieldRecipient) Recipients |
{- "page_no": 0,
- "comment": "string",
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "recipients": [
- {
- "user_email": "string"
}
]
}{- "id": 0
}Business applications can use this service API to update an comment in a package.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| commentId required | integer <int64> The comment ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| comment required | string [ 1 .. 500 ] characters Comment text. |
{- "comment": "string"
}{- "Message": "string"
}Business applications can use this service API to delete a comment field to a document in a package.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| commentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
{- "Message": "string"
}Business applications can use this service API to get field comment.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| commentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
[- {
- "user_name": "string",
- "user_email": "string",
- "comment": "string",
- "read": true,
- "created_on": "string"
}
]Business applications can use this service API to reply to a comment of a document in a package.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| commentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| comment required | string [ 1 .. 500 ] characters Comment text. |
{- "comment": "string"
}{- "Message": "string"
}Business applications can use this service API to mark comments as read.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| commentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
{- "Message": "string"
}Business applications can use this service API to get comment fields.
| packageId required | integer <int64> The ID of the package to which the document is added. |
| documentId required | integer <int64> Default: 0 The ID of the document for which the fields are requested. If document id is not provided fields of whole package are returned. |
| pageNo required | integer <int32> Default: 0 Page no of the document for which the fields are requested. If page number is not provided fields of whole document are returned. |
| Authorization required | string Default: Bearer {access_token} The OAuth access token obtained as a result of successful authentication via the "password" grant type. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| x-mobile | string Default: TRUE Define the originator(Web/Mobile) of the request/action |
[- {
- "id": 0,
- "document_id": 0,
- "page_no": 0,
- "unread_count": 0,
- "private": true,
- "recipients": [
- {
- "user_name": "string",
- "user_email": "string"
}
], - "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}
}
]Business applications can use this service API to add a QR Code to a document in a package.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| page_no | integer <int32> Page number on which the field is to be created. |
| field_name | string or null <= 255 characters Name of the provided field that is to be added. If not provided, system will assign an unique auto generated name to the field. |
required | object (Models.FieldDimension) FieldDimension |
| data | string or null <= 500 characters 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} |
object (Models.QrCodeOptions) QrCodeOptions | |
object (Models.QrCodeColor) QrCodeColor | |
object (Models.QrCodeLogo) QrCodeLogo |
{- "page_no": 0,
- "field_name": "string",
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "data": "string",
- "options": {
- "error_correction_level": "Default",
- "encoding": "Default",
- "pixels_per_module": 0,
- "add_margins": true
}, - "color": {
- "dots": "string",
- "background": "string"
}, - "logo": {
- "base64": "string",
- "hide_background_dots": true,
- "size": 0
}
}{- "data": "string",
- "field_name": "string",
- "value": "string"
}Business applications can use this service API to update a QR Code of a document in a package.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| field_name required | string [ 1 .. 255 ] characters Current name of the field, that is to be updated. |
| renamed_as | string or null Updated name of the field if renaming is intended. |
| page_no | integer <int32> Page number for which field is need to be updated |
required | object (Models.FieldDimension) FieldDimension |
| data | string or null <= 500 characters 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} |
object (Models.QrCodeOptions) QrCodeOptions | |
object (Models.QrCodeColor) QrCodeColor | |
object (Models.QrCodeLogo) QrCodeLogo |
{- "field_name": "string",
- "renamed_as": "string",
- "page_no": 0,
- "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "data": "string",
- "options": {
- "error_correction_level": "Default",
- "encoding": "Default",
- "pixels_per_module": 0,
- "add_margins": true
}, - "color": {
- "dots": "string",
- "background": "string"
}, - "logo": {
- "base64": "string",
- "hide_background_dots": true,
- "size": 0
}
}{- "value": "string"
}Business applications can use this service API to preview a QR Code.
| Authorization required | string Default: Bearer {access_token} The OAuth access token obtained as a result of successful authentication via the "password" grant type. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| data required | string [ 1 .. 500 ] characters The plain text data to be encoded in the QR code. |
object (Models.QrCodeOptions) QrCodeOptions | |
object (Models.QrCodeColor) QrCodeColor | |
object (Models.QrCodeLogo) QrCodeLogo |
{- "data": "string",
- "options": {
- "error_correction_level": "Default",
- "encoding": "Default",
- "pixels_per_module": 0,
- "add_margins": true
}, - "color": {
- "dots": "string",
- "background": "string"
}, - "logo": {
- "base64": "string",
- "hide_background_dots": true,
- "size": 0
}
}{- "base64": "string"
}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.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which workflow user needs to be updated. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| field_name required | string non-empty Name of the signature field that is to be assigned. |
| radio_group_name | string or null provide group name for radio box |
| order | integer <int32> The order of the user in workflow, to which the field is being assigned. |
| level_of_assurance | Array of strings or null 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" |
[- {
- "field_name": "string",
- "radio_group_name": "string",
- "order": 0,
- "level_of_assurance": [
- "string"
]
}
]{- "Message": "string"
}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.
| packageId required | integer <int64> The ID of the package to which the document is added. |
| documentId required | integer <int64> The ID of the document for which the fields are requested. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| search_text | string or null Word that needs to be searched in the document. |
| order | integer <int32> 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 | string or null 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 | string or null Type of field to be created in the document. Possible values are "SIGNATURE", "IN_PERSON_SIGNATURE", "INITIALS", "STAMP", "TEXT", "NUMBER" ,"NAME", "EMAIL", "COMPANY", "JOBTITLE", "RADIOBOX", "CHECKBOX", "DATE", "ATTACHMENT" |
| level_of_assurance | Array of strings or null 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". Will only be provided in case of In-person and Signature. |
object (Models.FieldDimension) FieldDimension | |
| placeholder | string or null Provide note in the case of Mandatory Attachment |
| radio_group_name | string or null The group name required only when adding a Radio Box type field to group multiple Radio boxes together. |
| format | string or null Text format of the field. Used for the date type field only. Possible values are
|
| value | string or null Value that user want to show in the field. |
| field_locale | string or null Field local. Possible values are ar-AE | en-US. Optional and default will be en-US. This value matters for type "DATE" and "NUMBER" |
| max_length | integer <int32> Maximum length of the value allowed in the field. Must between 1 - 9999 |
| validation_rule | string or null One or more rules for validation of the fields possible values are "MANDATORY" or "OPTIONAL". |
object (Models.FieldValidationValue) | |
object (Models.Font) Font | |
| multiline | boolean This belongs to Text Area field type and If set to true, text area field would be created with multi line option. |
{- "search_text": "string",
- "order": 0,
- "placement": "string",
- "field_type": "string",
- "level_of_assurance": [
- "string"
], - "dimensions": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "placeholder": "string",
- "radio_group_name": "string",
- "format": "string",
- "value": "string",
- "field_locale": "string",
- "max_length": 0,
- "validation_rule": "string",
- "validation": {
- "required": true,
- "rules": [
- {
- "type": "string",
- "value": "string"
}
]
}, - "font": {
- "name": "string",
- "size": "string",
- "embedded_size": "string"
}, - "multiline": true
}[- {
- "field_name": "string",
- "field_locale": "string",
- "font": {
- "name": "string",
- "size": 0,
- "embedded_size": 0
}
}
]Business applications can use this service API to delete a field of document in a package.
| packageId required | integer <int64> Package ID to which the document is added. |
| documentId required | integer <int64> The document ID for which the action is to be taken. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| field_name required | string non-empty Name of the field to be deleted. |
{- "field_name": "string"
}{- "Message": "string"
}Business applications can use this service API to get document fields i.e., initials, stamps, in-persons, signature fields or form fields.
| packageId required | integer <int64> The ID of the package to which the document is added. |
| documentId required | integer <int64> The ID of the document for which the fields are requested. |
| pageNo required | integer <int32> Default: 0 Page no of the document for which the fields are requested. If page number is not provided fields of whole document are returned. |
| Authorization required | string Default: Bearer {access_token} The access token obtained as a result of successful authentication via "Password" or "Scope". If "Scope Authentication" was used, then this service will be performed for the user on behalf of the business application. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
| x-mobile | string Default: TRUE Define the originator(Web/Mobile) of the request/action |
{- "signature": [
- {
- "order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "embedded": true,
- "type": "string",
- "process_status": "string",
- "processed_on": "string",
- "processed_as": "string",
- "created_on": "string",
- "processed_by": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "verification": {
- "field_name": "string",
- "signer_name": "string",
- "signature_status": "string",
- "signing_reason": "string",
- "signing_location": "string",
- "contact_information": "string",
- "signing_time": "string",
- "ltv": true,
- "qualified": true,
- "certified": true,
- "certify_permission": "string",
- "timestamp_at": "string",
- "timestamp_authority": "string",
- "subject_dn": "string",
- "issuer_dn": "string",
- "cert_valid_from": "string",
- "cert_valid_to": "string",
- "signature_type": "string",
- "signature_algorithm": "string",
- "signature_application": "string",
- "signature_policy_id": 0,
- "signature_policy_uri": "string",
- "signer_photo": "string",
- "signer_photo_url": "string",
- "signed_hash": "string",
- "display": "string",
- "page_number": 0,
- "lei_number": "string",
- "lei_role": "string",
- "error_message": "string"
}, - "nid": "string",
- "display": "string",
- "level_of_assurance": [
- "string"
], - "authentication": {
- "enabled": true,
- "sms_otp": {
- "enabled": true,
- "otp_length": 0,
- "retry_duration": 0,
- "mobile_number": "string",
- "methods": [
- "string"
]
}, - "totp": {
- "enabled": true
}, - "identity_verification": {
- "enabled": true,
- "policy": {
- "id": 0,
- "name": "string"
}
}
}
}
], - "hand_signature": [
- {
- "order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "embedded": true,
- "type": "string",
- "process_status": "string",
- "processed_on": "string",
- "processed_as": "string",
- "processed_by": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "nid": "string"
}
], - "electronic_signature": [
- {
- "order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "embedded": true,
- "type": "string",
- "process_status": "string",
- "processed_on": "string",
- "processed_as": "string",
- "processed_by": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "signature_sub_type": "string",
- "authentication": {
- "enabled": true,
- "sms_otp": {
- "enabled": true,
- "otp_length": 0,
- "retry_duration": 0,
- "mobile_number": "string",
- "methods": [
- "string"
]
}, - "totp": {
- "enabled": true
}, - "identity_verification": {
- "enabled": true,
- "policy": {
- "id": 0,
- "name": "string"
}
}
}, - "verification": {
- "field_name": "string",
- "signer_name": "string",
- "signature_status": "string",
- "signing_reason": "string",
- "signing_location": "string",
- "contact_information": "string",
- "signing_time": "string",
- "ltv": true,
- "qualified": true,
- "certified": true,
- "certify_permission": "string",
- "timestamp_at": "string",
- "timestamp_authority": "string",
- "subject_dn": "string",
- "issuer_dn": "string",
- "cert_valid_from": "string",
- "cert_valid_to": "string",
- "signature_type": "string",
- "signature_algorithm": "string",
- "signature_application": "string",
- "signature_policy_id": 0,
- "signature_policy_uri": "string",
- "signer_photo": "string",
- "signer_photo_url": "string",
- "signed_hash": "string",
- "display": "string",
- "page_number": 0,
- "lei_number": "string",
- "lei_role": "string",
- "error_message": "string"
}, - "nid": "string",
- "display": "string"
}
], - "initials": [
- {
- "order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "process_status": "string",
- "processed_on": "string",
- "processed_as": "string",
- "processed_by": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "embedded": true
}
], - "stamps": [
- {
- "order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "process_status": "string",
- "processed_on": "string",
- "processed_as": "string",
- "processed_by": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "embedded": true,
- "validation_rule": "OPTIONAL"
}
], - "in_person_signature": [
- {
- "order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "embedded": true,
- "type": "string",
- "process_status": "string",
- "processed_on": "string",
- "processed_as": "string",
- "processed_by": "string",
- "placeholder": "string",
- "signature_sub_type": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "verification": {
- "field_name": "string",
- "signer_name": "string",
- "signature_status": "string",
- "signing_reason": "string",
- "signing_location": "string",
- "contact_information": "string",
- "signing_time": "string",
- "ltv": true,
- "qualified": true,
- "certified": true,
- "certify_permission": "string",
- "timestamp_at": "string",
- "timestamp_authority": "string",
- "subject_dn": "string",
- "issuer_dn": "string",
- "cert_valid_from": "string",
- "cert_valid_to": "string",
- "signature_type": "string",
- "signature_algorithm": "string",
- "signature_application": "string",
- "signature_policy_id": 0,
- "signature_policy_uri": "string",
- "signer_photo": "string",
- "signer_photo_url": "string",
- "signed_hash": "string",
- "display": "string",
- "page_number": 0,
- "lei_number": "string",
- "lei_role": "string",
- "error_message": "string"
}, - "display": "string",
- "level_of_assurance": [
- "string"
], - "authentication": {
- "enabled": true,
- "sms_otp": {
- "enabled": true,
- "otp_length": 0,
- "retry_duration": 0,
- "mobile_number": "string",
- "methods": [
- "string"
]
}, - "totp": {
- "enabled": true
}, - "identity_verification": {
- "enabled": true,
- "policy": {
- "id": 0,
- "name": "string"
}
}
}
}
], - "text": [
- {
- "field_locale": "string",
- "required": true,
- "order": 0,
- "tab_order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "embedded": true,
- "type": "string",
- "value": "string",
- "read_only": true,
- "validation_rule": "string",
- "validation": {
- "required": true,
- "rules": [
- {
- "type": "string",
- "value": "string"
}
]
}, - "visible": true,
- "multiline": true,
- "font": {
- "name": "string",
- "size": 0,
- "embedded_size": 0
}, - "max_length": 0,
- "format_type": "string",
- "placeholder": "string",
- "format": "string",
- "color": "string",
- "border_color": "string",
- "tooltip": "string",
- "field_rotation": 0,
- "align": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}
}
], - "radio": [
- {
- "required": true,
- "order": 0,
- "tab_order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "embedded": true,
- "type": "string",
- "value": true,
- "read_only": true,
- "validation_rule": "string",
- "radio_group_name": "string",
- "checked": true,
- "visible": true,
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "color": "string",
- "border_color": "string",
- "tooltip": "string",
- "field_rotation": 0
}
], - "checkbox": [
- {
- "required": true,
- "order": 0,
- "tab_order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "embedded": true,
- "type": "string",
- "value": true,
- "read_only": true,
- "checked": true,
- "visible": true,
- "validation_rule": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "color": "string",
- "border_color": "string",
- "tooltip": "string",
- "field_rotation": 0
}
], - "dropdown": [
- {
- "required": true,
- "order": 0,
- "tab_order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "embedded": true,
- "validation_rule": "string",
- "read_only": true,
- "value": "string",
- "choices": [
- "string"
], - "visible": true,
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "font": {
- "name": "string",
- "size": 0,
- "embedded_size": 0
}, - "color": "string",
- "border_color": "string",
- "tooltip": "string",
- "field_rotation": 0
}
], - "listbox": [
- {
- "order": 0,
- "tab_order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "embedded": true,
- "validation_rule": "string",
- "read_only": true,
- "value": "string",
- "choices": [
- "string"
], - "visible": true,
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "font": {
- "name": "string",
- "size": 0,
- "embedded_size": 0
}, - "color": "string",
- "border_color": "string",
- "tooltip": "string",
- "field_rotation": 0
}
], - "qrcode": [
- {
- "field_name": "string",
- "type": "string",
- "page_no": 0,
- "value": "string",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}, - "data": "string",
- "options": {
- "error_correction_level": "Default",
- "encoding": "Default",
- "pixels_per_module": 0,
- "add_margins": true
}, - "color": {
- "dots": "string",
- "background": "string"
}, - "logo": {
- "base64": "string",
- "hide_background_dots": true,
- "size": 0
}
}
], - "attachment": [
- {
- "order": 0,
- "display_order": 0,
- "field_name": "string",
- "page_no": 0,
- "process_status": "string",
- "processed_on": "string",
- "processed_as": "string",
- "processed_by": "string",
- "attachmentRefId": 0,
- "note": "string",
- "validation_rule": "OPTIONAL",
- "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}
}
], - "comment": [
- {
- "id": 0,
- "page_no": 0,
- "unread_count": 0,
- "private": true,
- "recipients": [
- {
- "user_name": "string",
- "user_email": "string"
}
], - "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}
}
], - "unique_identifier": [
- {
- "field_name": "string",
- "value": "string",
- "page_no": 0,
- "font": {
- "name": "string",
- "size": 0,
- "embedded_size": 0
}, - "dimensions": {
- "field": {
- "x": 0,
- "y": 0,
- "width": 0,
- "height": 0
}, - "page": {
- "width": 0,
- "height": 0
}
}
}
]
}| packageId required | integer <int64> Document package id. |
| documentId required | integer <int64> Document id. |
| Authorization required | string Default: Bearer {access_token} The OAuth access token obtained as a result of successful authentication via the "password" grant type. |
| Content-Type required | string Default: application/json |
| Accept required | string Default: application/json |
Request object containing field names.
| field_names | Array of strings or null Array of field names to be deleted. |
{- "field_names": [
- "string"
]
}{- "failed_fields": [
- {
- "field_name": "string",
- "error_message": "string"
}
]
}
.