Download Document
Download a specific document
GET or POST Request
Download a specific document ID in pdf format
Argument
Required
Type
company_id
yes
company id
document_id
yes
document id
key
yes
your api key
curl https://v1.api19.com/ra/documents/download \
-d 'company_id=h329fh23r' \
-d 'document_id=h29gh2h23t32' \
-d 'key=api_token'curl https://v1.api19.com/ra/documents/download?company_id=32yg23&document_id=h23gh23g2&key=apikeyNO DOCUMENT:
{
"status": "error",
"error": "No document found"
}
DOCUMENTS:
{
"status": "ok",
"file_type": "pdf",
"data": "base64_encoded raw data"
}
Last updated