Return the Document Blob - Return the Document Blob - Returns the blob for the specified document. - Content Innovation Cloud - Hyland Content REST API - Current/Hyland-Content-REST-API/zlp1680120472684 - Current - Current

Hyland Content REST API

Platform
Content Innovation Cloud
Product
Hyland Content REST API
Release
Current
License
ft:lastPublication
2026-11-09T23:12:01.844878
ft:locale
en-US

Returns the blob for the specified document.

Base Request

GET /api/download/[docId]/[propertyXPathAndFilename]

where [docId] is the alphanumeric ID for the document and [propertyXPathAndFilename] is the XPath to the property holding the blob and the file name (for example, sysfile_blob/test.png or sysfiles_blobs/0/blob/test.png). If no file name is specified for the [propertyXPathAndFilename] parameter (for example, sysfile_blob), the original file name (as stored in the blob) is returned with the blob.

Query Parameters

Parameter Description Type Required Notes
inline True/false indicator of whether to enable inline content disposition. Boolean Optional Default is false.

Headers

Header Name Description Required Values
Authorization The access token Required Bearer [access_token]

where [access_token] is a string generated when you complete authentication (see Getting Started)

User-Agent Identity of the client making the request to the server Required [product]/[version]

where [product] is the name of the software you are using to make the request and [version] is the numbered version of the software (for example, MyCompanyProduct/1.0).

For information on other types of values commonly included in user-agent request headers, see the User-Agent HTTP header reference section on the Mozilla developer documentation website.

HXCS-REPOSITORY The repository ID Optional Any contributed repository name. Default is default.
Accept The format of the data to be returned Optional */*

Sample Request

GET /api/download/[docId]/[propertyXPathAndFilename]?inline=true

Authorization: Bearer [access_token]
User-Agent: MyCompanyProduct/1.0
HXCS-REPOSITORY: default
Accept: */*

Response

A string value for the blob is returned.

Status Codes and Errors

The following table lists the returned status codes.

Code Description Notes
200 OK Returns the blob for the specified document.
401 Not Authorized Authentication has failed or was not provided.
403 Not Allowed Access permissions are invalid or missing.
404 Not Found The document could not be found.