- Cancel Box Sign request
- Resend Box Sign request
- Get Box Sign request by ID
- List Box Sign requests
- Create Box Sign request
Cancels a sign request.
This operation is performed by calling function cancel_sign_request
.
See the endpoint docs at API Reference.
client.sign_requests.cancel_sign_request(created_sign_request.id)
- sign_request_id
str
- The ID of the signature request Example: "33243242"
- extra_headers
Optional[Dict[str, Optional[str]]]
- Extra headers that will be included in the HTTP request.
This function returns a value of type SignRequest
.
Returns a Sign Request object.
Resends a signature request email to all outstanding signers.
This operation is performed by calling function resend_sign_request
.
See the endpoint docs at API Reference.
Currently we don't have an example for calling resend_sign_request
in integration tests
- sign_request_id
str
- The ID of the signature request Example: "33243242"
- extra_headers
Optional[Dict[str, Optional[str]]]
- Extra headers that will be included in the HTTP request.
This function returns a value of type None
.
Returns an empty response when the API call was successful. The email notifications will be sent asynchronously.
Gets a sign request by ID.
This operation is performed by calling function get_sign_request_by_id
.
See the endpoint docs at API Reference.
client.sign_requests.get_sign_request_by_id(created_sign_request.id)
- sign_request_id
str
- The ID of the signature request Example: "33243242"
- extra_headers
Optional[Dict[str, Optional[str]]]
- Extra headers that will be included in the HTTP request.
This function returns a value of type SignRequest
.
Returns a signature request.
Gets signature requests created by a user. If the sign_files
and/or
parent_folder
are deleted, the signature request will not return in the list.
This operation is performed by calling function get_sign_requests
.
See the endpoint docs at API Reference.
client.sign_requests.get_sign_requests()
- marker
Optional[str]
- Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires
usemarker
to be set totrue
.
- Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires
- limit
Optional[int]
- The maximum number of items to return per page.
- senders
Optional[List[str]]
- A list of sender emails to filter the signature requests by sender. If provided,
shared_requests
must be set totrue
.
- A list of sender emails to filter the signature requests by sender. If provided,
- shared_requests
Optional[bool]
- If set to
true
, only includes requests that user is not an owner, but user is a collaborator. Collaborator access is determined by the user access level of the sign files of the request. Default isfalse
. Must be set totrue
ifsenders
are provided.
- If set to
- extra_headers
Optional[Dict[str, Optional[str]]]
- Extra headers that will be included in the HTTP request.
This function returns a value of type SignRequests
.
Returns a collection of sign requests
Creates a signature request. This involves preparing a document for signing and sending the signature request to signers.
This operation is performed by calling function create_sign_request
.
See the endpoint docs at API Reference.
client.sign_requests.create_sign_request(
[
SignRequestCreateSigner(email=signer_1_email, signer_group_id="user"),
SignRequestCreateSigner(email=signer_2_email, signer_group_id="user"),
],
source_files=[FileBase(id=file_to_sign.id)],
parent_folder=FolderMini(id=destination_folder.id),
)
- source_files
Optional[List[FileBase]]
- List of files to create a signing document from. This is currently limited to ten files. Only the ID and type fields are required for each file.
- signature_color
Optional[CreateSignRequestSignatureColor]
- Force a specific color for the signature (blue, black, or red)
- signers
List[SignRequestCreateSigner]
- Array of signers for the signature request. 35 is the max number of signers permitted. Note: It may happen that some signers belong to conflicting segments (user groups). This means that due to the security policies, users are assigned to segments to prevent exchanges or communication that could lead to ethical conflicts. In such a case, an attempt to send the sign request will result in an error. Read more about segments and ethical walls.
- is_document_preparation_needed
Optional[bool]
- Indicates if the sender should receive a
prepare_url
in the response to complete document preparation using the UI.
- Indicates if the sender should receive a
- redirect_url
Optional[str]
- When specified, the signature request will be redirected to this url when a document is signed.
- declined_redirect_url
Optional[str]
- The uri that a signer will be redirected to after declining to sign a document.
- are_text_signatures_enabled
Optional[bool]
- Disables the usage of signatures generated by typing (text).
- email_subject
Optional[str]
- Subject of sign request email. This is cleaned by sign request. If this field is not passed, a default subject will be used.
- email_message
Optional[str]
- Message to include in sign request email. The field is cleaned through sanitization of specific characters. However, some html tags are allowed. Links included in the message are also converted to hyperlinks in the email. The message may contain the following html tags including
a
,abbr
,acronym
,b
,blockquote
,code
,em
,i
,ul
,li
,ol
, andstrong
. Be aware that when the text to html ratio is too high, the email may end up in spam filters. Custom styles on these tags are not allowed. If this field is not passed, a default message will be used.
- Message to include in sign request email. The field is cleaned through sanitization of specific characters. However, some html tags are allowed. Links included in the message are also converted to hyperlinks in the email. The message may contain the following html tags including
- are_reminders_enabled
Optional[bool]
- Reminds signers to sign a document on day 3, 8, 13 and 18. Reminders are only sent to outstanding signers.
- name
Optional[str]
- Name of the signature request.
- prefill_tags
Optional[List[SignRequestPrefillTag]]
- When a document contains sign-related tags in the content, you can prefill them using this
prefill_tags
by referencing the 'id' of the tag as theexternal_id
field of the prefill tag.
- When a document contains sign-related tags in the content, you can prefill them using this
- days_valid
Optional[int]
- Set the number of days after which the created signature request will automatically expire if not completed. By default, we do not apply any expiration date on signature requests, and the signature request does not expire.
- external_id
Optional[str]
- This can be used to reference an ID in an external system that the sign request is related to.
- template_id
Optional[str]
- When a signature request is created from a template this field will indicate the id of that template.
- external_system_name
Optional[str]
- Used as an optional system name to appear in the signature log next to the signers who have been assigned the
embed_url_external_id
.
- Used as an optional system name to appear in the signature log next to the signers who have been assigned the
- extra_headers
Optional[Dict[str, Optional[str]]]
- Extra headers that will be included in the HTTP request.
This function returns a value of type SignRequest
.
Returns a Box Sign request object.