Cancels a sign request.
This operation is performed by calling function cancelSignRequest.
See the endpoint docs at API Reference.
await client.signRequests.cancelSignRequest(createdSignRequest.id!);
string
CancelSignRequestOptionalsInputThis 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 resendSignRequest.
See the endpoint docs at API Reference.
Currently we don’t have an example for calling resendSignRequest in integration tests
string
ResendSignRequestOptionalsInputThis function returns a value of type undefined.
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 getSignRequestById.
See the endpoint docs at API Reference.
await client.signRequests.getSignRequestById(createdSignRequest.id!);
string
GetSignRequestByIdOptionalsInputThis 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 getSignRequests.
See the endpoint docs at API Reference.
await client.signRequests.getSignRequests();
GetSignRequestsQueryParams
GetSignRequestsHeadersInput
undefined | CancellationToken
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 createSignRequest.
See the endpoint docs at API Reference.
await client.signRequests.createSignRequest({
signers: [
{
email: signerEmail,
suppressNotifications: true,
declinedRedirectUrl: 'https://www.box.com',
embedUrlExternalUserId: '123',
isInPerson: false,
loginRequired: false,
password: 'password',
role: 'signer' as SignRequestCreateSignerRoleField,
} satisfies SignRequestCreateSigner,
],
areRemindersEnabled: true,
areTextSignaturesEnabled: true,
daysValid: 30,
declinedRedirectUrl: 'https://www.box.com',
emailMessage: 'Please sign this document',
emailSubject: 'Sign this document',
externalId: '123',
externalSystemName: 'BoxSignIntegration',
isDocumentPreparationNeeded: false,
name: 'Sign Request',
parentFolder: new FolderMini({ id: destinationFolder.id }),
redirectUrl: 'https://www.box.com',
prefillTags: [
{
dateValue: dateFromString('2035-01-01'),
documentTagId: '0',
} satisfies SignRequestPrefillTag,
],
sourceFiles: [new FileBase({ id: fileToSign.id })],
} satisfies SignRequestCreateRequest);
SignRequestCreateRequest
CreateSignRequestOptionalsInputThis function returns a value of type SignRequest.
Returns a Box Sign request object.