Skip to main content
nicholasf4944
Participating Frequently
December 12, 2024
Solved

Downloading Appian document from external system using document URL

  • December 12, 2024
  • 3 replies
  • 1 view

Hello, 


How can I download a document that is stored in Appian from an external system?

Currently, I am document(documentId, "url") to get the document's URL, then storing that URL to a table.

My external system is grabbing that URL and attempting to CURL the url to download the file.

An HTML document requesting the user to sign in is returned, so I am assuming that I must authenticate to Appian.

Is there any documentation that can be pointed out on this process? I could not find anything in the docs. 

Thank you

    Best answer by justinw59

    That's correct, those endpoints are secured, and would require a valid user session to access.

    Typically, I would recommend developing a WebAPI (https://docs.appian.com/suite/help/24.4/Web_APIs.html) to expose a document to an external system.

    3 replies

    justinw59
    justinw59Answer
    December 12, 2024

    That's correct, those endpoints are secured, and would require a valid user session to access.

    Typically, I would recommend developing a WebAPI (https://docs.appian.com/suite/help/24.4/Web_APIs.html) to expose a document to an external system.

    nicholasf4944
    Participating Frequently
    December 12, 2024

    Thank you, that is the approach that I will implement!

    stefanhelzle0001
    December 12, 2024

    When you create a new Web API, there is even a template for exposing documents to external systems.