Skip to content

Commit 5c39492

Browse files
Merge pull request #2148 from OpenSignLabs/prafull-opensignlabs-patch-13
Refine parameter descriptions in opensign.yaml
2 parents 9ffde3b + 3e0fb1c commit 5c39492

File tree

1 file changed

+43
-8
lines changed

1 file changed

+43
-8
lines changed

docs/docs/API-docs/v1.1/opensign.yaml

Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6054,6 +6054,8 @@ components:
60546054
type: boolean
60556055
description: |
60566056
This parameter allows you to specify whether you want emails to be sent to signers. The default value is "true". If the value of this parameter is "true" and no 'email_subject'/'email_body' parameters are specified default email templates will be used.
6057+
6058+
If the field is omitted or provided as an empty/invalid value, the template value is used.
60576059
example: true
60586060
email_subject:
60596061
type: string
@@ -6065,7 +6067,12 @@ components:
60656067
example: "<p>Hi {{receiver_name}},</p><p>We hope this email finds you well. <strong>{{sender_name}}</strong> has requested you to review and sign <strong>{{document_title}}</strong>.</p><p>Your signature is crucial to proceed with the next steps as it signifies your agreement and authorization.</p><p><a href='{{signing_url}}'>Sign here</a></p><p>If you have any questions or need further clarification, please contact the sender.</p><p>Thanks,<br>Team OpenSign™</p>"
60666068
sendInOrder:
60676069
type: boolean
6068-
description: "If set to 'true', only the first signer will receive the signature request email initially. Emails to subsequent signers will be triggered sequentially, with each sent only after the previous signer has completed their signing. By default, sendInOrder is set to 'true'."
6070+
description: |
6071+
**true** - Only the first signer receives the signature request email initially. Each subsequent signer is notified in sequence, only after the previous signer has completed their signing. This is the default behavior.
6072+
6073+
**false** - All signers receive the signature request email simultaneously.
6074+
6075+
If the field is omitted or provided as an empty/invalid value, the template value is used.
60696076
example: true
60706077
timeToCompleteDays:
60716078
type: number
@@ -6074,23 +6081,45 @@ components:
60746081
example: 15
60756082
enableOTP:
60766083
type: boolean
6077-
description: "true - this option will enable OTP verification. Users will receive a verification code via email, which they must enter to sign the document. false - this option will disable OTP verification, allowing users to sign the document directly without additional steps."
6084+
description: |
6085+
**true** - this option will enable OTP verification. Users will receive a verification code via email, which they must enter to sign the document.
6086+
6087+
**false** - this option will disable OTP verification, allowing users to sign the document directly without additional steps.
6088+
6089+
If the field is omitted or provided as an empty/invalid value, the template value is used.
60786090
example: false
60796091
enableTour:
60806092
type: boolean
6081-
description: "true - this option will enable a guided tour for signers, providing instructions during the signing process. false - disable the guided tour, ensuring a faster, uninterrupted signing experience."
6093+
description: |
6094+
**true** - this option will enable a guided tour for signers, providing instructions during the signing process.
6095+
6096+
**false** - disable the guided tour, ensuring a faster, uninterrupted signing experience.
6097+
6098+
If the field is omitted or provided as an empty/invalid value, the template value is used.
60826099
example: false
60836100
sender_name:
60846101
type: string
6085-
description: The name of the person or organization on whose behalf the email is being sent.
6102+
description: |
6103+
The name of the person or organization on whose behalf the email is being sent. If this field is present in the request body, it overrides the template value, even when set to an empty string (""). If omitted, the template value is used.
6104+
6105+
If nothing is set, it will use the owner’s preferences. If the owner’s preferences are also not set, it will default to "".
60866106
example: opensign™
60876107
sender_email:
60886108
type: string
6089-
description: The email address of the person or organization that users can reply to.
6109+
description: |
6110+
The email address of the person or organization that users can reply to. If this field is present in the request body, it overrides the template value, even when set to an empty string (""). If omitted, the template value is used.
6111+
6112+
If nothing is set, it will use the owner’s preferences. If the owner’s preferences are also not set, it will default to "".
6113+
60906114
example: mailer@opensignlabs.com
60916115
allow_modifications:
60926116
type: boolean
6093-
description: "true - Permits signers to add elements such as signatures, initials, stamps, or text on top of existing widgets in the document. false - Restricts signers from adding any additional elements to the document. This is the default value."
6117+
description: |
6118+
**true** - Permits signers to add elements such as signatures, initials, stamps, or text on top of existing widgets in the document.
6119+
6120+
**false** - Restricts signers from adding any additional elements to the document. This is the default value.
6121+
6122+
If the field is omitted or provided as an empty/invalid value, the template value is used.
60946123
example: false
60956124
file:
60966125
type: string
@@ -6099,7 +6128,7 @@ components:
60996128
example: ""
61006129
auto_reminder:
61016130
type: boolean
6102-
description: "Set to true to enable automatic reminders. Set to false to disable them (default behavior)."
6131+
description: Set to true to enable automatic reminders. Set to false to disable them (default behavior). If the field is omitted or provided as an empty/invalid value, the template value is used.
61036132
example: false
61046133
remind_once_in_every:
61056134
type: number
@@ -6123,6 +6152,10 @@ components:
61236152
**false** - The document creator will not receive an email notification whenever a signer signs the document.
61246153
61256154
Note: Regardless of this setting, a completion email with the signed document and completion certificate attached is depend on 'send_email' parameter.
6155+
redirect_url:
6156+
type: string
6157+
description: Specifies the URL where the signer will be redirected upon completing the document signing process. If this field is present in the request body, it overrides the template value, even when set to an empty string (""). If omitted, the template value is used.
6158+
example: ""
61266159
pen_colors:
61276160
type: array
61286161
items:
@@ -6134,7 +6167,9 @@ components:
61346167
type: string
61356168
example: ["user@example.com","user2@example.com"]
61366169
description: |
6137-
bcc (blind carbon copy): Users added here will receive a notification email once the document is completed.
6170+
bcc (blind carbon copy): Users added here will receive a notification email once the document is completed.
6171+
If this field is present in the request body, it overrides the template value, even when provided as an empty array ([]).
6172+
If omitted, the template value is used.
61386173
prefill:
61396174
type: object
61406175
properties:

0 commit comments

Comments
 (0)