File

Download a Thumbnail Image

GET

Downloads a thumbnail image associated with a document that was previously uploaded to ProjectManager.com.

ProjectManager allows you to store files linked to various elements within your Workspace, such as Projects, Tasks, or your Home. Files are organized based on their storage location.

When uploading a file, please allow some time for the file to undergo processing and verification. ProjectManager may reject file uploads containing issues such as malware. Once a file has completed the upload process, you can retrieve its associated thumbnail using the DownloadThumbnail API.

If successful, this API returns the file contents as an octet-stream (raw bytes). If an error occurs, you will receive a JSON result with error information.

Path parameters

documentIdstringRequired
The unique identifier of the document for which to download the thumbnail.

Response

This endpoint returns a string
GET
$curl /api/data/files/documentId/thumbnail \
> -H "Authorization: Bearer <token>"
Response
1"string"