AptlyStar

Box

Manage files, folders, and e-signatures with Box

Instructions d'utilisation

Integrate Box into your workflow to manage files, folders, and e-signatures. Upload and download files, search content, create folders, send documents for e-signature, track signing status, and more.

Outils

box_upload_file

Upload a file to a Box folder

Entrée

ParamètreTypeObligatoireDescription
parentFolderIdstringOuiThe ID of the folder to upload the file to (use "0" for root)
filefileNonThe file to upload (UserFile object)
fileContentstringNonLegacy: base64 encoded file content
fileNamestringNonOptional filename override

Sortie

ParamètreTypeDescription
idstringFile ID
namestringFile name
sizenumberFile size in bytes
sha1stringSHA1 hash of file content
createdAtstringCreation timestamp
modifiedAtstringLast modified timestamp
parentIdstringParent folder ID
parentNamestringParent folder name

box_download_file

Download a file from Box

Entrée

ParamètreTypeObligatoireDescription
fileIdstringOuiThe ID of the file to download

Sortie

ParamètreTypeDescription
filefileDownloaded file stored in execution files
contentstringBase64 encoded file content

box_get_file_info

Get detailed information about a file in Box

Entrée

ParamètreTypeObligatoireDescription
fileIdstringOuiThe ID of the file to get information about

Sortie

ParamètreTypeDescription
idstringFile ID
namestringFile name
descriptionstringFile description
sizenumberFile size in bytes
sha1stringSHA1 hash of file content
createdAtstringCreation timestamp
modifiedAtstringLast modified timestamp
createdByobjectUser who created the file
modifiedByobjectUser who last modified the file
ownedByobjectUser who owns the file
parentIdstringParent folder ID
parentNamestringParent folder name
sharedLinkjsonShared link details
tagsarrayFile tags
commentCountnumberNumber of comments

box_list_folder_items

List files and folders in a Box folder

Entrée

ParamètreTypeObligatoireDescription
folderIdstringOuiThe ID of the folder to list items from (use "0" for root)
limitnumberNonMaximum number of items to return per page
offsetnumberNonThe offset for pagination
sortstringNonSort field: id, name, date, or size
directionstringNonSort direction: ASC or DESC

Sortie

ParamètreTypeDescription
entriesarrayList of items in the folder
↳ typestringItem type (file, folder, web_link)
↳ idstringItem ID
↳ namestringItem name
↳ sizenumberItem size in bytes
↳ createdAtstringCreation timestamp
↳ modifiedAtstringLast modified timestamp
totalCountnumberTotal number of items in the folder
offsetnumberCurrent pagination offset
limitnumberCurrent pagination limit

box_create_folder

Create a new folder in Box

Entrée

ParamètreTypeObligatoireDescription
namestringOuiName for the new folder
parentFolderIdstringOuiThe ID of the parent folder (use "0" for root)

Sortie

ParamètreTypeDescription
idstringFolder ID
namestringFolder name
createdAtstringCreation timestamp
modifiedAtstringLast modified timestamp
parentIdstringParent folder ID
parentNamestringParent folder name

box_delete_file

Delete a file from Box

Entrée

ParamètreTypeObligatoireDescription
fileIdstringOuiThe ID of the file to delete

Sortie

ParamètreTypeDescription
deletedbooleanWhether the file was successfully deleted
messagestringSuccess confirmation message

box_delete_folder

Delete a folder from Box

Entrée

ParamètreTypeObligatoireDescription
folderIdstringOuiThe ID of the folder to delete
recursivebooleanNonDelete folder and all its contents recursively

Sortie

ParamètreTypeDescription
deletedbooleanWhether the folder was successfully deleted
messagestringSuccess confirmation message

box_copy_file

Copy a file to another folder in Box

Entrée

ParamètreTypeObligatoireDescription
fileIdstringOuiThe ID of the file to copy
parentFolderIdstringOuiThe ID of the destination folder
namestringNonOptional new name for the copied file

Sortie

ParamètreTypeDescription
idstringFile ID
namestringFile name
sizenumberFile size in bytes
sha1stringSHA1 hash of file content
createdAtstringCreation timestamp
modifiedAtstringLast modified timestamp
parentIdstringParent folder ID
parentNamestringParent folder name

Search for files and folders in Box

Entrée

ParamètreTypeObligatoireDescription
querystringOuiThe search query string
limitnumberNonMaximum number of results to return
offsetnumberNonThe offset for pagination
ancestorFolderIdstringNonRestrict search to a specific folder and its subfolders
fileExtensionsstringNonComma-separated file extensions to filter by (e.g., pdf,docx)
typestringNonRestrict to a specific content type: file, folder, or web_link

Sortie

ParamètreTypeDescription
resultsarraySearch results
↳ typestringItem type (file, folder, web_link)
↳ idstringItem ID
↳ namestringItem name
↳ sizenumberItem size in bytes
↳ createdAtstringCreation timestamp
↳ modifiedAtstringLast modified timestamp
↳ parentIdstringParent folder ID
↳ parentNamestringParent folder name
totalCountnumberTotal number of matching results

box_update_file

Update file info in Box (rename, move, change description, add tags)

Entrée

ParamètreTypeObligatoireDescription
fileIdstringOuiThe ID of the file to update
namestringNonNew name for the file
descriptionstringNonNew description for the file (max 256 characters)
parentFolderIdstringNonMove the file to a different folder by specifying the folder ID
tagsstringNonComma-separated tags to set on the file

Sortie

ParamètreTypeDescription
idstringFile ID
namestringFile name
descriptionstringFile description
sizenumberFile size in bytes
sha1stringSHA1 hash of file content
createdAtstringCreation timestamp
modifiedAtstringLast modified timestamp
createdByobjectUser who created the file
modifiedByobjectUser who last modified the file
ownedByobjectUser who owns the file
parentIdstringParent folder ID
parentNamestringParent folder name
sharedLinkjsonShared link details
tagsarrayFile tags
commentCountnumberNumber of comments

box_sign_create_request

Create a new Box Sign request to send documents for e-signature

Entrée

ParamètreTypeObligatoireDescription
sourceFileIdsstringOuiComma-separated Box file IDs to send for signing
signerEmailstringOuiPrimary signer email address
signerRolestringNonPrimary signer role: signer, approver, or final_copy_reader (default: signer)
additionalSignersstringNonJSON array of additional signers, e.g. [{"email":"user@example.com","role":"signer"}]
parentFolderIdstringNonBox folder ID where signed documents will be stored (default: user root)
emailSubjectstringNonCustom subject line for the signing email
emailMessagestringNonCustom message in the signing email body
namestringNonName for the sign request
daysValidnumberNonNumber of days before the request expires (0-730)
areRemindersEnabledbooleanNonWhether to send automatic signing reminders
areTextSignaturesEnabledbooleanNonWhether to allow typed (text) signatures
signatureColorstringNonSignature color: blue, black, or red
redirectUrlstringNonURL to redirect signers to after signing
declinedRedirectUrlstringNonURL to redirect signers to after declining
isDocumentPreparationNeededbooleanNonWhether document preparation is needed before sending
externalIdstringNonExternal system reference ID

Sortie

ParamètreTypeDescription
idstringSign request ID
statusstringRequest status (converting, created, sent, viewed, signed, cancelled, declined, expired, error_converting, error_sending, finalizing, error_finalizing)
namestringSign request name
shortIdstringHuman-readable short ID
signersarrayList of signers
sourceFilesarraySource files for signing
emailSubjectstringCustom email subject line
emailMessagestringCustom email message body
daysValidnumberNumber of days the request is valid
createdAtstringCreation timestamp
autoExpireAtstringAuto-expiration timestamp
prepareUrlstringURL for document preparation (if preparation is needed)
senderEmailstringEmail of the sender

box_sign_get_request

Get the details and status of a Box Sign request

Entrée

ParamètreTypeObligatoireDescription
signRequestIdstringOuiThe ID of the sign request to retrieve

Sortie

ParamètreTypeDescription
idstringSign request ID
statusstringRequest status (converting, created, sent, viewed, signed, cancelled, declined, expired, error_converting, error_sending, finalizing, error_finalizing)
namestringSign request name
shortIdstringHuman-readable short ID
signersarrayList of signers
sourceFilesarraySource files for signing
emailSubjectstringCustom email subject line
emailMessagestringCustom email message body
daysValidnumberNumber of days the request is valid
createdAtstringCreation timestamp
autoExpireAtstringAuto-expiration timestamp
prepareUrlstringURL for document preparation (if preparation is needed)
senderEmailstringEmail of the sender

box_sign_list_requests

List all Box Sign requests

Entrée

ParamètreTypeObligatoireDescription
limitnumberNonMaximum number of sign requests to return (max 1000)
markerstringNonPagination marker from a previous response

Sortie

ParamètreTypeDescription
signRequestsarrayList of sign requests
↳ idstringSign request ID
↳ statusstringRequest status (converting, created, sent, viewed, signed, cancelled, declined, expired, error_converting, error_sending, finalizing, error_finalizing)
↳ namestringSign request name
↳ shortIdstringHuman-readable short ID
↳ signersarrayList of signers
↳ sourceFilesarraySource files for signing
↳ emailSubjectstringCustom email subject line
↳ emailMessagestringCustom email message body
↳ daysValidnumberNumber of days the request is valid
↳ createdAtstringCreation timestamp
↳ autoExpireAtstringAuto-expiration timestamp
↳ prepareUrlstringURL for document preparation (if preparation is needed)
↳ senderEmailstringEmail of the sender
countnumberNumber of sign requests returned in this page
nextMarkerstringMarker for next page of results

box_sign_cancel_request

Cancel a pending Box Sign request

Entrée

ParamètreTypeObligatoireDescription
signRequestIdstringOuiThe ID of the sign request to cancel

Sortie

ParamètreTypeDescription
idstringSign request ID
statusstringRequest status (converting, created, sent, viewed, signed, cancelled, declined, expired, error_converting, error_sending, finalizing, error_finalizing)
namestringSign request name
shortIdstringHuman-readable short ID
signersarrayList of signers
sourceFilesarraySource files for signing
emailSubjectstringCustom email subject line
emailMessagestringCustom email message body
daysValidnumberNumber of days the request is valid
createdAtstringCreation timestamp
autoExpireAtstringAuto-expiration timestamp
prepareUrlstringURL for document preparation (if preparation is needed)
senderEmailstringEmail of the sender

box_sign_resend_request

Resend a Box Sign request to signers who have not yet signed

Entrée

ParamètreTypeObligatoireDescription
signRequestIdstringOuiThe ID of the sign request to resend

Sortie

ParamètreTypeDescription
messagestringSuccess confirmation message

On this page