- 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 cancelSignRequest
.
See the endpoint docs at API Reference.
await client.signRequests.cancelSignRequest(createdSignRequest.id!);
- signRequestId
string
- The ID of the signature request Example: "33243242"
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 resendSignRequest
.
See the endpoint docs at API Reference.
Currently we don't have an example for calling resendSignRequest
in integration tests
- signRequestId
string
- The ID of the signature request Example: "33243242"
This 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!);
- signRequestId
string
- The ID of the signature request Example: "33243242"
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 getSignRequests
.
See the endpoint docs at API Reference.
await client.signRequests.getSignRequests();
- queryParams
GetSignRequestsQueryParams
- Query parameters of getSignRequests method
- headersInput
GetSignRequestsHeadersInput
- Headers of getSignRequests method
- cancellationToken
undefined | CancellationToken
- Token used for request cancellation.
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);
- requestBody
SignRequestCreateRequest
- Request body of createSignRequest method
This function returns a value of type SignRequest
.
Returns a Box Sign request object.