Upload a document
Changed onUpload a PDF, PNG or JPEG of up to 25 MB as multipart/form-data.
post/v2/documents
Request
- Base URLhttps://api.slash.com
- URLhttps://api.slash.com/v2/documents
- AuthAPI key in header X-API-Key
Request body multipart/form-data
Response
The uploaded document, with a downloadUrl for the stored file.
Example response
{
"id": "st_2rj4l7hmrrrcv",
"filename": "invoice-4471.pdf",
"purpose": "bill_invoice",
"contentType": "application/pdf",
"sizeBytes": 48213
}Changes
- info
endpoint added
- info