Does HighQ API has endpoint to get list of file version?

Hi, 

I am new to HighQ - i see there is endpoint to get detail information about file, but it provides the information for the latest version of the file. Are there endpoints to get list of old version of the files, and to download those files? 

Thanks,
Song

  • 0
    Thomson Reuters Thomson Reuters staff member

    Hello,

    We're looking into it.

    Thank you!

  • 0
    Thomson Reuters Thomson Reuters staff member

    Hello,

    Yes, we have endpoints to get list of old version of the files, and to download those files. Please refer below endpoints.


    To Get File Versions :

    Using below endpoint we can get versions of the file.

    https://integrationbeta.highq.com/integrationbeta/api/{{apiVersion}}/files/{{fileId}}/versions?offset=0&limit=25

    To Download File :

    Using the versions from above endpoint we can download the required version file.

    https://integrationbeta.highq.com/integrationbeta/api/{apiVersion}/files/{fileid}/content?version={{fileVersion}}

  • Thanks Rakesh! They work! 
    A follow up question related to file.. How can I get the original file name of the file like "HIGHQ API Documentation.DOCX" 

    I am getting JSON like below from calling File Detail API Endpoint 'developers.thomsonreuters.com/.../{fileid}'

    I can combine Name & Type to get that info, but I am not sure if "type" field will always contain the original file extension info. In my test, it was changed from "DOCX" to "docx". I wonder if there is a field that give me the original file name exactly as uploaded so I can use the same name after downloading the file with API call. 


    {
    "name": "HIGHQ API Documentation",
    "id": 12,
    "folderID": "118",
    "siteid": 1,
    "status": "",
    "versionid": 1,
    "versionnote": "",
    "createddat\r\ne": "27 Jun 2025 16:29",
    "modifieddate": "27 Jun 2025 16:29",
    "type": "docx",
    "size": 39336,
    "icon": "">abcxyz.highq.com/.../large_docx.svg",
    "commentscount": 0,
    "likescount": 0,
    "tags": {
    "tag": null
    },
    "location": "SITE NAME > FOLDER NAME",
    "permission": {
    "view": 1,
    "edit": 1,
    "delete": 1,
    "disableSave": 0
    },
    "contentstatus": 1,
    "redactionstatus": false,
    "itemid": 0,
    "filemetadatasheetid": 0
    }

  • +1
    Thomson Reuters Thomson Reuters staff member
    in reply to Song Lin

    Hello,

    Unfortunately, the API does not provide a field that preserves the file extension exactly as it was uploaded. This is due to the way file extensions are managed in the system's database, where they are uniformly mapped to lowercase.