Box
Box is a cloud content management and file-sharing service for storing, sharing, and collaborating on business documents.
- Base URL:
https://api.box.com/2.0 - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
get_authorize— GET /authorize — Authorize userget_collaboration_whitelist_entries— GET /collaboration_whitelist_entries — List allowed collaboration domainsget_collaboration_whitelist_entries_id— GET /collaboration_whitelist_entries/{collaboration_whitelist_entry_id} — Get allowed collaboration domainget_collaboration_whitelist_exempt_targets— GET /collaboration_whitelist_exempt_targets — List users exempt from collaboration domain restrictionsget_collaboration_whitelist_exempt_targets_id— GET /collaboration_whitelist_exempt_targets/{collaboration_whitelist_exempt_target_id} — Get user exempt from collaboration domain restrictionsget_collaborations— GET /collaborations — List pending collaborations
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_authorize
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: get_authorize, get_collaboration_whitelist_entries, get_collaboration_whitelist_entries_id, get_collaboration_whitelist_exempt_targets, get_collaboration_whitelist_exempt_targets_id, get_collaborations |
collaboration_whitelist_entry_id |
string | no | — | Path parameter collaboration_whitelist_entry_id (required by some operations). |
collaboration_whitelist_exempt_target_id |
string | no | — | Path parameter collaboration_whitelist_exempt_target_id (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |