Create document PDF upload URL
Changed on<small>Requires an API token with the Document Manager role.</small>
Generates a presigned URL for securely uploading a PDF file to cloud storage. The uploaded PDF can then be used to create a document via the Create document from PDF endpoint.
The returned URL expires after a limited time and should be used immediately for upload. Upload the PDF file with a POST request to the returned URL, sending the provided fields as form fields in the request body, followed by the file contents in a file field.
For a complete guide with examples, see How to create a document from a PDF file.
Request
- Base URLhttps://app.fynk.com/v1/api
- URLhttps://app.fynk.com/v1/api/file-uploads/document-pdf
- AuthHTTP bearer
Response
SignedUploadUrlResource
Example response
{
"data": {
"uuid": "ab2665c1-9a7c-4230-a431-21682eb302aa",
"url": "https://s3.eu-central-1.amazonaws.com/...",
"method": "POST",
"expires_at": "2019-08-24T14:15:22Z"
}
}Changes
- info
added the optional property
to the response with the status
- info
- breaking
removed the request body
- breaking
removed the required property
/from the response with the status - info
removed the non-success response with the status
- breaking