AptlyStar

Box

Manage files, folders, and e-signatures with Box

使用方法

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.

ツール

box_upload_file

Upload a file to a Box folder

入力

パラメータ型必須説明
parentFolderIdstringはいThe ID of the folder to upload the file to (use "0" for root)
filefileいいえThe file to upload (UserFile object)
fileContentstringいいえLegacy: base64 encoded file content
fileNamestringいいえOptional filename override

出力

パラメータ型説明
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

入力

パラメータ型必須説明
fileIdstringはいThe ID of the file to download

出力

パラメータ型説明
filefileDownloaded file stored in execution files
contentstringBase64 encoded file content

box_get_file_info

Get detailed information about a file in Box

入力

パラメータ型必須説明
fileIdstringはいThe ID of the file to get information about

出力

パラメータ型説明
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

入力

パラメータ型必須説明
folderIdstringはいThe ID of the folder to list items from (use "0" for root)
limitnumberいいえMaximum number of items to return per page
offsetnumberいいえThe offset for pagination
sortstringいいえSort field: id, name, date, or size
directionstringいいえSort direction: ASC or DESC

出力

パラメータ型説明
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

入力

パラメータ型必須説明
namestringはいName for the new folder
parentFolderIdstringはいThe ID of the parent folder (use "0" for root)

出力

パラメータ型説明
idstringFolder ID
namestringFolder name
createdAtstringCreation timestamp
modifiedAtstringLast modified timestamp
parentIdstringParent folder ID
parentNamestringParent folder name

box_delete_file

Delete a file from Box

入力

パラメータ型必須説明
fileIdstringはいThe ID of the file to delete

出力

パラメータ型説明
deletedbooleanWhether the file was successfully deleted
messagestringSuccess confirmation message

box_delete_folder

Delete a folder from Box

入力

パラメータ型必須説明
folderIdstringはいThe ID of the folder to delete
recursivebooleanいいえDelete folder and all its contents recursively

出力

パラメータ型説明
deletedbooleanWhether the folder was successfully deleted
messagestringSuccess confirmation message

box_copy_file

Copy a file to another folder in Box

入力

パラメータ型必須説明
fileIdstringはいThe ID of the file to copy
parentFolderIdstringはいThe ID of the destination folder
namestringいいえOptional new name for the copied file

出力

パラメータ型説明
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

入力

パラメータ型必須説明
querystringはいThe search query string
limitnumberいいえMaximum number of results to return
offsetnumberいいえThe offset for pagination
ancestorFolderIdstringいいえRestrict search to a specific folder and its subfolders
fileExtensionsstringいいえComma-separated file extensions to filter by (e.g., pdf,docx)
typestringいいえRestrict to a specific content type: file, folder, or web_link

出力

パラメータ型説明
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)

入力

パラメータ型必須説明
fileIdstringはいThe ID of the file to update
namestringいいえNew name for the file
descriptionstringいいえNew description for the file (max 256 characters)
parentFolderIdstringいいえMove the file to a different folder by specifying the folder ID
tagsstringいいえComma-separated tags to set on the file

出力

パラメータ型説明
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

入力

パラメータ型必須説明
sourceFileIdsstringはいComma-separated Box file IDs to send for signing
signerEmailstringはいPrimary signer email address
signerRolestringいいえPrimary signer role: signer, approver, or final_copy_reader (default: signer)
additionalSignersstringいいえJSON array of additional signers, e.g. [{"email":"user@example.com","role":"signer"}]
parentFolderIdstringいいえBox folder ID where signed documents will be stored (default: user root)
emailSubjectstringいいえCustom subject line for the signing email
emailMessagestringいいえCustom message in the signing email body
namestringいいえName for the sign request
daysValidnumberいいえNumber of days before the request expires (0-730)
areRemindersEnabledbooleanいいえWhether to send automatic signing reminders
areTextSignaturesEnabledbooleanいいえWhether to allow typed (text) signatures
signatureColorstringいいえSignature color: blue, black, or red
redirectUrlstringいいえURL to redirect signers to after signing
declinedRedirectUrlstringいいえURL to redirect signers to after declining
isDocumentPreparationNeededbooleanいいえWhether document preparation is needed before sending
externalIdstringいいえExternal system reference ID

出力

パラメータ型説明
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

入力

パラメータ型必須説明
signRequestIdstringはいThe ID of the sign request to retrieve

出力

パラメータ型説明
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

入力

パラメータ型必須説明
limitnumberいいえMaximum number of sign requests to return (max 1000)
markerstringいいえPagination marker from a previous response

出力

パラメータ型説明
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

入力

パラメータ型必須説明
signRequestIdstringはいThe ID of the sign request to cancel

出力

パラメータ型説明
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

入力

パラメータ型必須説明
signRequestIdstringはいThe ID of the sign request to resend

出力

パラメータ型説明
messagestringSuccess confirmation message

On this page