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
Discussion posts and replies are publicly visible
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.
When you create a new Web API, there is even a template for exposing documents to external systems.
Thank you, that is the approach that I will implement!