Box Developer Documentation
 
    Latest version

    List metadata instances on folder

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

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

    Retrieves all metadata for a given folder. This can not be used on the root folder with ID 0.

    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.

    Response

    application/jsonMetadata instances

    Returns all the metadata associated with a folder.

    This API does not support pagination and will therefore always return all of the metadata associated to the folder.

    application/jsonClient error

    Returned when the request parameters are not valid.

    • forbidden - this operation is not allowed on the Root folder.
    application/jsonClient error

    Returned when the user does not have access to the folder.

    application/jsonClient error

    An unexpected client error.

    get
    List metadata instances on folder
    You can now try out some of our APIs live, right here in the documentation.
    Log in

    Request Example

    cURL
    curl -i -X GET "https://api.box.com/2.0/folders/4353455/metadata" \
         -H "authorization: Bearer <ACCESS_TOKEN>"

    Response Example

    {
      "entries": [
        {
          "$parent": "folder_59449484661,",
          "$scope": "enterprise_27335",
          "$template": "marketingCollateral",
          "$version": 1
        }
      ],
      "limit": 100
    }