Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developer.box.com/llms.txt

Use this file to discover all available pages before exploring further.

By default, any content in the user’s trash is ignored in the search results. To search the user’s trash, the trash_content query parameter can be set to trashed_only.
curl -i -X GET "https://api.box.com/2.0/search?query=sales&trash_content=trashed_only" \
    -H "Authorization: Bearer <ACCESS_TOKEN>"
Currently the API only supports searching for content not in the trash (non_trashed_only, default) or in the user’s trash (trashed_only). It is currently not possible to search for items in both locations at once.