Box Developer Documentation
 
    Latest version

    List folder app item associations

    get
    https://api.box.com/2.0
    /folders/:folder_id/app_item_associations

    This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.

    This is a beta feature, which means that its availability might be limited. Returns all app items the folder is associated with. This includes app items associated with ancestors of the folder. Assuming the context user has access to the folder, the type/ids are revealed even if the context user does not have View permission on the app item.

    Request

    bearer [ACCESS_TOKEN]
    application/json

    Path Parameters

    stringin pathrequired
    12345

    The unique identifier that represent a folder.

    The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL https://*.app.box.com/folder/123 the folder_id is 123.

    The root folder of a Box account is always represented by the ID 0.

    Query Parameters

    stringin queryoptional
    hubs

    If given, returns only app items for this application type

    integer (int64)in queryoptional
    1000
    1000

    The maximum number of items to return per page.

    stringin queryoptional
    JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii

    Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.

    This requires usemarker to be set to true.

    Response

    application/jsonApp item associations

    Returns a collection of app item objects. If there are no app items on this folder an empty collection will be returned. This list includes app items on ancestors of this folder.

    application/jsonClient error

    Returned if the folder is not found, or the user does not have access to the folder.

    application/jsonClient error

    An unexpected client error.

    get
    List folder app item associations
    You can now try out some of our APIs live, right here in the documentation.
    Log in

    Request Example

    Response Example

    {
      "entries": [
        {
          "app_item": {
            "application_type": "hubs",
            "id": "12345678",
            "type": "app_item"
          },
          "id": "12345678",
          "item": {
            "etag": "1",
            "id": "12345",
            "type": "file"
          },
          "type": "app_item_association"
        }
      ],
      "limit": 1000,
      "next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii",
      "prev_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVih"
    }