cURL
curl --request GET \ --url https://api.algoreg.com/api/v1/customer_documents/{id}/download \ --header 'Authorization: Bearer <token>'
{ "format": "any", "type": "any" }
Returns the specified document data, or, if it is externally stored, redirects to its URL.