v1

latestOpenAPI 3.0.2Apache-2.02026-07-142963051.0 MB
Files

Get file thumbnail

Retrieves a thumbnail, or smaller image representation, of a file.

Sizes of 32x32,64x64, 128x128, and 256x256 can be returned in the .png format and sizes of 32x32, 160x160, and 320x320 can be returned in the .jpg format.

Thumbnails can be generated for the image and video file formats listed found on our community site.

get/files/{file_id}/thumbnail.{extension}

Path parameters

file_idstring required

The unique identifier that represents a file.

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

extension'png' | 'jpg' required

The file format for the thumbnail.

Query parameters

min_heightinteger

The minimum height of the thumbnail.

min_widthinteger

The minimum width of the thumbnail.

max_heightinteger

The maximum height of the thumbnail.

max_widthinteger

The maximum width of the thumbnail.

Response

When a thumbnail can be created the thumbnail data will be returned in the body of the response.