Add a Download document API endpoint

There is no way to download a document using the API. Please add, so we can build automations.