Upload a document.
Uploaded files must be linked to a service within 30 minutes or they will be automatically deleted.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
If the file is already hosted publicly, you can provide a URL and have the documents service fetch it for you.
"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
Alternatively, instead of the URL you can provide the Base64 encoded contents of the file you are uploading.
"ZXhhbXBsZSBvZiBlbmNvZGVkIGNvbnRlbnQ="
The filename of the document.
"test-document.pdf"
A customer reference string for customer look ups.
"MY REF 001"
Successful response