Skip to content
Maua.Culturewire

Box

Files, folders, search, collaborations and shared links

ProductivityCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • Client ID and secret

    Your users enter

    • Client IDRequired
    • Client secretSecretRequired
    • Act asOptionalIdentifier2 choices
    • Enterprise ID (or user ID)RequiredIdentifier

    Where to find them

    1. In the Box Developer Console (app.box.com/developers/console) click “Create Platform App” → “Custom App” with the “Server Authentication (Client Credentials Grant)” authentication.
    2. In “Configuration” choose the access (“App Access Only” or “App + Enterprise Access”), select the permissions (e.g. read and write all files and folders) and copy the Client ID and the Client secret (two-step verification is required).
    3. In “Authorization” click “Review and Submit”: a Box admin must authorize it in Admin Console → “Integrations” → “Platform Apps Manager”.
    4. Choose here how to act: as the app's service account (with the Enterprise ID) or as a specific user (their ID; requires enabling “Generate user access tokens” in “Advanced Features”). The service account only sees what is shared with it.

    Get credentials (opens in a new tab)

  • OAuth 2.0

    PKCEYour OAuth app

    Bring your own OAuth app: register one with Box, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide

    Registering the OAuth app

    1. In the Box Developer Console (app.box.com/developers/console) click “Create Platform App” → “Custom App” and choose the “User Authentication (OAuth 2.0)” authentication; name it “Maua.Culturewire”.
    2. In “Configuration” paste the redirect URI shown below into “OAuth 2.0 Redirect URIs”, select “Read all files and folders stored in Box” and “Write all files and folders stored in Box” under “Application Scopes” and save.
    3. Copy the “Client ID” and the “Client Secret” (Box asks for two-step verification). If your Box admin restricts custom apps, they must authorize it first in Admin Console → “Integrations” → “Platform Apps Manager”.

    Default scopes

    No scopes required

Tools (2)

  • Box API requestBOX_SEND_REQUEST

    Authenticated call to the Box API (https://api.box.com/2.0). Any endpoint of the API is allowed. Examples: GET /folders/0/items?limit=100&fields=name,size,modified_at (0 = root folder), GET /search?fields=shared_link {"shared_link": {"access": "company"}} (shared link), POST /collaborations {"item": {"type": "folder", "id": "…"}, "accessible_by": {"type": "user", "login": "…"}, "role": "editor"}, upload: POST https://upload.box.com/api/2.0/files/content (multipart with attributes and file). To act as another user, use the As-User: {id} header.

    Required scopes

    No scopes required

    Input

    Box API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Search files and foldersBOX_SEARCH_ITEMS

    Searches by name and content among the accessible files and folders. Returns id, type, name, size, modification date and path.

    Required scopes

    No scopes required

    Input

    Search files and folders input
    NameTypeDescription
    queryrequiredstring
    typestringOne of: file, folder
    extensionsstringComma-separated, e.g. pdf,docx
    folderstringID of the folder to search in (includes subfolders)
    maxintegerDefault: 25